User Profile
Collapse
-
Thanks for your reply!
I can't seem to make it let me use LPArray even if I convert it to an array:
it tells me "System.TypeLoa dException: Cannot marshal field 'pImageData' of type 'FACE_TEXTUREDA TA': Invalid managed/unmanaged type combination (Arrays fields must be paired with ByValArray or SafeArray)."Code:<MarshalAs(UnmanagedType.LPArray)> Public pImageData() As Byte
What...Leave a comment:
-
Unmanaged DLL structure conversion problem (unsigned char pointer)
I'm making a "wrapper" for an unmanaged DLL (written, I'm fairly certain in C). I have a c++ "wrapper" that I'm trying to convert to VB.net. I've got most of the program working, but I've hit a brick wall.
I'm trying to convert the following two structures from their c++ versions to their vb.net versions. I cannot be sure which is the problem because both must be passed at the same time. The error I am getting is...
No activity results to display
Show More
Leave a comment: