My 28-line foo.dll in debug mode stops on
line 29 with the message, "Error 505: (...)
Debugging requires EXE file, not DLL."
I have interpreted this as encouragement to
compile and debug in conjunction with the
calling EXE, but Error 505 does not seem to be
covered in the online guide.
When called by the EXE, foo.dll returns VB5
"Run-time error 48: File not found. foo.dll"
Results are the same when run inside VB5 and
out, with or without a full path.
Foo.dll has 3 simple functions like the
following:
FUNCTION RND2LONG ALIAS "Rnd2Long" (BYVAL x AS LONG) EXPORT AS LONG
Each is called from a .bas declare like:
Declare Function Rnd2Long Lib "FOO.DLL" Alias _
"RND2LONG" (ByVal x As Long)
I am new to DLLs and very stumped!
------------------
line 29 with the message, "Error 505: (...)
Debugging requires EXE file, not DLL."
I have interpreted this as encouragement to
compile and debug in conjunction with the
calling EXE, but Error 505 does not seem to be
covered in the online guide.
When called by the EXE, foo.dll returns VB5
"Run-time error 48: File not found. foo.dll"
Results are the same when run inside VB5 and
out, with or without a full path.
Foo.dll has 3 simple functions like the
following:
FUNCTION RND2LONG ALIAS "Rnd2Long" (BYVAL x AS LONG) EXPORT AS LONG
Each is called from a .bas declare like:
Declare Function Rnd2Long Lib "FOO.DLL" Alias _
"RND2LONG" (ByVal x As Long)
I am new to DLLs and very stumped!
------------------
Comment