AnsweredAssumed Answered

vrf Call function

Question asked by VRFuser on Jan 31, 2008
> Function was not loadable: startupXgd

The issue is the function is not called startupXgd. It will of course depend on exactly what the project settings are in VS for this dll, but my first guess would be "_startupXgd@0".

To prevent guessing, run dumpbin /exports <dllname>. If you don't have ready access to dumpbin, you can use Depends and look for the function name.
ftp://ftp.vrfarchive.com/pub/Depends.zip

Using "extern C" isn't good enough, as _stdcall function names are always decorated. The easy way to generate absolute names for export is to use a .def file with an EXPORTS section.
-SHAWN-

Outcomes