|
-
September 24th, 2001, 04:08 PM
#1
Problem passing pointer to dll
I have a VB program that calls a C++ dll and passes it a pointer to a byte.
I been able to make everything else work, the handles, strings, all of those, but when trying to pass a pointer I get a vb6.exe error saying the memory could not be read. I don't think it has anything to do with the C dll because I commented out all of the code inside the function to see if it was in there and still got the same problem.
I have a byte variable, I'm sending it byref and the c dll is supposed to write to that address.
Any ideas?
thank in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|