Link to home
Start Free TrialLog in
Avatar of svfafel
svfafel

asked on

C to VB conversion...

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)
      {
            // timeout
      }
      else
      {
            // printer driver signaled us: the conversion is done
            ProcessOutputFile();
      }

      // close the event
      ::CloseHandle(hEvent);
}
thanks in advance
sorry so few points...it's all i had left...will get you more soon...
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mirkwood
Mirkwood

Bought This Question.