hi
can i return a HANDLE from a function.
like
Code:HANDLE OpenPort(char* WhichPort);
{
HANDLE PortHandle;
PortHandle = CreateFile(WichPort....aso
return PortHandle;
}
Printable View
hi
can i return a HANDLE from a function.
like
Code:HANDLE OpenPort(char* WhichPort);
{
HANDLE PortHandle;
PortHandle = CreateFile(WichPort....aso
return PortHandle;
}
ok.
got it... yes i can.... if i do it the right way:D