View Full Version : IC_InitLibrary() from the wrapper dll keeps on crashing

June 19, 2009, 23:36:26

I just installed the C wrapper, and then I tried to run the sample code AnsiC.c. But somehow the program always crashes at IC_InitLibrary().

I've tried to pass in the NULL pointer and a valid License Key, in both cases it'd crash. (but when I pass in a invalid key like "0", it wouldn't crash but just say the key is invalid).

The compiler I'm using is MingW(GCC).

I've tried installing DirectX 10 (I originally had DirectX 9), but it didn't seem to help.

Is there anything that I'm not doing correctly or anything that I've left out? Thank you very very much!


Stefan Geissler
June 22, 2009, 10:33:24
Well, I have no experiences with MingW. But is the working directory of your application the classlib\debug or classlib\release directory of the IC Imaigng Control installation path?

June 22, 2009, 19:41:43
The problem turns out to be that I didn't have ICFilterContainer.dll in the right directory.

The program would NOT crash if I have ICFilterContainer.dll, TIS_DShowLib07_vc71.dll, TIS_UDSHL07_vc71.dll, and tisgrabber.dll in either the system32 directory or the directory of the executable.

Thanks a lot!

Stefan Geissler
June 23, 2009, 08:03:59

This was my first suspect.