I need some help converting this C code to the VB4 equivalent:
I have this in C and i don't know C. I need this equivalent in VB4. Any help would be appreciated...
// Create a global named event that the LanFax printer driver will signal
// once it's done.
HANDLE hEvent = ::CreateEvent(NULL, FALSE, FALSE, "LanFaxPrinter");
if (hEvent != NULL)
// wait for 10 secs
DWORD dwRet = ::WaitForSingleObject(hEvent, 10000);
if (dwRet != WAIT_OBJECT_0)
// printer driver signaled us: the conversion is done
// close the event
thanks in advance