Sunday, July 20, 2008

Using bluetooth DUN (dial-up networking) modem under Windows Mobile

Have you ever tried to use bluetooth modem under WM6? Let's say you have second phone (can be pda-phone) with flat or cheap data plan and you want to use it with your Pocket PC (even if it has it's own phone module). It is not as easy as it may look like...

If you were using that phone with you pc, you know you have to use extra modem initial strings (init commands). But configuring bluetooth modem connection in WM is... poor. I looked all options few times without result. Hardly I've found solution.

Open you favourite regostry editor. Go to HKEY_LOCL_MACHINE\Drivers\Unimodem\Init\. Ther's string value called "1" with value AT<cr>. Edit it to:

AT+CGDCONT=1,"IP","APNNAME"<cr>

Replace APNNAME with APN name from your internet provider, but do not delete quotes! Save. You don't even have to reboot. I connected (successfully) just after this change.

And once again Microsoft made our lifes harder, letting us to configure bluetooth modem connection, but not init commands for it. Luckly there is walkaround.

How many opportunities to strain our brains fighting with MS we'll encounter on our way? We'll see... I bet it's just matter of time.

Disclaimer:

You're editing registry at your own risk. You have no right to blame me for harming your system.

Saturday, July 19, 2008

SOLUTION: Problems with creating Visual C++ project with Visual Studio 2007

Are you using Visual Studio 2005 Standard and Windows Mobile 6 SDK? You have PC with Windows XP SP2 (all automatic updates enabled)? Have you ever wantet to create Visual C++ Project for "Smart Device"? Probably yes, but...

You may encounter same problem as me. t looks like that:

1. You open VS and creating new project.

2. You choose it to be Visual C++ Smart Device Win32 Application.

3. You enter name of project, click ok, wait a moment and...

4. Your screaming loudly, hitting the desk with your fists, because everytime you click ok, all that happens in "blip-blip" and you're on selecting project dialog again...

I googled about it, found a solution (adding one key to regostry). Of course, with my luck, it gave me nothing. Same situation on and on. I really wanted to create VC++ project.

And I found a solution. Drastic, brutal, violent,... effective.

UNINSTALL INTERNET EXPLORER 7.

That's it, short and simple. Now everything works like a charm.

The problem is, that new project wizard is being rendered by IE engine. I'm not a Windows expert, but for me IE7 has a bug and that's why it cannot render that wizard, making creating new project impossible. Uninnstalling IE7 solves the problem, because IE6 (built in Win XP?) takes the work.

Uninstalling IE7 is tricky. I was looking for Internet Explorer 7. Wrong! I was looking for Microsoft Internet Explorer 7. Wrong! "What the...?" I thought. And I found it. It's called... Windows Internet Explorer 7. Blah, is it only to make harder to find end throw away?

After uninstalling IE7 (with all those warnings), after reboot you can enjoy creating new VC++ projects.

Disclaimer:

This method may destroy your system. Do at your own risk. I'm not responsible for any results of doing what I wrote.

Friday, July 18, 2008

initializing, please be patient...

Errr..., me and blogging? Nah..