is there a namespace to get the list of progams currently running on the smartphone ????
and if there isn't what dll should i interop to do that ?!!!
thanks!!!
ToolHelp Reference
If you just want to do it once, use the remote tools that come with Embedded C++ or Visual Studio. If you want to get it within your program, see the ToolHelp Reference. (search for toolhelp at microsoft.com) You'll find such functions as:
CreateToolhelp32Snapshot
Process32First
Process32Next
Since you asked for the dll, toolhelp uses toolhelp.dll
Related
How can I open Access Databases in VB.Net for WM6?
I want to use sql-commands to read, edit and write to the database
is this possible? thank you for help!
greetz SciLor
Ok, I have no idea about these things but I will still try it
Maybe this?
http://www.microsoft.com/downloads/...FamilyID=38ed2670-a70a-43b3-87f3-7ab67b56cbf2
Thank you that might be what i search know i need to know how to access on on the DLL's
i do not believe that compact framework differs from normal .net
when it comes to oleDB interface
i would check out
codeguru.com for code about conecting to an access db
Thank you for the site! very useful
I will try to find something, but my problem is i never used vb.net in connection with databases
i cant help you with anything vb related as i hate vb
but if you need a connection string
http://www.connectionstrings.com/
I only read about sdf files... these databases suck, i dont want to work with different file types on my computer and my phone
Portable Database
i'm using SQLite on my wharehouse program it's free fast and your database file is portable meaning you can access the data on your mobile as well as your destop, if you are coding in .net there is a net wrapper availiable too, you can connect with the database similar way as if it was sqlce database so i found it pretty easy, and the sql syntax is like typical SQL. you have to get a query analyzer separetaly though, or build your own it's not hard to implement.
So try Googling for SQLite and the .Net Wrapper basicaly you need only the Wrapper, and copy the wrapper .dll to your device in your app directory.
Ps. There are many open source projects availiable to learn how to use it just search
Ps2.Sorry for my bad english.
I want to modify the messaging program but I've not done any WM coding before. I've looked at a number of posts on the forum and taken a look at the wiki but I'm still totally confused about where to start.
My current view is that I need to:
Extract the messaging program from the ROM I'm using
Is this possible? If so, what tools do I need? I found a few utilities that look promising on the wiki but there is no documentation for them so I've got no idea how to use them.
Disassemble the program
Can I do this with Visual Studio? Ideally I would like to step through the execution to find the bits I need to change, can I do that with the extracted program in the WM emulator? Or can I do it directly on my PDA?
Patch the program
I can probably figure this bit out by myself.
Get the patched program onto my PDA
As the program is in ROM, I'm assuming I'll have to re-make the ROM. Or can ROM files be updated/overwritten without rebuilding the ROM?
Each of those steps is assuming the previous one is the correct approach and is actually possible. I'm not looking for hand holding at every step, just some good pointers to relevant information and tools. Thanks.
0. - which programm you want to hack ?
1. What type of PDA you use ?
for example - for hx4700 -
prepare_imgfs.exe dump.dat
viewimgfs.exe imgfs_raw_data.bin
2. IDA - diassemble, or Visual Studio for debugging - if you know how
3. What type of PDA you use ?
for example - for hx4700 - like vivi kitchen.
4. ...
Thanks for your reply.
0. - which programm you want to hack ?
Click to expand...
Click to collapse
The messaging program, is it called Outlook Mobile? Do you know if it is native or managed code? If not, what's the easiest way to tell?
1. What type of PDA you use ?
for example - for hx4700
Click to expand...
Click to collapse
I've got a Kaiser. Currently running "udK 8.0 R0 Vega" ROM (WM6.1). Forgot to mention that in my previous post.
IDA - diassemble, or Visual Studio for debugging - if you know how
Click to expand...
Click to collapse
Does IDA support remote debugging on Windows Mobile? Also, are there any restrictions on what you can debug in VS, ie. do they stop you from debugging things you don't have the source for or are Microsoft applications (eg. Outlook) restricted from debugging in some way?
I'm finding it really hard to get decent information on these kinds of things. If I actually manage to get anywhere with this then I'll write up some kind of guide for the wiki.
Ok, I've used this tool to extract the ROM and get a file called 00_OS.nb. I then got these tools and managed to dump the NB file so that I now have all of the files inside the ROM.
I've been playing about with IDA but when I try and run poutlook.exe in the debugger, it runs but exits straight away (ie. it doesn't create a window on the PDA). I tried copying poutlook.exe onto my device but it doesn't run, I think I need to get it running from the exe before I do anymore IDA stuff. I remember reading somewhere that executables in the ROM image have been manipulated in some way (addresses rewritten or relocated or something), is that what is affecting it? Or do I need to run some additional tool on the extracted exe before it will run standalone?
How do I get an executable extracted from the ROM to run on my device? Or do I have to roll it all up into a ROM for it to work?
Hi guys. I've been playin around with Visual Studio 2008, making a project for SmartDevices and my X1 using Visual Basic. I run the application in the built-in WM6Pro emulator provided, and it works fine. But when I make a CAB out of it, and try to install on device, it is unsuccessfull. When I compile it as EXE and run on device, it starts. But as soon as I try to click something within the program I get an error message saying "Cannot find file 'Micrsoft Visualbasic Resources" or something. I'm guessing I need to tell the application what dll's to reference..? But how? Anyone got a moment to explain? Thanks in advance,
//Fred
What .net compact framework version is your application targeted at?
I assume where you were working with the emulator, you were doing debugging/deployment inside visual studio? When you are doing this visual studio will automatically deploy the required files such as .net compact framework 3.5 I think.
Since if you are using .net compact framework 3.5, then you will need that installed for you X1, since WM6 naively only includes .net CF 2.
Give that a try and let us know about your results?
I have used 3.5 when emulating in VS. I have 3.5 installed on my device.
When you are testing your application out in the emulator, have you ever tried installing it with the same cab files?
And what is the result? (make sure when you install the cab file, that the directory is not the same as the 1 you have been deploying when debugging, otherwise if they are the same clean up the folder first)
It the cab file doesn't work when it is being installed on the emulator, then at least we can isolate the problem to the actual configuration on your X1 rather than the cab file.
I assumed you used the Smart Device CAB Project template in visual studio?
If that is the case you might have not configured the settings properly yet.
Hi. So I just got a dump of my iPAQ 110, and I found this file. Earlier i stumbled onto this article:
http://www.ekhoury.com/2006/04/21/how-to-make-msn-messenger-add-ins/
Unfortunately this doesn't work for the latest messenger on the PC, but I was wondering if i can do something similar to make plugins for the mobile messenger. I tried to start a "Smart Device" project in VS2008 (I already have the wm6.0 sdk refresh installed), and then add this dll as a reference, but I get "A reference to "WLMMessengerplugin.dll" could not be added.", and when i click the help button it links me to an article saying this:
The project you are trying to load targets a device platform that your Visual Studio installation is not configured to support.
To correct this error
Install the platform that supports the project you want to load.
Anyone had any success with this?
I tried to find on internet but found nothing on it.
I am trying to modify the SourceID of a contact on Windows Mobile.
I am using .Net, and by now i am sure that it cannot be done.
But if someone can possibly write me a small wrapper which has a function to do this.
I will use that in .Net and pass it an ItemID & SourceID as parameter, and it will modify SourceID of that ItemID.
I am not a guru in c++ and thats the reason i seek help if anyone could help me.
Just to add, Windows Mobile 5/6 SDK comes with a sample app called PimExProvider
It updates all contacts SourceID to a new available id.
This code will surely help to start with if someone can help me.
I was able to do it myself.
I created the c++ dll and called it in .Net.