| |
|
|
 Pedro Santos | Hello
have a Proc knows not any more but galube is of Andreas Miethe with which I The serial ports in the PC Search. If I the Program by the Profan + Edit walk let go subesquent Error displayed:
Header-element ~Generic_read not found Header-element ~CreatFile not found Header-element ~Generic_write not found Header-element ~Open_Existing not found Header-element ~File_Attribute_Normal not found Header-element ~File_Flag_Overlapped not found Header-element ~Invalid_Handle_Value not found Header-element ~CloseHandle not found
proc search_coms
coms& =@CREATE(LISTBOX,_DLG&,LISTBOX,52,33,120,140)
ClearList
X& = 1
Whilenot X& = 51
ComNome$ = \\.\COM+STR$(X&)
ComHandle& = ~CreateFile(Addr(Comnome$),
~GENERIC_READ |
~GENERIC_WRITE,
0,0,~OPEN_EXISTING,
~FILE_ATTRIBUTE_NORMAL |
~FILE_FLAG_OVERLAPPED,0)
If ComHandle& <> ~INVALID_HANDLE_VALUE
Addstring COM+STR$(X&)
~CloseHandle(ComHandle&)
Endif
Inc X&
EndWhile
Movelisttolist(coms&)
sendmessage(coms&,$186,0,0)
Endproc
knows someone as Error fixen can?
thanks greeting Pedro |
|
|
| |
|
|
|
 Jörg Sellmeyer | have Thou too The windows.ph correctly eingebunden?
Habs straight time tested - what I plenty merkwürdiger find is the Error Message, that SUBLANG_SYS_DEFAULT No be, though The Constant none in the code auftaucht and the Headerdatei present is  |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 03/17/08 ▲ |
|
|
|
|
 Pedro Santos | Hello Jörg
The windows.ph becomes still automatically of xpse eingebunden, or not?
greeting Pedro |
|
|
| |
|
|
|
 Jörg Sellmeyer | Hm - you have but not dazugeschrieben, that You XPSE verwendest. Perhaps has iF The Konstanten Yes not yet in the XPSE installed. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 03/18/08 ▲ |
|
|
|
|
 | correctly., XPSE can never any Konstanten kennen, bind simply additional The Headerdatei one with include windows.ph or $H windows.ph one.
XPSE vermischt its Datenbasis with the Headerfile. |
|
|
| |
|
|
|
 Sebastian König | yet short as appendix: The ProfanInspector understand only reinen XProfan-code without The XPSE-items - with the usage of XPSE ought to the + Edit means only on which spending losgelassen go. naturally contains XPSE self already a Syntax-check, but twice holds Yes sometimes rather .
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...]  Alte Profan²-Seite: [...]  | 03/18/08 ▲ |
|
|
|