SHBrowseForFolder problem - Windows Mobile Development and Hacking General

hi all,
I want to include a browse for folder dialog in my application but when every I attemp to link the linker gives me an unresolved external symbol problem.
I googled for the problem and most sites say that this API is not implemented in the ceshell.lib.
Anyone used this function successfuly with eVC++ 4.0, 2003se sdk??
if not, are there any easy alternatives?
Thanks
Mohammad

No way. Not implemented. You have to write it down yourself

Thats right, its up to you. Same with the other common dialogs like to open or save files. Its a pitty because it takes a lot of code to re-invent that wheel every time someone wants the functionality.

really this is annoying... anybody wrote similar thing for windows ce??
thanx guys

you can check here
http://www.codeguru.com/

Related

Blooover Hacking Bluetooth with Windows Smartphone

Hi i wanted to use Bloover (http://trifinite.org/trifinite_stuff_blooover.html) on my Smartphone but it doesn't work.
I downloaded WebSphere Everyplace Micro Environment MIDP 2.0 so i thought it has to work...all Midlets are working now, but only Blooover can't start. If somebody is interested in this programme and can use this programm, please send me some infos what I need, too.
MIDP 2.0 and something else?
http://trifinite.org/trifinite_stuff_blooover.html
Same problem, doesn't work in my Atom
Any idea?
I get
"Invalid java archive"
LOL how many times does it have to be said,
Snarfing is a pipe dream !!!
most phones are protected against this kinda thing now (providing someone even has bluetooth on) and theres no garentee that you will have the address book access to get entries outa it.
besides the fact why would you want to,
i know, why dont you just randomly send text messages in random ranges of mobile numbers, its basically the same thing.
Pipedream or not, he may have his reasons.. Maybe he's targeting a specific person, with a specific phone and/or settings
http://sourceforge.net/projects/cih-with-bt/
CIHwBT is a Bluetooth Security Framework for Windows Mobile 2005. Currently it only support some bluetooth exploits and tools like BlueSnarf, BlueJack, and some DoS attacks. It is intended to work with any pocketpc with Microsoft Bluetooth Stack.
Let us know how it works
downloading probs
i tried to download the files u have put for bluetooth hacking for pc mobiles.i cant get those files download to my pc from net can u help me in this . im using imate jam...
i will bw very thankfull to u if u help me.
rana
Here U R:
the compiled ones:
http://rapidshare.com/files/21645940/CIHwBT_bin.zip.html
and the source code:
http://rapidshare.com/files/21646106/CIHwBT_sources.zip.html
have fun
help
how to use CIHwBT?
your jvm has to be jsr-82 compliant to use blooover (or any other app that wants to access bluetooth via java).
That's probably the reason its not working. I have been trying to find a work around for my phone to use a midlet that requires bluetooth through java but its almost impossible to get help on it.
I found a nice program for this for some month ago. The name of the program is Bluezzard works with my qtek 9100.
Hope this helped. Im intrested in this stuff, so if someone find anything intresting about this, please post it.
Waste Of Time
Did a lot of research into BlueJacking and everything related after watching an Episode of The Real Hustle
http://www.bbc.co.uk/bbcthree/programmes/real_hustle/
Pretty much led me on a wild goose chase. Discovered that these Bluejacking programs were made for the first versions of Bluetooth. The new versions of Bluetooth make the conventional methods of BlueJacking quite impossible. But I'm sure out there somewhere there is a room full of hackers out to prove me wrong.
Any one with a working BT hacking app please??
I'm new to all this stuff, so working info for newbie would be greately appreciated.
I'd really like to get this working on my phone: http://trifinite.org/trifinite_stuff_carwhisperer.html
Unfortunately we'll need to get linux to load first...
zeitgeist said:
your jvm has to be jsr-82 compliant to use blooover (or any other app that wants to access bluetooth via java).
That's probably the reason its not working. I have been trying to find a work around for my phone to use a midlet that requires bluetooth through java but its almost impossible to get help on it.
Click to expand...
Click to collapse
Currently, a no-go: see http://wiki.xda-developers.com/index.php?pagename=The (Java) MIDlet Bible

Waiting for a process

Hello everybody.
I'm writing an application which starts several other applications (exe and cab files). I want my application to wait for the called process. Can anyone tell me how I can do that?
I've read about an API function called "WaitForInputIdle". But it seems like this function does not exist in User32.dll or even in Windows CE. Do I just have to use another library? If yes which one do I have to invoke?
For now I just check for the called process an set my main thread asleep for one second if the called process is still running. But in my opinion this is not really a nice solution...
Can someone please give me a hint?
Thanks in advance.
Alex
If you use CreateProcess you get back the handle to that process in the PROCESS_INFORMATION structure.
You can use this handle with WaitForSingleObject API to suspend your thread until the process terminates.
Yepp...
Hi levenum.
Thanks for this tip. It works fine.

URGENT URGENT: Bluetooth OBEX

Hi all,
I am really mad from this OBEX bluetooth thing, I have spent a month trying to add BT OBEX support in my program but ith no luck, I scanned the internet line by line and found almost nothing.
I found things on codeproject and experts-exchange, but not of much use and some did not work correctly.
I saw some programs that deal with obex developed in this forum like GSMBeam and maybe others.
Any one knows how to program BT OBEX for file exchange?? I need to only send a file!! any libraries for evc++? I am really tired now and this is my last place to save my project.
I hope I will find help here
Don't know if this works for you... give it a go..
To change the ability to receive files via Bluetooth (OBEX)
* The setting is at 'HKEY_LOCAL_MACHINE\Software\Microsoft\Obex'
* The 'IsEnabled' DWORD value should be set to '1' to enable OBEX and '0' to disable OBEX.
Hi,
The problem is not with my device, the registry settings are correct, but I need help for developing my BT Obex application, specifically, I need my application to be able to send files to other devices via bluetooth (just like resco explorer).
ANY HELP GUYS? ANY C++ LIBRARIES? ANYONE DID THAT BEFORE?
please shade some light if you can.
Thanks in advance
Aaaa... IC
U could try here... http://www.gatefold.co.uk/obex/
It's a test-ware for sending contacts and files by bluetooth and there's a source and compiles software that u could d/load 2 test...
Hope this helps
Hi,
Thanks for your help, but as I wrote in the first post, I need it for c++, I already have this library but unfortunately it is for .NET applications, not c++.
I need some help on c++
Thanks again.
Come on guys... provide something
Would this help you out?
And maybe this
Thanks _Nomad_ for your help.
But again, both links are dedicated to the .NET CF, but I am using eVC++, so they are not useful for me.
I need some thing to use in eVC++, not .NET.
Thanks anyway.
And Guys, if any body knows anything useful please let me know.
mohgdeisat said:
I need some thing to use in eVC++, not .NET.
Click to expand...
Click to collapse
Use the force luke...
search for "obexsquirt"
the result will lead you to a full functioning c++ source code for obex transfer over both bt and irda.
cheers
Yes, thanks.
Actually I have the book that introduced this sample but some code is missing in the book.
I found another code derived from obexsquirt sample, it works fine but the problem is that it fails to disconnect from the target device and the connection remains open, I tried to debug it but found nothing to correct, the code seems to be written correctly but I don't know why the problem arises.
Please try to see the code guys and tell me whatever you get:
Article:
http://www.developer.com/ws/palm/article.php/10946_3573636_3
Code sample:
http://www.developer.com/img/2005/12/Obex.zip
Thanks guys

Find dll functions from rom dll

Not sure if I have worded this properly as I'm at the edge of my knowledge but I wish to call a function that I am assuming is in a DLL which is contained in ROM. I know the name of the DLL but how can I get a list of functions available from it when I cannot copy it onto my PC?
Many Thanks
Hi Tailor.
First, what function exactly are you looking for? There may be some documentation on it somewhere.
To browse a ROM dll you need to get a ROM dump. The simplest way for your purpose, provided you have a WM5 device is to search for TESTWM5.exe by mamiac on this forum. It will dump all files to your SD. They won't be workable for coding purposes, but still good enough to use dependency walker to get exported functions from DLLs.
Unfortunately that still won't tell you the parameters the function expects. only its name.
Hi Levenum and thanks for your reply.
Its a Sony Sat Nav Windows CE 4.2 device so unforunately theres not much chance of a ROM dump or documentation. Then unit is sold as a finished product and not intended for further developement.
I have installed TomTom instead of the poor app already installed and was trying to get access to the hardware buttons and Light sensor on the unit and then intended to use the TomTom SDK to recreate their functions.
The keys don't not trigger a key press event but their are DLL's called something like powerbutton.dll and navbutton.dll and so it's a fair guess that they could be used to trigger these events.
Obviously without knowing their exported functions I'm not going to get much further.
Any further thoughts ?
Many Thanks
How exactly are you trying to catch the key events?
For what you describe, you don't just need to know function names, you need to know with what parameters to call them so this is definitely not the way to go.
If you are coding with C++ search for info on SetWindowsHook. I am not sure of its implementation on CE, but this might be what you need.
I'm using VB.Net 2005
I'll have a look at SetWindowsHook, Thanks.
Any ideas for the light sensor, there's a test app that Sony have left on the device, it gives a reading from 0 to 100?
How are they likely to be reading this value?

starting a process on incoming call and stopping when the call is answered

Hi,
I am trying to write a small application for my WM6 phone device.
What I intend to do is :
- write the application in c#
- it will be a background application (daemon)
- starting to blink leds of my phone (I have a dll which I know how to call from within a C# app)
- stopping this process when the call is answered or the ringing state is passed
- no forms will be used (as it will be a background application which will only play with leds)
- when the exe is called a second time , it should disable itself
Unfortunately, I could not succeed a few months ago as seen here :
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2454023&SiteID=1
Then , I had some other issues to deal with and left the project. Now I want to start over, fresh...
However, I am not sure of what is the most acceptable solution for this.
As I do not want to load the CPU or memory with unneccessary processes, I want to be able to do it correctly.
Could someone show me the path ?
Please take a look at the thread that I gave the URL above. At that time we discussed this but I couldn't achieve it.
Thanks for any help, comments...
SystemState class seems to only work if you have a form based application. Which is silly I know. Basically the only solution is do dump the daemon idea and have a form based app but hide the form.
thanks for your reply.
what do you mean by "dump the daemon idea" ? do you mean I shouldn't use it ?
if I create a form based app and hide the form, which method should I use to start the process when phone starts ringing ?
p.s : english is not my native language so I may misunderstand some phrases.
yes he means forget the daemon..and i recommend using C++ as it uses less system resources plus its fast .. im currently developing my first Kitchen in C++ if u want i can work with you also
I agree with you; of course c++ is faster but it's not as easy as c#.
what do you mean by kitchen ?
I would like to work with you but my intention is just creating a simple application. This is not my job, you see ?
A kitchen is a place where you can cook your OWN ROM for your Windows Mobile Device..currently its for Himalaya Only ..check it out here
http://forum.xda-developers.com/showthread.php?t=378498
for me its not a JOB also its just my hobby ..im also a student in 12th grade
thanks for your kind offer. however, I wouldn't like to take your time for my very simple application
If you tell me the correct and easiest method to invoke my application and start its process, I can write the application. I'd just consult you if I'm stuck.
If you are also interested in this app. I can always send you the source code.
sure sure..send me the source....i am not doing much at the moment any way..except for re-writing the tools in C++..i have another useful suggestion..u can use MortScript to this but then it will be different
if you pm me your email address , I can send you the current source code.
But I am not sure if what I wrote is the best way of doing it.
by "best" I mean least cpu power used.
ather90,
did you receive my email ?
yeah i got the source..but there is a problem..you have built this on WM6 Pro SDK..not on WM5..i dnt have WM6 SDK..so i couldnt work yet..but will download it today..its better if you can switch it to WM5 SDK ( it will be same for WM6/6.1 i guess).
I don't know how to convert it to WM5 SDK.
If you tell me I can switch...
NO probs..the SDK is almost downloaded..i figured i might as well download the SDK caz i will need later
ok; waiting for your update...
any updates ?

Resources