Hi. I recently started using Basic4PPC and I think its really fun. Im making a small lock application now, But I need help. I dont know how to compile my applications and make them into EXE files.
When I save an application it saves as a Basic4PPC project, Not an EXE file.
Please, Help
I know that Basic4PPC has very active forums, so you might have better luck posting your question there.
http://www.basic4ppc.com/forum/index.php
It doesen't say how to compile on they're forums
as far as I know you compile programs on a desktop pc, when you download basic4ppc it comes with one installer for your device and another for your desktop. i've been using it too and remote to my pc to compile
this is a question for the B4PPC forum, not here...
Also you need to purchase the application before you can make exe files
in the desktop IDE go to file>compile> and select the destination device
ppc/desktop
If you're using the trial, you can't compile. You need to buy it to be able to compile
Closing the thread
Thanks for your help. Im gonna buy the full version of Basic4ppc now and hope it works
compile
so where you ever able to make it work?
Related
Hi Everyone,
I am just starting to explore developing software for mobile devices. I want to be able to develop an application, generate a CAB file, copy them to a selected device and the make the device automatically expand and install the CAB file.
Does anyone know of an easy way of automating the installation of a CAB file on devices - this is basically so that the end user does not have to be involved in the installation of new software.
Thanks
Dan
I'm interested in it too!
Do you mean that you want to remotely update the software installed in the mobile? Do you plan to send the new installation file by GPRS?
You can't push files over GPRS unless you have a VPN or similar tunnel (most people don't.)
While developing I like to run Eiichiro Ito's ftpd for Windows CE (works with any version from 2.0 to 5.0 - http://www.oohito.com/wince/arm_j.htm) and I have a rule in my Makefile which automatically uploads the new binary to the storage card, ready to run.
Of course if you only want your program to check for updates and install them automatically, then it is just a matter of making it check a website and download available updates each time it is run. This requires extra code in your application but it's the only way to do it for released software. Also it will annoy the user by trying to connect to GPRS every time they run the program.
It sounds like to me you want to know how to make a cab file. Is that right?
If so I can offer some code. The part about getting the cab to automatically work is not so easy. Unless you have some process already running that expects the cab, what will execute it?(unless of cource you mean the device is synched)
Give more detail.
I am looking for a way to sync ical with my tasks and appointments on my phone. Ive found software online and whatnot, but nothing for 5.0. anyone know of anything? I would really appreciate it.
Missing Sync for Windows Mobile
I'm using Missing Sync for Windows Mobile on my OS X MBP. It works great and you can install .cab applications with it as well. Unfortunately you still need a windows machine/install to install the .exe stuff but I've found most software vendors for PPC apps supply a .cab install option now as well.
http://www.markspace.com/missingsync_windowsmobile.php
cool ill track down a PC and try it out. THanks!
You won't need a PC to install Missing Sync, it's a Mac universal binary. What I was speaking of are applications for the PPC device that require you to run an executable on a host PC (windows) to then install the application on to your device. However I just found this on another forum and I think I'm going to give it a try.
File Juicer - one of the features is "Extract CAB files from Pocket PC self installing EXE files" once you have the .cab you can install the application via missing sync.
http://echoone.com/filejuicer/
oh I think i found this once, but 40$ and no trial scared me...
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?
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.