Comm.Question
- Posted by Kondor Attila <konel at DPG.HU> Mar 01, 2000
- 452 views
--I 'd like to use COM ports in euphoria (W32). If I do: hCom=open("COM1","wb") hCom=-1 --when I did: xCreateFile= linkFunc(kernel32,"CreateFileA",{C_POINTER, C_LONG, C_LONG, C_POINTER, C_LONG, C_LONG, C_LONG },C_INT) NULL}) printf(1,"\nhCom=%d",hCom) --hCom=12 -- GetCommState, BuildCommDCB, SetCommState works with hCom --and puts(hCom,"something") -- then the message "file number 12 is not open" Please help me! Thanks, Attila Kondor