hi
can i return a HANDLE from a function.
like
Code:HANDLE OpenPort(char* WhichPort); { HANDLE PortHandle; PortHandle = CreateFile(WichPort....aso return PortHandle; }
This is a discussion on return HANDLE? within the C++ Programming forums, part of the General Programming Boards category; hi can i return a HANDLE from a function. like Code: HANDLE OpenPort(char* WhichPort); { HANDLE PortHandle; PortHandle = CreateFile(WichPort....aso ...
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![]()