RE: Al Getz Display Server
>
> Hello again,
>
> Ok thanks.
> What you could do next is put
> printf(1,"%d\n",{1})
> at the very START of the connect.ew file.
> If the console doesnt open up now when you run your file
> with the connect file included, then you have to be using
> the wrong connect.ew file. That is, as you mentioned having
> several copies, the wrong one must be running.
> I'm pretty sure the only file you should have to
> change is the one in the same directory as your exw file.
> If you want, put some other stuff in there too to print to
> the console window once it starts up.
>
> As you said, this is very basic so you should be able to get
> something to print to the console from the connect file.
>
> Also, just a side note:
> The Display Server doesnt WRITE to your processes memory,
> it only READS it, so it's not likely that something is getting
> overwritten.
>
> BTW, did you try to run any of the demos first?
>
> Take care for now,
> Al
>
Now I'm getting somewhere. First thing first. To answer your question, I
did run your demos. The .exe demo both produce the little error window
"Couldn't connect to server......" but upon pressing OK works alright.
The 2 .exw work ok. I included printf(1,"%d\n",{1})at the beginning of
connect.ew. Now for my stuff:
--My code
include connect.ew
ServerPrint("Hello1")
ServerPrint("hello2"
--End code
Then...
Start DisplayServer201.exe
Start my prog TESTDISP.exw
Get a 1 on top of the window console plus the little error window
"Couldn't connect to server......"
Click the little window OK button (it disappears) then the window
console fills (after 1) with this:
1
0
2860
49623
c:\...........
Syntax error - expected to see possibly ')', not the end of file.
<end-of-file>
press enter...
Thanks for your patience.
Serge
|
Not Categorized, Please Help
|
|