G
Guest
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("Camera.dll")>
Public shared Function SpotSetValue(ByVal nParameter As Short,
????What_to_put_here????) As Integer
End Function
<DllImport("Camera.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("Camera.dll")>
Public shared Function SpotSetValue(ByVal nParameter As Short,
????What_to_put_here????) As Integer
End Function
<DllImport("Camera.dll")>
Public shared Function CameraGetImages(int nNumImages,
????What_to_put_here????) As Integer
End Function