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.
 
Back
Top