using managed C++ in .Net 2005 - Windows Mobile Development and Hacking General

Hi all,
I have problems by using a C++ class library in a C# project. I try to add the managed C++ library to the references of my C# project, but .Net 2005 returns error "A reference to 'cppProjectName' could not be added because it is not a device project.". Its no problem to do that with .Net 2003.
Is that a bug or are there missing project settings?
Thanks for your help!
BR Adrian

Related

Creating java applications for Jeode

I have the jeode jvm for my xda exec and am hoping to develop for it. I transferred a few of my simple java j2se jar files but they dont work. How do I go about developing for jeode?
Thanks
Allan

REQUEST : getting started with wm5 development

can anyone point me in the direction of some help or a guide to getting started with wm5 dev ?
just looking for a "hello world" level walk through at the moment.
thanks in advance.
WM5 Dev
Get hold of Visual Studio .NET 2005 and examine the example programs Goodluck!
do i need to install the dotnet framework on wm5 or is it built-in ?
cheers
You need Active Sync 4 during development. You may wish to run the sample program in your WM5 device OR using a WM5 emulator. If you chose to run it on your device, cradle your device and VS.NET 2005 will install .NET compact framework on your device before it attempts to run your sample program using your device
thanks for taking the time to answer. i would have thought that the dotnet framework would have been built-in with wm5.
no-one likes to have to install extra programs to get an app to work.
I am not sure with the "newer" WM5 devices out there. I have an XDA II with the first leaked WM5 ROM and it does not have the latest .NET CF...
If you have a WM5 device, verify the .NET CF version you have by running: \Windows\cgautil.exe
i have 1.0.4292.00 installed on my wizard.
how does this compare to dotnet v1.1 or v2 ?
cheers.
I guess it is not the latest version. VS.NET 2005 needs CF v2 in order for programs to run properly.
Hi there.
I'm planning on embarking on PPC development journey as well.
Yet to get hold of VS.NET.
I was just wondering, if anyone would know how the app in the link works:
http://www.pocketpcfreewares.com/en/index.php?soft=338
Does it link to the registry, etc?
It obviously does not work on WM5, and I would appreciate if anyone could gimme a headstart on working one for WM5.
Thanks!
steelorange said:
I guess it is not the latest version. VS.NET 2005 needs CF v2 in order for programs to run properly.
Click to expand...
Click to collapse
You can develop .net CF 1.0 applications in VS.NET 2005. Then you don't need to install the .net CF 2.0 on the device. There are some handy things that's missing in 1.0, but almost everything can be done... just not as easy as in 2.0
Øystein

Getting started

Hi all,
I just bought an O2 XDA(ii). Regarding software development, what compiler is needed? I have Visual Studio 2003 and 2005, but isn't some sort of cross compiler needed for Windows Mobile?
Also, can the the .NET compact framework be installed on Windows Mobile? If so, will a Windows .NET app run on it?
Sorry for the basic questions, but one has to start somewhere!!
Thanks
Daeljan said:
Hi all,
I just bought an O2 XDA(ii). Regarding software development, what compiler is needed? I have Visual Studio 2003 and 2005, but isn't some sort of cross compiler needed for Windows Mobile?
Also, can the the .NET compact framework be installed on Windows Mobile? If so, will a Windows .NET app run on it?
Sorry for the basic questions, but one has to start somewhere!!
Thanks
Click to expand...
Click to collapse
In order to develop applications for pocket pcs, you need to download the sdks from Microsoft.
With VS2005 you can create .Net applications for pocket pcs and test them on an emulator or on the device directly.
There is a .Net framework installed on WM2005 pocket pcs.
Cheers,
.Fred
Excellent - thanks!

Programming Environment Please

Hi folks.
I'm a VB6 programmer and I have to develop an app for the XDA as part of a large project in which I am involved. I have read that embedded vb is available but could do with step by step directions to the essential tools necessary to allow vb6 development for this.
I can not seem to find a microsoft download for embedded VB6 though the C++ one is readily available and I have downloaded the pocket pc sdk. A little guidance would be most appreciated.
Many thanks

Doubts with Using Xamarin to develop Android App

Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Sorry in advance if these questions are naive....
Questions:
1 > I am using Windows. To generate the *.so what is the suitable IDE? Can the windows be used to generate *.so(static object)?
2> If I were to go with Eclipse , Do I need to install the plugins like SDK ,NDK etc...?
3> Do I need to care for processor architecture's , If need to compile the source?....I mean cross compilation
Thanks
sanddune008 said:
Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Click to expand...
Click to collapse
I'm not sure if I understand you question but I assume you want to extend an existing app -build in C# using Xamarin- with native android Java?
I'm not sure that's even possible. Xamarin is utilizing mono for android to create android (Linux) executable files. When decompiling my own Xamarin build apk with APK Studio I did see the mono .so libraries, but my own code was compiled. Referenced .Net (Windows!) dll's where added to the apk. I assume the mono libraries deal with how they are used in the compiled C# code.
Since there's no quick conversion I see a few options:
A - Change the Xamarin/C# android project to a library project (dll). Compile it using Xamarin and find out (google) how to utilize this dll using mono for android in your Java development environment (eclipse). There are mono .so files...
B - Convert the Xamarin/C# source to java source code. There are some commercial tools which claim to be able to convert C# to Java. Go java all the way.
C - Stick to Xamarin/C#
I think option A will lead to lots of headache assuming you referenced some .Net assemblies in your C# source. However it might be worth a try. Though keep in mind that if you keep using the Xamarin/C# part, you keep needing the Xamarin license to upgrade/update code in the future.
I would go for either B or C depending on the codebase. If it's a lot of code a Xamarin license renewal might be cheaper then a rewrite (conversion). In my experience code converters are reasonable tools, but I've never saw a one-click conversion happen. There's always extra work to make the converted code even compile.
In conclusion: Mixing Xamarin/C# and native Java code might be technically possible, I would rather make a choice for either one of them.
I can't answer your questions about eclipse and required libraries, but I hope my answer is of some use.
Regards,
Alex

Categories

Resources