C++ static libs

Everything else that doesn't fall into one of the other PB categories.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Well, I just tried to add that :

Code: Select all

#pragma comment(lib, "fstat.obj")
Not sure if it was the way to do it, but it doesn't change anything unfortunately :(
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Polo wrote:Yeah, exactly, I've included these 3 : msvcrt, crtmt, crtmt2
ALL of them?! :shock:

(A typical conversation between C-runtime libraries could go something like this:
"This town is too small for the two of us!") ;)
Good programmers don't comment their code. It was hard to write, should be hard to read.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

yeah, but including them one at the time doesn't change anything, so... ;)
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

Polo wrote:yep, I know, unfortunately it doesn't work, I've got plainty of errors starting with __imp...
Link with MSVCPRT.LIB and only this lib for the C++ runtime. (add it in your workspace)
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

KarLKoX wrote:
Polo wrote:yep, I know, unfortunately it doesn't work, I've got plainty of errors starting with __imp...
Link with MSVCPRT.LIB and only this lib for the C++ runtime. (add it in your workspace)
It unfortunately doesn't change anything :(
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

Zip your project somewhere (mail, ftp ...) though i ll search why your code doesn't compile.
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Post Reply