English
Forum

RS232 massive problems since X10

 
- Page 1 -



GDL
Hello Roland,

I have a integrally dringende Please.

it's about The RS232 and Dbf Files.

it's located definitiv on XProfan10, because

To including XProfan10ß10 (subscribtionsversion 10) went writecom on all Windowsversionen.thereafter not any more!!! means liegts on irgendwelchen Changes to this Subscribtion.The Problems lying with Win98 and WinMe.

this would Yes not so bad, then would I hold only The XProfan10ß10 take.
only if I with this Version Dbase Files on one NT system beget and then on one Fat32 system copy these empty.
with the actually Version is this komischerweise not the case.

Ausserdem would I gladly XProfan11 too benefit want.

Roland I rotate already because of of my in the meantime 10 facilities.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
04/07/07  
 



 
- Page 2 -



Michael
Wodrich
Hi Roland,
i was time on Struktursuche. unfortunately no direct Info concerning Changes the structure found. Perhaps help The zusammengetragenen spotting and the with WINE used structure Yes moreover.

  

Quelle:  [...] 
Win9x erlaubt alle Schnittstellen-Nummern.
NT erlaubt nur Nummern von Schnittstellen die aktuell präsent sind.
/* Win NT sets the flow control members based on (or lack of) the last
parameter. Win 9x does not set these members. */
/* Win NT sets the fDsrSensitivity member based on the idsr parameter.
Win 9x sets fOutxDsrFlow instead. */
/* Set DCBlength. (Windows NT does not do this, but 9x does) */
lpdcb->DCBlength = sizeof(DCB);
/* Make a copy of the original data structures to work with since if
there is an error in the device control string the originals
should not be modified (except possibly DCBlength) */
memcpy(&dcb, lpdcb, sizeof(DCB));
Quelle:  [...] 
996 typedef struct tagDCB
997 {
998 DWORD DCBlength;
999 DWORD BaudRate;
1000 unsigned fBinary :1;
1001 unsigned fParity :1;
1002 unsigned fOutxCtsFlow :1;
1003 unsigned fOutxDsrFlow :1;
1004 unsigned fDtrControl :2;
1005 unsigned fDsrSensitivity :1;
1006 unsigned fTXContinueOnXoff :1;
1007 unsigned fOutX :1;
1008 unsigned fInX :1;
1009 unsigned fErrorChar :1;
1010 unsigned fNull :1;
1011 unsigned fRtsControl :2;
1012 unsigned fAbortOnError :1;
1013 unsigned fDummy2 :17;
1014 WORD wReserved;
1015 WORD XonLim;
1016 WORD XoffLim;
1017 BYTE ByteSize;
1018 BYTE Parity;
1019 BYTE StopBits;
1020 char XonChar;
1021 char XoffChar;
1022 char ErrorChar;
1023 char EofChar;
1024 char EvtChar;
1025 WORD wReserved1;
1026 } DCB, *LPDCB;

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
05/01/07  
 




RGH
GDL
thanks Roland.

Hello
Georg


gladly happen. You can Yes with opportunity communicating, whether you the weiterhilft.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/01/07  
 




GDL
Hello Roland,

it's located not on the prfrun32.exe separate on the profane.exe.
have me any accessible WinME and Win98 tested, fall any ex.

have time the following durchprobiert

Opencom....
writecom........
goes everywhere

opencom........
setcom...........
goes too everywhere

opencom.......
setcom......
writecom.............
crashes

opencom.......
setcom.........
readcom.......
goes too everywhere

opencom........
setcom..........
readcom...........
writecom................
crashes too ex

How said, crashes but first since Subscribtionslieferung 10.11 ex and if setcom and writecom in the View source vorkommen. particular uses not. odd.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/03/07  
 




RGH
GDL
Hello Roland,
it's located not on the prfrun32.exe separate on the profane.exe.
Hello
Georg


on the Profan.exe can it hardly lying, since the at ready kompilierten Program no strain game! The game only (and really only) then a strain, if you the program in the Development Environment interpretierst.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/03/07  
 




GDL
Roland correctly., it crashes in the Interpreter already ex.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/03/07  
 




GDL
my whole Postings related itself to the first discern of Nichtgehen already on the Interpretermodus.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/03/07  
 




RGH
GDL
my whole Postings related itself to the first discern of Nichtgehen already on the Interpretermodus.

Hello
Georg


in the Interpretermodus can itself indeed nothing changed having, I Yes only The Runtime with the middle-aged Delphi new compiled have. interestingly is the behaviour the kompilierten Program! red time whom Interpretermodus outside to.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/03/07  
 



 
- Page 3 -



GDL
alike whether in the Interpreter or in the compilierten mode It's all right not.

through chance coming I now hereon, that in the Version 10.ß10 The sized Grössen for jpg not weg(probably not yet present) in the Interpreter as well as compiliert. too The Size the Profan.exe has ex 10.ß11 changed.
is too alike, I Search me now a Rs232 dll, I The sized Pics and the RS232 need.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/03/07  
 




