__iob

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

__iob

Post by Polo »

Hi !
When compiling with a library, I get the error :
POLINK: error: Unresolved external symbol '__iob'.
If i add MSVCRT.lib to the linking of my application, then, it works, but is there a way to get rid of this error without msvcrt ? Like defining the symbol in Purebasic directly ?
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You can may be try this:

Code: Select all

!public ___iob

DataSection

!___iob: dw 0
EndDataSection
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

It works !
Thanks !!
Post Reply