File Load Exception

  • Thread starter Thread starter Andrew Moore
  • Start date Start date
A

Andrew Moore

Hello,

I have a Managed C++ dll to contain an AVI Capture tool. This dll contains a
__gc class to interface with a C# application, and a __nogc class to contain
calls to the Win32 API and VFW libraries.

This code works well on XP, but when I call the constructor for my __gc
class from a C# application I receive a FileLoadException on Win2K Pro
stating that a function could not be loaded in the dll. I am using IJW to
call the Win32 and VFW functions.

Any suggestions would be greatly appreciated.

Thank You,

Andy Moore
 
Andrew Moore said:
Hello,

I have a Managed C++ dll to contain an AVI Capture tool. This dll contains a
__gc class to interface with a C# application, and a __nogc class to contain
calls to the Win32 API and VFW libraries.

This code works well on XP, but when I call the constructor for my __gc
class from a C# application I receive a FileLoadException on Win2K Pro
stating that a function could not be loaded in the dll. I am using IJW to
call the Win32 and VFW functions.

Any suggestions would be greatly appreciated.
What function is missing, the exception should give you more information. Is
the missing function in your dll or in a system one? Have you insured that
all the native functions you are using exist in win2k pro? Does the C# app
use pinvoke?
 
Back
Top