Hi
I make a simple test with this code:
-------------------------------
ip$ = NETGETIP$()
PRINT ip$,10,10
SHOWSCREEN
MOUSEWAIT
--------------------------------
In windows work very well, but in a Pocketpc (with 3g) and other pocketpc (with wifi) do not work.
At run, the program ends inesperately
Any idea?
Hi Javiero, perhaps you need to make a bucle.
I?m not be sure of this, pero bueno.
Quote from: mentalthink on 2009-Jun-17
Hi Javiero, perhaps you need to make a bucle.
I?m not be sure of this, pero bueno.
Hi mentalthink.
What is the objetive for make a bucle?
The program when run the instruction "ip$= NETGETIP$()" end inesperately.
I mind that launch a exception and the program stop.
Excuseme my very bad english please.
LIMITFPS 10
ip$ = NETGETIP$()
PRINT "NETGETIP$() Loaded",10,10
SHOWSCREEN
WHILE TRUE
PRINT ip$,10,20
SHOWSCREEN
WEND
Does this work?
Quote from: Hemlos on 2009-Jun-17
LIMITFPS 10
ip$ = NETGETIP$()
PRINT "NETGETIP$() Loaded",10,10
SHOWSCREEN
WHILE TRUE
PRINT ip$,10,20
SHOWSCREEN
WEND
Does this work?
Hi.
No. Not work.
When the program begin, ends inesperately without message.
Was test in 3 wince pdas differents.
- HP IPAQ 4700 (with wifi internet conection)
- HTC TOUCH (with gprs internet conection)
- HTC Diamond (with grps and wifi conection)
In both cases the pda conect with internet perfect (then must be a ip valid)
What if you do a "SOCK_INIT" before that?
Quote from: Kitty Hello on 2009-Jun-18
What if you do a "SOCK_INIT" before that?
I was test it.
Fail at NETGETIP$()
:'(
OK, it's a shiny bug then. I'll fix it.
Hi Javiero, I think was I stayed wrog about I tell you for the bucle. Excuseme.
Un saludo, y hasta pronto.
Quote from: mentalthink on 2009-Jun-19
Hi Javiero, I think was I stayed wrog about I tell you for the bucle. Excuseme.
Un saludo, y hasta pronto.
Don't worry ;)
Quote from: Kitty Hello on 2009-Jun-19
OK, it's a shiny bug then. I'll fix it.
Yes please :nw:
I stay development a gps application for wince, and need comunicate the pda with a server. I need a way for transmit the position and receive orders.
Many thanks. ;)
uh-oh. It seems that "gethostbyname" API function blows up. I'll see how to fix that.