Hello, i've jusi installed EasyCe 1.5 and trying to use this.
I've use VC6.0, and PocketPC emulator (with Gapi emu).
My app source:
#include "EasyCE.h"
void main()
{
unsigned short* buffer = (unsigned short*)getbuffer();
while (clicked()) { update(); };
while (!clicked()) { update(); };
PIXEL* dest;
ACHAR* file="images/skyshot.tga";
int w = 320;
int h = 240;
bool tgaload( ACHAR* file, int w, int h, PIXEL* dest );
ASprite sprite(320, 240, 320, (PIXEL*) dest );
ASprite::settarget( buffer );
sprite.setpos(0,0);
sprite.draw();
update();
}
Build ok.
But when i run this on the emu, and click on the screen, this error displayed:
The instuction at "0x00407694" referenced memory at "0xcccccccc". The memory could not be read.
What's wrong?
Sorry - i am absolutely newbie in c++
Thank's for possible help.
p.s. Examples with previous version of EasyCE, such as "sampleapp" and others ran OK.
I've use VC6.0, and PocketPC emulator (with Gapi emu).
My app source:
#include "EasyCE.h"
void main()
{
unsigned short* buffer = (unsigned short*)getbuffer();
while (clicked()) { update(); };
while (!clicked()) { update(); };
PIXEL* dest;
ACHAR* file="images/skyshot.tga";
int w = 320;
int h = 240;
bool tgaload( ACHAR* file, int w, int h, PIXEL* dest );
ASprite sprite(320, 240, 320, (PIXEL*) dest );
ASprite::settarget( buffer );
sprite.setpos(0,0);
sprite.draw();
update();
}
Build ok.
But when i run this on the emu, and click on the screen, this error displayed:
The instuction at "0x00407694" referenced memory at "0xcccccccc". The memory could not be read.
What's wrong?
Sorry - i am absolutely newbie in c++
Thank's for possible help.
p.s. Examples with previous version of EasyCE, such as "sampleapp" and others ran OK.