Log in

View Full Version : Modem Hooking - In trouble again...


acab
November 24th, 2000, 03:50
Can someone explain how to send a string to the modem when its handle is opened through:
call CreateFileA,"\\.\ModemName",...

In other words, while the following piece of code works correctly:
call CreateFileA,"COM1",...
call SetCommTimeouts,...
call WriteFile,"ATZ",...

In this one writefile fails:
call CreateFileA,"\\.\ModemName",...
call SetCommTimeouts,...
call WriteFile,"ATZ",...

Thanks,
aCaB