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 


[C++] Problem importing libs?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
XiO
Newbie cheater
Reputation: 0

Joined: 27 Sep 2009
Posts: 22

PostPosted: Sun Sep 27, 2009 2:57 pm    Post subject: [C++] Problem importing libs? Reply with quote

When I use:

Code:
#import <hge.lib>
#import <hgehelp.lib>


I get:

Code:
fatal error C1083: Cannot open type library file: 'c:\program files\microsoft visual studio 9.0\vc\lib\hge.lib': Error loading type library/DLL


Why is this?
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Sep 27, 2009 3:00 pm    Post subject: Reply with quote

Try #pragma comment(lib,"hge.lib").
Back to top
View user's profile Send private message
XiO
Newbie cheater
Reputation: 0

Joined: 27 Sep 2009
Posts: 22

PostPosted: Sun Sep 27, 2009 3:01 pm    Post subject: Reply with quote

Hey spencer, it's me Landon... You probably don't remember me, Megan didn't either.

Thanks, by the way!
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Sep 27, 2009 5:43 pm    Post subject: Reply with quote

you can also add it to the options for that particular project

Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Sep 27, 2009 9:09 pm    Post subject: Reply with quote

haafs game engine?

good choice
Back to top
View user's profile Send private message
XiO
Newbie cheater
Reputation: 0

Joined: 27 Sep 2009
Posts: 22

PostPosted: Sun Sep 27, 2009 9:52 pm    Post subject: Reply with quote

Yes well, it's outdated, thus it wants CLIB.lib (is that wrong? Maybe it's something else...) which I do not have with VS08
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Mon Sep 28, 2009 2:53 pm    Post subject: Reply with quote

http://gdk.thegamecreators.com/
Back to top
View user's profile Send private message
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