Page 1 of 1

__iob

Posted: Sun Mar 05, 2006 5:37 pm
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 ?

Posted: Sun Mar 05, 2006 7:08 pm
by Fred
You can may be try this:

Code: Select all

!public ___iob

DataSection

!___iob: dw 0
EndDataSection

Posted: Sun Mar 05, 2006 7:17 pm
by Polo
It works !
Thanks !!