PPP notification - Windows Mobile Development and Hacking General

Hi,
i have a problemi: i need a receive a notification when a pocket pc
(windows mobile 5) is PPP network connected. I write a example
application that intercept the WM_NETCONNECT message. Under Windows CE
5.0 PB Emulator work and i can detect, with this message, when the
device is connected with PPP protocol. Under the Pocket pc (WM5) the
application don't work, i don't receive this message . Is it possible
detect when device is connected with PPP protocol under Pocket Pc
without polling but with callback/event notification ?
Thanks, ciao
Massimo

Related

Using XDA as remote PC screen

Hi,
Does anyone know some software that can make
the XDAII function as a remote screen for the PC ?
It would be great to use the XDAIIs touch screen
to control the PC - maybe via bluetooth ?
Cheers,
Johannes
Johannes,
Try using VNC .....
You'll need to install a server on you PC (TightVNC, RealVNC or [email protected])
Then use the Pocket PPC Viewer on the XDA
Regards
John
well you can use windows therminal services
or pocketVNC to get the screen from the pc to the pda
but it will clone not extend your desktop
and at least with therminal services (which is included in both the pocketpc and in windows) it logoff the pc user when the pocketpc connects
and at least with therminal services you need the vidcomm bluetooth stack to get the PAN profile
because if you use activesync to connect and then login from the pocketpc the desktop user gets log'd off and this disable activesync which breaks the connection to the pda

WM 2005 & ActiveSync 4.0- Solution

