PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

more than 72 hr ,I can't compile and run on Emulator, please

:cry:

Hello all,
I just know EasyCE about 2 - 3 day ago
I never use Visual C++ before, but I use JAVA

I try to download this and complete..
- Embeded Visual Tools (>300m) (install c:\)
- sdk 2002 (>60m) (setup after install Embeded)
- EasyCE (install c:\easyCE)
- SimpleApp.zip (g:\test\easyCE\Simple)
- GAPI12 (I don't know how to install)

this is my source (for test)
- test.cpp

#include "EasyCE.h"

void main()
{
while (!clicked()) update();
}

Now my main point is "compile this source and run on Pocket PC 2002 Emulator"


I make new program by
File -> New.. ->(tab)Project
:: WCE Pocket PC 2002 Application
:: CPUs = / Win32 (WCE ARM) , / Win32 (WCE x86)
and create by empty project...

I write source code ...
I set Active configuration to Win32 (WCE x86) Debug

but.. How to continue??

Help me Please ... I don't want to try but don't see end of anything...

please please please please please.... :cry:

Nueng
ps .. I'm not strong English language , please try to understand me..
Nueng (Topic owner) · 08 Feb 2002, 05:59 UTC
again..
now I use EasyCE2.0
please help me like as "Step by Step"...

Thank you A lot...
Nueng
Are you building the project? Press F7 to build.

Dan East
I try in all way but It's can't.....
I open workspace and i think I will write program continue sample but project can't set active to x86 , When I create new project I don't know howto setup any configuration .... :cry:

Thank you very much
Nueng
ok, the problem you have is that there is no gapi implementation for the emulator..

the gapi dll's you downloaded are for the actual devices, not for the emulator

there is a implementation of gapi for the emulator on http://frog.flipcode.com i heard, quite some people had problems getting it to work though..

you have to install the gapi dll for the emulalator in the emulator (instructions on that page)

the rest i will type when i get to work, i gotta run now :-)
Kzinti · 08 Feb 2002, 14:33 UTC — About GAPI emulation...
About GAPI emulation...

The reason peoples are having problem making it run with EasyCE is due to the fact that EasyCE doesn't provide a valid window handle when calling GXOpenDisplay().

The GAPI emulator, contrary to most (if not all) implementations, needs this window handle to blit the image in GXEndDraw().
Now I'm still in "can't not run on Emulater"
Does the emulator ever start? You should see a small 240x320 window running Pocket PC.

Dan East
What OS are you on?
Plan9,

Is EasyCE passing in NULL, or some bogus value? You can verify the handle (if suspect) with IsWindow. You can use GetActiveWindow as a last ditch effort.
Thank for all...

Today about 4 day ago.... I can't compile and run program on Pocket PC 2002 Emulator... :cry:


but I can run on visual c++ (not embedded visual c++) ... I'm not sure when I write program on vc++ complete , Is this program can compile and run on Pocket PC too?

I don't know how to tell you because I'm not strong in English language and I never use Embedded Visual C before, but I will try ... :cry:

and Now I'm waitting for prince riding on write hourse for help me... :wink:

Thank you very much all....