| View previous topic :: View next topic |
| Author |
Message |
XiO Newbie cheater
Reputation: 0
Joined: 27 Sep 2009 Posts: 22
|
Posted: Sun Sep 27, 2009 2:57 pm Post subject: [C++] Problem importing libs? |
|
|
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 |
|
 |
smartz993 I post too much
Reputation: 2
Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Sun Sep 27, 2009 3:00 pm Post subject: |
|
|
| Try #pragma comment(lib,"hge.lib").
|
|
| Back to top |
|
 |
XiO Newbie cheater
Reputation: 0
Joined: 27 Sep 2009 Posts: 22
|
Posted: Sun Sep 27, 2009 3:01 pm Post subject: |
|
|
Hey spencer, it's me Landon... You probably don't remember me, Megan didn't either.
Thanks, by the way!
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Sep 27, 2009 5:43 pm Post subject: |
|
|
you can also add it to the options for that particular project
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Sep 27, 2009 9:09 pm Post subject: |
|
|
haafs game engine?
good choice
|
|
| Back to top |
|
 |
XiO Newbie cheater
Reputation: 0
Joined: 27 Sep 2009 Posts: 22
|
Posted: Sun Sep 27, 2009 9:52 pm Post subject: |
|
|
| 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 |
|
 |
&Vage Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
|
| Back to top |
|
 |
|