EVC4: writing console application - Windows Mobile Development and Hacking General

I want to port some fairly simple command-line utilities from desktop win32 to mobile. I have the powertoys console working, so all is fine there.
I have evc4, but I can't fathom how to build a console application. I just want to take some regular ISO C and build it, but evc is forcing me to have a WinMain, and there's no mainCRTStartup in the library to use as an alternate entrypoint.
I've googled and found nothing.
I'd appreciate some pointers from someone who has done this! Or is EVC just the wrong tool?
Cheers,
Graham.

Related

Linux as a Development Platform

I don't know if this is the appropriate discussion, but I thought I'd ask anyway. If it needs to be in another location, please feel free to move it.
I've noticed that many of the tools available on this site start off being available for Unix/Linux and then are ported to Windows (at least, this has been my impression). I was wondering if anyone here actively develops PocketPC applications under Linux and if so, how do you do it?
I'm currently investigating moving away from Windows as it has nearly destroyed my source code on several occasions due to NTFS partition corruptions (thank goodness for backups). If anyone knows if this is possible and how to do it, I'd appreciate it.
Thanks!
You may take source code of my GCC port and reconfigure and compile it to linux. http://mamaich.kasone.com/ppc/src_all.rar 36498405 bytes
It contains GCC with C/C++, G77, ObjC and can be built as a Win32 cygwin compiler, linux or WinCE-based compiler. It contains good C runtime library.
I don't think that there exist other native linux compilers that can produce WinCE applications except this my port, Voxware port and one unreleased port of GCC. There exist several compilers that produce ARM linux binaries, but they are useless for you.
My port is based on Voxware code and provides more functionality and faster FP-emulation. And I'm thinking on porting a GNU Pascal compiler.
There is one problem with linux. The only debugger available is GDB, and it is extremely slow and inconvenient.
Thanks! I'll take a look at it and see if I can get it to work. I assume that you have had no experience getting the emulators to run under Wine? I haven't made the attempt myself, yet.
I don't use linux, but it should be possible to run eVC compiler under WINE. But probably debugging is not possible and emulator may not work.
You may use VMWare
VMWare under linux works fine. I'm using it. This is commercial software, but you can try 30 day limited version. www.vmware.org

Development for WM under Linux?

Hi all,
few weeks ago I deleted Windows and started using Ubuntu (nice OS), but it looks like it isn't possible to develop any applications for Windows Mobile.
Visual Studio 2005, Embedded VC++,... doesn't run under WINE.
I tried to use VirtualBox with WindowsXP, but it was terribly slow.
Is it possible to develop applications for WM under Ubuntu?
(Don't tell me to use dualboot, I want to have clean PC without some Windows sh*ts!)
Thanks
I would also like to know this.
you should trie Eclipse IDE!
If Eclipse doesn't fit, search for some of it's derivates.
There are several... many for Java, but also some for PHP (PDT) and
CSS/(x)HTML (Aptana Studio).
Hope I could help you!
If your VM is too slow,
start using a down-stripped version of WinXP!
(f.e. TinyXP -- nothing illegal, avail. via torrent -> u need a valid serial, of course!)
You can also create your own Tiny Xp..search fo a tool called
1. nLite For XP
2. vLite For Vista
ZaxXx said:
Is it possible to develop applications for WM under Ubuntu?
Click to expand...
Click to collapse
Check http://cegcc.sf.net
arm-wince-mingw32ce can be used to compile many wince programs
if you write/adapt the Makefiles
you can maybe make compact framework .net apps using http://www.mono-project.com/Main_Page
mono
Actually, you should think of downloading WM 5/6 SDK and... using it with right cross-GCC.
Yes, I was right: http://cegcc.sourceforge.net/

Windows Mobile development

Hi,
I have a C++ project written for the Linux platform - the project is quite big and has a lot of .h and .cpp files.
I need to port this such that it can run on a Windows Mobile 6.1 device. So I have installed Visual Studio 2008 (free trial version) , SDKs, and emulator images.
Now I'm a bit confused as to what to do next. In VS should I go to File -> New -> Project from Existing code. ? After that what should I do?
Let's say I have a .h file (written to linux platform). Basically how should I start the porting process?
(I'm sorry, am new to this and I really appreciate some help)
Many thanks
nitro2u said:
Hi,
I have a C++ project written for the Linux platform - the project is quite big and has a lot of .h and .cpp files.
I need to port this such that it can run on a Windows Mobile 6.1 device. So I have installed Visual Studio 2008 (free trial version) , SDKs, and emulator images.
Now I'm a bit confused as to what to do next. In VS should I go to File -> New -> Project from Existing code. ? After that what should I do?
Let's say I have a .h file (written to linux platform). Basically how should I start the porting process?
(I'm sorry, am new to this and I really appreciate some help)
Many thanks
Click to expand...
Click to collapse
There is no automatic/magic porting process to start
You need to:
1 - Learn C++
2 - Learn win32 API
3 - Port the project by yourself - which means modify each file by hand so the original Linux code will be adapted to win32 code for Windows Mobile.

[Q] How to compile nitrogen for Win CE

This may be a rookie issue but i cant seem to get started here.
I need to compile nitrogen mp3 player, for Windows CE for my car audio (it runs WCE6.0).
I want to make some changes to the source, so therefore i cant just get a compiled copy.
I am using visual studio 2005. When i compile the solution, and try to run it on a Windows CE emulator, it doesnt open.
Running a download version, works fine, in the same emulator.
I think i maybe have the wrong SDK installed.
So my questios are, what SDKs i have to use, or do i have to use VS2008?
Or are the some other packages that i need to install, in order to make it work?
Why not simply use Pelles C instead of VS 2005?
jwoegerbauer said:
Why not simply use Pelles C instead of VS 2005?
Click to expand...
Click to collapse
It seems that Pelles C doesnt support compiling c++.
Im not able to open the .sln file provided with the nitrogen source code.
NeophyteDK said:
It seems that Pelles C doesnt support compiling c++.
Click to expand...
Click to collapse
Bingo.

Creating a soft keyboard, any alternative to the official SDK?

how to create a soft keyboard using anything other than android sdk? since java and me are not best friends
any lua or python or similar solution? c++ is fine as far as i know it can't be done using NDK.
Or if i must go for java, any easier sdk than the official sdk?
And to make it worse, now that eclispe's SDK is depreciated, I'm stuck with android studio, which I absolutely hate

Categories

Resources