PocketMatrix forums

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

afxres.h file

Hi all,
I have downloaded the PoketFrog sample,
(as you understand iam new)
When i am trying to add an image to the Blit.rc
i am getting this error:
"...SAMPLES\Blit\blit.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'."

there is no file under that name, when i remove the include from blit.rc
//#include "afxres.h"

i get alot of other errors.
Any ideas?

Regards Maoz.
There SHOULD be a file of that name... but not in your project directory. Assuming you haven't messed with the default search directories (under tools/options/directories - include...

it should find it in the one similar to this:
C:\Windows CE Tools\wce300\Pocket PC 2002\include
(according to what your target platform is, of course).

Hope you get it working.
make it
#include <afxres.h>

the <> tells eVC++ (or MSVC++) to look in the said default search directories