Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Confused] WINCEOEM?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
hyphen
Advanced Cheater
Reputation: 0

Joined: 12 Sep 2008
Posts: 84
Location: Not Having Fun

PostPosted: Wed Jul 22, 2009 11:28 am    Post subject: [Confused] WINCEOEM? Reply with quote

Hello there.

I'm trying to call "kernel functions" in C++, which are apparently defined in "pkfuncs.h".

Trouble is, my compiler tells me the "pkfuncs.h" doesn't exist.

I googled it up, and it seems I need to set "WINCEOEM=1" with a macro or whatever.

That's where I got lost DX

I have tried inserting "#define WINCEOEM 1" in my code/windows.h... no difference...

Can anyone tell me how setting WINCEOEM=1 works, or if there is some other way to make my compiler find "pkfuncs.h" ??

If you have an answer, plain english would be nice O.O This seems to be a sort of advanced topic and I am kind of seeking to use kernel functions without having to learn all about how they work.

All help is appreciated~
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

Joined: 09 May 2003
Posts: 26003
Location: The netherlands

PostPosted: Wed Jul 22, 2009 11:43 am    Post subject: Reply with quote

Try putting the define before your includes

Also, see if you can pass that define with the compiler command. (vc has defines, and in gcc you'd use -DWINCEOEM=1 )

But honestly, I doubt this define thing won't work (at most it'll make it so pkfuncs.h isn't used at all)

Do you have pkfuncs.h ? If so, add it to the searchpath, if not, well, try to get it...

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites