meir081497
asked on
Win32 code to VB 3 Win16 Code
I have the following code that I would like to convert to VB3
To run under Windows 3.11. The functions listed are WIN32 Procedure calls!!
hDevice = CreateFile( "\\\\.\\LPN.VXD",0,0,NULL, 0,FILE_FLA G_DELETE_O N_CLOSE,NU LL);
DeviceIoControl(hDevice, // device handle
3, // control code
disableMode, // disable control (Note: this is not a buffer pointer.)
0,
NULL,
NULL,
NULL,
NULL);
CloseHandle(hDevice)
Thanks for the help!!!
Meir
yeelut@ibm.net
To run under Windows 3.11. The functions listed are WIN32 Procedure calls!!
hDevice = CreateFile( "\\\\.\\LPN.VXD",0,0,NULL,
DeviceIoControl(hDevice, // device handle
3, // control code
disableMode, // disable control (Note: this is not a buffer pointer.)
0,
NULL,
NULL,
NULL,
NULL);
CloseHandle(hDevice)
Thanks for the help!!!
Meir
yeelut@ibm.net
You might want to try the Windows API Bible (available at Barnes and Nobel). It has all of the procedure calls for windows 3.11 for VB.
This question should be directed to Programming/Visual Basic
test
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I also got some documentation about GetTempFileName API function:
GetTempFileName (2.x) but of some reason i can´t post it here, I just get an error message. But if you are interested, please let me know and I will send it to you by e-mail.
GetTempFileName (2.x) but of some reason i can´t post it here, I just get an error message. But if you are interested, please let me know and I will send it to you by e-mail.
ASKER