My VB prog is calling my PB dll, and the PB DLL declaration is something like this:
SUB MAILFILE(BYVAL lngCallBack&) EXPORT
and in that, after it's done its stuff, it calls the callback like this:
Call DWord lngCallBack&
I'm declaring it like this from my VB prog:
Public Declare Sub MAILFILE Lib "mailfile.dll" (ByVal xCallBack As Long)
It works _perfectly_ under NT, but not under Windows 2000 ... under Win2K , after the file has been mailed and the callback occurs,
my VB program dies - the Win2K fatal error message being "This program has generated errors"
Anyone have any ideas?
------------------
SUB MAILFILE(BYVAL lngCallBack&) EXPORT
and in that, after it's done its stuff, it calls the callback like this:
Call DWord lngCallBack&
I'm declaring it like this from my VB prog:
Public Declare Sub MAILFILE Lib "mailfile.dll" (ByVal xCallBack As Long)
It works _perfectly_ under NT, but not under Windows 2000 ... under Win2K , after the file has been mailed and the callback occurs,
my VB program dies - the Win2K fatal error message being "This program has generated errors"
Anyone have any ideas?
------------------
Comment