Somebody has trouble with WM 2005, ActiveSync 4.0 (in PC) is working not stable or hanging all the time and me too- Magneto with WinXP SP2, office 2003 SP1.
In my experience some solution can be improved as following:
1. ActiveSync via IR - very sample but too slow
2. ActiveSync via Bluetooth - sample and fast
3. ActiveSync via USB, we need to do some steps
+ Turn off firewall of OS windows
+ Open network cards on your Himalaya:: Settings/ Connections/ Network cards
+ Click "Remote NDIS host" and you can see: Marked " Use specific IP addres"
+ Click " Use server-assigned IP address"
+ Click OK
+ Connect your device to PC, ActiveSync must be working at least in my case
,,,,
i tried these but it didn'nt work plz try to help its now 20 days of serching for a solution for active sync 4 proplem with usb
,,,,
i tried these but it didn'nt work plz try to help its now 20 days of serching for a solution for active sync 4 proplem with usb
??
@ xpirate
You can try remove activesync 4.0 and reinstall again, reset PC, turn off firewall and reconnect.
the problem i have is with outlook and activesync. whenever i try and use activesync, it pops up with some dialog about outlook not being configured correctly. which is true, seeing as I DONT USE OUTLOOK FOR ANYTHING! so why is this happening? it's not even set to sync email as i dont use outlook!
deadparrot said:
the problem i have is with outlook and activesync. whenever i try and use activesync, it pops up with some dialog about outlook not being configured correctly. which is true, seeing as I DONT USE OUTLOOK FOR ANYTHING! so why is this happening? it's not even set to sync email as i dont use outlook!
Click to expand...
Click to collapse
I noticed the same problem with AS 4 - it would only synchronise Favourites and Files.
Read the error messages carefully and you will find one telling you to use the 'Detect & repair' option on Outlook. I did so and it synced properly.
It was when I went back to Outlook Express that I realised that my OE wasnt the default email client anymore - Outlook had taken over that function. I made OE the default client again and AS stopped synchronising - went back to the same old error.
From the above I can only conclude that AS4 will only synchronise with Outlook and not any other PIM programmes. It also requires Outlook to be your default email client if you want to sync - slimy lil microsoft trick.
If you have a firewall, you will also notice that ActiveSync tries to send out email messages - this is both annoying and scary. Who are these messages intended for - Microsoft? I have blocked AS4 from sending emails on my firewall, but I still have to do a 'detect and repair' which sets Outlook as the default email client everytime I want to sync...
Problemas with the activesync
I don´t know what happen with the activesync and w2005. I cannot synconize because a hardware happen in the device manager.
The error is in the device manager-network adapters- windows mobile-base.
thanks for the help.
Txemuki
Re: Problemas with the activesync
belaten said:
I don´t know what happen with the activesync and w2005. I cannot synconize because a hardware happen in the device manager.
The error is in the device manager-network adapters- windows mobile-base.
Click to expand...
Click to collapse
I got the same problem with my Win2003Server box.
If you are running XP then you need to apply Service Pack 2
If you are running 2003 then you need to apply Service Pack 1
Seems that these packs have files "netrndis.inf" and "Usb_Rndis.ndi" that fix our problem
If you will find these files could you pls send them here? I dont' have SP1 installed and cant find these anywhere ((
I can confirm this.
On my office notebook I don't have SP2 on XP and Activesync does not work via USB (Bluetooth works).
On my home PC I have SP2 on XP and Activesync works via USB.
I guess I have to try to get these files somehow.
Patric
Update: OK, I got netrndis, but I don't have usb_rndis...
Hi Patric,
Thanx for the file!!!
Can you also post: rndismpx.sys AND usb8023x.sys ?
So, hope we will find a solution for non-SPed WinXPs and maybe for non-SPed Win2003
Thx!
OK, the files are attached. Does this help? I'm still missing the USB_rndis.ndi file.
Cheers Patric
Hi Patric,
pschoch said:
OK, the files are attached. Does this help? I'm still missing the USB_rndis.ndi file.
Click to expand...
Click to collapse
Thank you very much for the files! No need for the "usb_rndis.ndi"
It seems to be working on XP but not on my w2k3 box :-(((
Here what to do with files on XP:
1) Open "Drivers" subfolder in your ActiveSync folder (i.e., c:\program files\microsoft activesync\drivers)
2) Copy all three files there: netrndis.inf, rndismpx.sys & usb8023x.sys
3) Put your I-Mate to the cradle
4) When device installation wizard will ask you to proceed with Automatic or Manual installation you need to Choose "Manual". Then open your activesync's Drivers folder. Choose "Windows Mobile-based device" and wait until installation is finishes...
Good Luck!
hi there..
i have installed longhorn winhec build 5048 (the newest), office xp, activesync 4 and connected my mda2 (with wm2k5) to pc
i can see it in network controlers and activesync connects to mda2
but when i sync, i get an error message
i don't connect to exchange server, i just want to synchronize mda2 with outlook
the error is on the screenshot
thanks for help
johnz said:
i have installed longhorn winhec build 5048 (the newest), office xp, activesync 4 and connected my mda2 (with wm2k5) to pc
i can see it in network controlers and activesync connects to mda2
but when i sync, i get an error message
i don't connect to exchange server, i just want to synchronize mda2 with outlook
the error is on the screenshot
Click to expand...
Click to collapse
Have no exact idea cause didn't have such, but try to:
1) Disable ALL possible firewalls
2) Make sure your current ActiveSync Partnership is not "Microsoft Exchange" and if it is, just delete current partnership and create a new one
3) Remove "Email" from your sync list?!
4) Remove "Favorites" from your sync list?!
thx..
but..I have no firewall turned on (i had only microsoft firewall, it's off)
I have never connected to an exchange server, my partnership in activesync is only with my pc.
I have reinstalled activesync, not useful
removing items could help.. i'll give it a try
i'm going to sleep for now, thanks..
I *think* longhorn is very nice, but i'll stay with xp
I copied everything and did the procedure... now I get the error message 'Device can not start (10)'...
Not successful yet...
Patric
can instal 2005 on my xda2
hey i downloaded the win2005 and active sync 4 but when iam flashing ma rom and instaling the file an error says that cannot connect or smthn or an error in connection why is that ?
any progress
Same error Pschosch
No Progress what so ever!!
ActiveSycn 4.0 Works after all!!!
I fixed my ActiveSync USB problem...
I downloaded ActiveSync 4.0 from Microsoft's web site and instlaled over current AS4.0.
When I placed my MDA2 on the cradle, the same problem persisted, so with the PDA still in the cradle I unplugged the USB connector and then connected it again but to another port. Now the system detected a "new" device and installed properly this time so now it works 100%.
I hope this procedure helps you too!
By the way, I'm on Win XP (no SP2) and USB 1.1
Best regards,
Rayan
Does the activesync 4 can sync WM2003SE? cuz i got problem saying that version incompatible..

RAS connection - how do I do it?

I want to make a connection to a server either via GPRS or via Activesync when cradled.
I used to use the API call RasDial on an old Windows CE 3.0 programme but this does not appear to make a connection under WM5 and fails to dial up a GPRS connection. It opens the port, etc but fails to dial.
Is there a simpler way to make a connection? Do I simply try to open a TCP/IP connection and the OS does it for me?
Any and all ideas appreciated!!
Dave...
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Houser said:
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Click to expand...
Click to collapse
Thanks. I found a sample of how to do this in the SDK so I will modify my code to use this instead and see if it all works.
Dave...

disabling PEAP certificate authentication

I have just bought a HTC 3600 Pocket PC. I am unable to connect to my work WLAN (cisco). It uses PEAP. We currently have server authentication by certficate (our own generated) turned off. However when I try to connect it tells me that I need to authenticate by certifcate. Is there a way to disable this? Seaching on the internet I have found a way to diasble certifcates on the the pocket PC for Exchange server 2003 SP2 by using mobile registry editor (HKCU\Software\Microsoft\Activesync\Partners\ secure =0). I have not found how to diable it for WLAN. I have also tried to add the cer file to to the PPC directly and via smartphoneaddcert.exe (it tells me it is not a valid pocket PC application). Has anyone managed succesfully do this?
Thanks

question about bluetooth and windows mobile 6

Hi to all. Both me and my friend heave same problem. We both heave htc devices (prophet and artemis ) with windows mobile 6.1. Problem is with bluetooth OBEX file transfer. When I try to send file from pc using obex (pc is running linux) we both get dialog for adding pc to list and it asks for passkey. on other mobiles this is not needed. Is there some workaround for this problem? Adding default passkey is not solution since this setup is working fine with hp ipaq and seems to be a htc related problem.
THX

Categories

Resources