Managed to unmanaged

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a VB.net application that calls a DLL which is unmanaged. Here is the
prototype

Declare Sub DPGetUwMVRScrDriversInfo Lib "bpemain" (ByRef ArrayX() As
UwMVRScrDriverInfoType)

Everytime the call is made, only data for subscript 0 is returned . I
checked the DLL and I seee the data is being written.

In debug mode I see for instance, right before the call the length may be 3,
soon after the call it turns to 1. If anybody can help me figure out why I am
losing the data, it will be greatly appreciated.
 
I am home now, but it goes something like this

void somefunction(LPVOID somepointer)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top