RGH
GDL
alike whether in the Interpreter or in the compilierten mode It's all right not.
Hello
Georg


Hm, then must I moreover search. moreover have I another couple ask:

react The Original Runtime of XProfan 10 and the with Delphi 5 compiled Runtime exakt identical?
what kind of Error Message appear?
which Syntax of SetCom() verwendest You? The with lever as first Parameter or without? (To recommend is prinzipell The newer Variante with lever as first Parameter. See Help.)
How is to the crash the Return Value of OpenCom and SetCom? (here can possible Error intercepting. WriteCom ought to one only with gültigem lever Call!)

even if it only yet little User concerns, so ought to XProfan 10 still too yet under Win9x/WinME funktonieren, too with the seriellen interface.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/04/07  
 




GDL
Hello Roland,

first thanks that You weitermachst.If it here little User are, on my own with us in the association are it 38 WinME User.any The I know benefit for Steuerungsaufgaben, alike whether for Modellbahnanlagen,Rolladen, robot etc. WinME ,there in this reaches one plainer Hardwarezugriff necessary is and a Neuaufsetzen the Systems almost once semestral in the hot Entwicklungsphase vorkommt.(Zerschossene Inpout cards).
If too the Hardwarezugriff yet endurable with conscience Dlls hinzubekommen is, is the ständige new Freischalten of XP simply kotzig.

this nurmal on the side, that it yet many WinME and Win98 User gives . only in a others Entwicklungswelt as here hold.

i'll me this weekend again a integrally jungfräulichen PII computer with solely WinME and XProfan10 arrange and then everything capture.

I have only a Please : gives it irgendeine Possibility a Logdatei from the Windowsausführungen to create, also to one Systemabsturz stored becomes.

Hello
Georg

Verwendeter Testcode
declare Error%,comi&,t$,n$,success%
cls
comi&=opencom(com1:,4096,4096)
erfolg%=SetCom(COM1:9600,n,8,1)

if success% <> 0

    Let t$=Schnittstellenfehler
    Let n$=interface could not opened go,
    or becomes of of/ one others application used.
    MessageBox(n$,t$,64)
    closecom(comi&)
    end

else

    print Rs232 successful opened and tuned

endif

sleep 5000
fehler%=writecom(comi&,chr $(12)+chr $(34))
print it get +st$(Error%) + characters gesendet
fehler%=@ComError(comi&)
print Error%

whilenot 0

    waitinput

wend

closecom(comi&)

To sleep 5000 go no Error recognized.
thereafter remaining the program without Error Message hang. only the Klammergriff helps yet.the heist both Error% go not displayed.

place I The interface In the Control Panel correctly. one and let setcom lane go The data with writecom correctly. outputted.
Andersherum, if I The interface with setcom einstelle and let writecom lane becomes a differently configured interface on The right values tuned.

the heist the Error exit only on, if
setcom and writecom in the code vorkommen. comes only one commands to becomes this too correctly carryed out.

How supra already already described, I set a PII new on and Try several setcom mutants from.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/04/07  
 




Jörg
Sellmeyer

i'll me this weekend again a integrally jungfräulichen PII computer with solely WinME and XProfan10 arrange and then everything capture.


If you you of it one Image on CD/DvD burn, can You, the Neuaufsetzen in the first eneorm speed and you secondly The Aktivierung save.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/04/07  
 




GDL
Hi,

@Jörg
With the whom Imagebrennen tried we already.this helps but only equal Kartentreibern. once new driver(Why too always) inserted go bleats WinXP The hardware has changed .............. many, not only I, having with Hardwarenahen developments therefore WinXP simply full.
an Possibility would possible The telefonische Freischaltung, there these really always nachvollziehbar ,without new telephone , his ought to.

@ Roland

have with my new aufgesetzten PII with obigen Testcode in all Variationen, with prfrun32 and setcom herumprobiert.it uses nothing it, name we it time differently, the Testcode remaining always hang. therefore erfolgen too no Fehlermeldungen and the Rückmeldungen are To Writecom always aale.

ABER:

After many Herumdoktorn,i want Yes gladly XProfan weiterverwenden, have I it geschafft.
declare com&,Error%
cls
com&=opencom(COM1,1024,1024)
fehler% = @setCom(COM1:9600,n,8,1)
@SetComExt(com&,0,0,0,$0100,0,0)		 in Binärmodus settle
writecom(com&,chr $(255))
comerror(com&)

whilenot 0

    locate 10,10
    print time$(1)
    sleep 100
    writecom(com&,chr $(255))
    comerror(com&)

wend

closecom(com&)

@SetComExt(com&,0,0,0,$0100,0,0) in Binärmodus settle
of these Zusatzbefehl goes it now in the normalen XProfan10 Version in the Interpreter sowohl in the Compilierten version.
too WinXP bleats not.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/05/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.281 Views

Untitledvor 0 min.
H.Brill05/20/23
Walter02/02/21
Post09/17/16
bastler12/16/13
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie