sgursahaney
Programmer
Hello. I am using a VB program to call a Win32 API. The API I am using returns a pointer to an Integer value. I have declared the external function as such:
Public Declare Function sr_getevtdatap Lib "libsrlmt" () As Long
The C equivalent of this function is:
int *sr_getevtdatap()
Since the function is returning a pointer to an Integer rather than an Integer itself, I don't know how to access the actual integer value from within VB. Can anybody help me with this problem?
Regards,
Suresh
Public Declare Function sr_getevtdatap Lib "libsrlmt" () As Long
The C equivalent of this function is:
int *sr_getevtdatap()
Since the function is returning a pointer to an Integer rather than an Integer itself, I don't know how to access the actual integer value from within VB. Can anybody help me with this problem?
Regards,
Suresh