OpenGL ES C++ app, libgles_cm.lib? - Touch Pro2, Tilt 2 Themes and Apps

Hi,
I've been trying to use OpenGL ES in a C++ application, but I'm not sure where to get the required OpenGL ES headers and libraries. I tried using the ones from Vincent3D, but upon starting my app I get "XXX is not a valid Pocket PC Application". My guess is that libgles_cm.dll from Rhodium is not compatible with the one from Vincent3D. I can't find a libgles_cm.lib that's compatible with libgles_cm.dll on this device.
Has anyone gone down this road before and managed to produce a working C++ OpenGL ES app?

I am also looking for a libgles_cm.lib specific to this hardware implementation - FYI Remenic: you can download header files from the khronos opengl es registry, though they are incomplete as egl needs platform specific information - i am currently working on writing these.

Related

SR-82 (Java bluetooth)

What additional software does one have to load to enable JSR-82 (Java bluetooth) dependant midlets to run? I have already updated my TOA midlet manager to the latest version 1036, but it seems some WM5 functionality is still missing. Are there modified DLL's or additional JAR files required that will provide this?

Visual Studio 9 + WM6 SDK

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.

java fix for running QSEE surveillance software

I have a QSEE professional surveillance system that requires a program called mobileToDevice Jar file to run on Java. The HD2 java program that comes with it does not run this program but I found if I loaded Esmertec Jbed 20080912.5.1 ,the program will work good. The only problem is that i must use the keyboard arrow feature to move around the screen. If anyone has another version of Java that works with this application, let me know.

how to get java j2me midp applications running?

I am using an HTC Ozone from verizon.
It's winmo 6.1.
I installed JavaFX 1.2 and then the java programs are installed ok,
but when I run them I get the message:
Exception: Application not authorized to access the restricted API...
From digging around I find out that the application might be blocked because of unsigned signature.
What should I do to fix this ?
Thanks
I can't remember what the Java program is called which allows you to run java apps.
But it comes with the wm6.5 rom which 3VOLUTION made.
for those who might encounter the same problem, I found the java bible here http://forum.xda-developers.com/showthread.php?t=339579
and downloaded Esmertec Jbed
and now all java runs fine.
Cheers!

[Q] Debugging extracted WinCE6 binaries in emulator

Hi,
I extracted several executables (EXEs and DLLs) from the firmware image of a WinCE6 device.
In addition to that, I also build my own WinCE6 image with VS2005 that is running in the Device Emulator.
Now, what I'm planning to do is copy some of the extracted executable files to my emulator image and run them there.
For instance, it already worked to copy the "zlib.dll" to the emulated image and then load it with some customly written code.
However, this only works for a few DLLs. Most of them just crash.
I believe this is because of the memory mapping.
As you might know, WinCE6 has its own address space for shared libraries.
Typically they are loaded to the 0x40000000 region whereas libraries that are not shared are loaded to the address space of the application itself (i.e. 0x100000000 region).
While the DLLs from my own image mostly map to the 0x100000000 region, most of the extracted DLLs are loaded to the shared memory region which seems to cause problems.
Initially, the extracted zlib.dll did not work in the emulator image either.
However, increasing the RAM size of the emulator image did the trick.
Yet, the emulator supports at most 256MB of RAM. So further increasing the RAM size for DLLs that do not work yet is not an option.
Did anyone else try to run extracted binaries in an emulator environment ?
My ultimate goal is to run these extracted executables inside my emulated environment, so that I can debug and reverse engineer the code.
Is it possible to change the memory mapping of a DLL so that, instead of being loaded to the 0x40000000 shared region, it is loaded to the process space ?
There is a nifty freeware PE editor called CFF Explorer currently version VII.
http://www.ntcore.com/exsuite.php
One of the options under the Rebuilder tab is to change the Image Base of an object and rebuild it.
Make sure you are only doing this to a copy of your DLL. It's a long shot but it may work.
Good Luck.
Hi,
stephj said:
There is a nifty freeware PE editor called CFF Explorer currently version VII.
One of the options under the Rebuilder tab is to change the Image Base of an object and rebuild it.
Click to expand...
Click to collapse
cool, thanks !
I just tried it, but unfortunately the "New Image Base" functionality is greyed out.
I guess it's because the DLL I'm trying to change is not for x86_32/x86_64, but for the ARM platform.
Do you also debug WinCE stuff ?
I'm currently trying to get IDA Pro working with WinCE.
It seems to have debug support through ActiveSync.
The 5x5 and Life programs listed in my signature both have a separate CE version, but they were ported over to CE after I had shaken all the bugs out of the WinMo version in the WinMo Emulator and on the device itself.
The CE versions were only tested on the CE emulator, and given a quick spin round the block to make sure it all works. I do not have a 'real' CE device to test them on.
I have a copy of IDA Pro, but is only the freeware version, not the full blown paid-for versions. I don't know whether the free version has full CE debug support, I'll have to have a try sometime.
Testing in CE-Emulator is not enough at all
stephj said:
The CE versions were only tested on the CE emulator, and given a quick spin round the block to make sure it all works. I do not have a 'real' CE device to test them on.
Click to expand...
Click to collapse
Probably these CE-Emulator tests were not enough at all, because for example your SUDOKU does NOT work properly on my 800x480px sized unit based on CE 6.0 Professional. FileDialogs not populated, etc pp
Do not worry, I mainly are playing flash games, IMHO the better type of gaming applications ...
Only 5x5 and Life have versions specifically built ising the Windows CE SDK.
The others don't, as they were built using the Windows Mobile SDK.
Is it really surprising that it looks crap or doesn't work properly, if you try and run it under the wrong platform?
Likewise, CE versions look crap when run under Windows Mobile.

Categories

Resources