If you dare to convert your C++ ATL Service project created with an earlier version of Visual Studio to version 2010, as I recently did, you might find yourself surprised with why the hell the bloody thing does not work anymore as a regular executable. After passing compiler/linker and SDK update issues, which you possibly [...]
Posts Tagged ‘bug’
Your ATL service C++ project might need some extra care after upgrade to Visual Studio 2010
Posted: 11th May 2011 by Roman in ATL, Seriously, SourceTags: ATL, bug, epic, fail, service, visual studio
If your application is looking for network adapters, it may be blind to see
Posted: 28th April 2011 by Roman in Seriously, SourceTags: adapter, bug, C++, connect, microsoft, network
A really long and annoying troubleshooting of a problem finally ended with a bug found in GetAdaptersInfo/GetAdaptersAddresses API. It may unexpectedly fail under the following conditions: 32-bit application 64-bit operating system or /3GB feature enabled on 32-bit operating system hosting process is linked with /LARGEADDRESSAWARE flag or has otherwise set it in binary header over [...]
ATL ActiveX control hosting memory leak, _freea assertion failure and more
Posted: 4th March 2011 by Roman in ATLTags: ATL, bug, C++, microsoft
If you were adding and removing ActiveX controls programmatically with ATL, you might have noticed a nasty memory leak after final release of the control. Control added, removed and a leaky block is left om heap. Tracking simple memory leaks is not a rocket science with Microsoft C++ runtime, by adding _CRTDBG_MAP_ALLOC define, as described [...]
Microsoft.Jet.OLEDB.4.0 ProgID is not available (Windows 7 but probably not only)
Posted: 30th October 2009 by Roman in TechnologyTags: bug, COM, environment, microsoft, ole, oledb, registry, win7
It was a sort of ridiculous problem: an attempt to instantiate a Microsoft.Jet.OLEDB.4.0 object failed with error. Still some applications are still running without problems connecting to Jet databases, how comes? There has been a number of posts on Internet, but none of the top ones appeared to be relevant. The problem is reproduced extremely [...]
MediaTools: Fix for Motion JPEG video
Posted: 6th October 2009 by Roman in Media Tools, TechnologyTags: authentication, bug, fix, HTTP, JPEG, M-JPEG, Media Tools, update, Video
A small fix for M-JPEG video streams retrieved by HTTP Stream Source Filter: Username and password contained in URL are honored for Basic HTTP authentication Correctly parsed HTTP response headers with quotes, e.g.: Content-Type: multipart/x-mixed-replace; boundary=“myboundary“ Partial Visual C++ .NET 2008 source code is available from SVN, release binary included.
