View Full Version : Library in dll

July 9, 2003, 08:56:22
I would like to add your library to a dll, but I have a problem. Following your help file at the step "Generate a List of Video Capture Devices" I get an error message when I run the application:

Invalid Address specified to RtlValidateHeap( 2f0000, c57490 ).

It appears that the release of pVidCapDevList causes problems with CRT's.

Any comments?

Dave Freer

Stefan Geissler
July 10, 2003, 07:05:59

this sounds for you have created a release DLL using the Debug versions of the IC Imaging Control or vice versa. Please make sure, that you use the debug versions of the IC Imaging Control DLLs with your debug compiled project and the release versions of the IC Imaging Control DLLs with your release compiled project.

July 10, 2003, 09:16:54
No thats isn't the problem, I have been very careful to ensure that that isn't the case!

Stefan Geissler
July 10, 2003, 09:30:27

please check, whether your project settings are multithreaded dll.
Also, the classlibrary files are created for VC++ 6.0. With .NET you will get an error.

July 10, 2003, 09:47:35
Hi Stefan,

I am using VC++ 6.0 and my the project is set to multithread debugging dll, the problem was that the release dlls we're being used instead of the debug ones.

Thanks for you help.