Dmanley
September 24th, 2001, 04:08 PM
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
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