F
fig000
Hi,
Very new to pocket pcs and net cf. I'm running a small app on my
desktop that reads a file from a viewsonic pocket pc. I had gotten
CeRapiInit to work with the device connected (and I'm able to read
files, etc). I had wanted to set up code to see if the device was or
wasn't connected; I planned to display an error message if the device
wasn't connected so our users would know that no processing had taken
place.
What I found was that if the device wasn't connected, instead of
returning a code indicating non-success, CeRapiInit just hangs the
program. Here's the code:
llReturn = CeRapiInit()
(llreturn is a long; the code is in vb.net)
This is not a deal breaker but annoying. I should be able to see if the
device is connected and put in code to trap that. I'd appreciate any
help.
Neil
Very new to pocket pcs and net cf. I'm running a small app on my
desktop that reads a file from a viewsonic pocket pc. I had gotten
CeRapiInit to work with the device connected (and I'm able to read
files, etc). I had wanted to set up code to see if the device was or
wasn't connected; I planned to display an error message if the device
wasn't connected so our users would know that no processing had taken
place.
What I found was that if the device wasn't connected, instead of
returning a code indicating non-success, CeRapiInit just hangs the
program. Here's the code:
llReturn = CeRapiInit()
(llreturn is a long; the code is in vb.net)
This is not a deal breaker but annoying. I should be able to see if the
device is connected and put in code to trap that. I'd appreciate any
help.
Neil