C++ program on PDA - Contacting a database - Windows Mobile Development and Hacking General

Hello all,
I've got a project with this background:
- Programming a PDA program with C++ and Eclipse and wXWindows for Windows Mobile 2002
- Using a database on a windows PC
Question is: Is there an interface that already exists for communication from the PDA with the windows PC connected via USB?
Thanks.

yes both win32's odbc or mfc's ado or dao is present at pda's like on pc's

I have a server program running on the windows pc, which communicates with the database.
So i need a connection to the windows program and not to the database, sorry.
How can i communicate with the program?

make a socket on the pc program which listen to a socket at a surden port
and make a program on the pda which writes to a socket at the port and the ip
and you are there

ok, thanks.
So i have to program like a normal network application?
How can i find out, which ip my pda have, then it is connected via usb?
Can i communicate with the pc to the normal network ip from the pc?

ms have some free tools for ping and such i'd asume that they have a ipconfig tool in that packet
and yes when connected to activesync or wifi
the pda can do the same stuff as a pc connected to a pc
socket and networkwise

Related

how to connect to lan via usb/serial cradle?

Hi everybody,
I've a Qtek2020 smart phone. I would like to access my lan' pc from my PDA when it is connected to serial/usb cradle.
I can ping the pc to wich the pda is attached and I can open in internet explorer a page served from the pc IIS server. But my problem is that the PDA identifies itsel with the same IP address of the host pc (the pc connected to my pda)
Is there a way to let the PDA be connected via ActiveSync/serial/usb cable to the host and receive an unique IP address??? This way I will be able to send TCP/IP data to the PDA .I need this because I've a software that act as a server that need to be installed to the pda and must reply to requests that come from lan' pc.
The host pc has winXP pro. I've tried to create an "incoming connection" on this machine that accept connection on the COM2 port, using the wizard that is usually used to direct connect 2 pc via direct serial cable.
This way i think I need a special software to be installed on pda....
Any help???
Thanks a lot for any suggestion
bump

Connecting to pc network via bluetooth

How do I achieve the above?
Win xp pro
pocket pc 2003 (XDA11i)
I can connect and get onto the internet but I need to be on the network with the pc. I am trying to test some apps running locally on IIS5. On the PC I type Http://dad/finedll/Mysql_3.dll how do I do this when connected via bluetooth.
Cheers
SteveW

how to use pc net on ppc?

Hi mate my pc is attached with a dsl high speed net. i wan to use it on my ppc when i connect it with activesync using usb cable. is there any software or any possible way to share my pc net on my ppc. i have wizard with wm6
Regards
I think (depending on the ROM) that Active Sync itself provides this functionality. If you set up a new partnership, the second screen has a check box which allows you to let the device connect to your PCs internet.

Bluetooth on PC no COM

Hi,
I have a new X1 with the original ROM.
I am trying to connect the phoneto my PC but it is not possible.
I find the PC if I search on the phone. Then I try to connect but I have only two services to select. FreeSpeaker and Network.
And if I try to search on my PC I have only two services available on the phone. (Network Access, Object push and voice gateway).
But I can´t transfer files from the PC to the phone. Can´t create an COM connection (a COM port is already configured on the PC) and it is not possible to connect with Active Sync.
Something is going wrong.
Does anyone know what it can be? I have Win XP SP2 with integrated bluetooth.

connection problems PC <--> PPC

Hello!
I have a freeware app and the communication model between PC and PPC is based on a sample app from Microsoft (SockApp). The PC client app is using IRAPIEnumDevices interface and Enumerates the Windows Mobile devices connected to get the connected ip-address. This work in most cases, but some users report that the client app won't connect with the PPC server app. It turns out that
hr = pIRapiDevice->GetConnectionInfo(&connectionInfo);
returns "127.0.0.1" instead of the actual Device IP.
Does anyone know why and how to work around this?
OS Vista, WM 6.1, USB cable connected.
Thank you for your time
Nicholas
Anyone please?
http://forum.xda-developers.com/showthread.php?t=407563
Hope it helps,

Categories

Resources