Hi Experts,
I am trying to use a C++ dll from my VB .NET program, but I don't know how
to handle things like void **ppImageBuffer . Please see the following and help
me out.
Thanks.
//C++ dll
int WINAPI CameraSetValue( short nParameter, void *pValue);
int WINAPI CameraGetImages (int nNumImages, void **ppImageBuffer );
'VB .NET
<DllImport("Cam era.dll")>
Public shared Function SpotSetValue(By Val nParameter As Short,
????What_to_put _here????) As Integer
End Function
<DllImport("Cam era.dll")>
Public shared Function CameraGetImages (int nNumImages,
????What_to_put _here????) As Integer
End Function
I am trying to use a C++ dll from my VB .NET program, but I don't know how
to handle things like void **ppImageBuffer . Please see the following and help
me out.
Thanks.
//C++ dll
int WINAPI CameraSetValue( short nParameter, void *pValue);
int WINAPI CameraGetImages (int nNumImages, void **ppImageBuffer );
'VB .NET
<DllImport("Cam era.dll")>
Public shared Function SpotSetValue(By Val nParameter As Short,
????What_to_put _here????) As Integer
End Function
<DllImport("Cam era.dll")>
Public shared Function CameraGetImages (int nNumImages,
????What_to_put _here????) As Integer
End Function
Comment