
VB5 DLL Error - Can't Find Entry Point in ...dll
consider the following example function prototype (VC4.2)
STDAPI_(BOOL) IsInterfaceSupported(LPUNKNOWN punkThisObject, char*
szInterfaceIID)
The problem is the Pascal calling convention and name decoration.
You need to use an alias in your def file like so:
EXPORTS
The
eight was computed because both arguments to the sample function are 32bit
(ie, 4 byte)
values. If you added a third interface pointer as a parameter (another
32bit value), you
Hope this helps,
Peter Cousins
NT/COM Consultant
Quote:
> Trying to create (for learning and testing) a simple dll that contains a
> single function to multiply the passed paremeter and return it.
> When the function is called, VB5 reports an error: Can't find DLL entry
> point in test.dll
> Ok... what am I missing?