Results 1 to 4 of 4

Thread: IC_InitLibrary() from the wrapper dll keeps on crashing

  1. #1
    Join Date
    Jun 2009
    Posts
    8

    Unhappy IC_InitLibrary() from the wrapper dll keeps on crashing

    Hi

    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!

    Rick

  2. #2
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,864

    Re: IC_InitLibrary() from the wrapper dll keeps on crashing

    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?
    Best regards
    Stefan
    IC Imaging Control Support

  3. #3
    Join Date
    Jun 2009
    Posts
    8

    Re: IC_InitLibrary() from the wrapper dll keeps on crashing

    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!

  4. #4
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,864

    Re: IC_InitLibrary() from the wrapper dll keeps on crashing

    Hi,

    This was my first suspect.
    Best regards
    Stefan
    IC Imaging Control Support

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •