unresolved external symbol _stat.

Started by modalsist, February 18, 2010, 03:01:36 PM

Previous topic - Next topic

modalsist

Hi all,

Please, where is _stat() function ? What lib ?
I have scaned all libs by using "polib /list" command without success.
I have found on pocrt.dll only.

regards,
Eduardo

AlexN

Quote from: modalsist on February 18, 2010, 03:01:36 PM
Hi all,

Please, where is _stat() function ? What lib ?
I have scaned all libs by using "polib /list" command without success.
I have found on pocrt.dll only.

regards,
Eduardo
Try in the Porject options...
Compiler -> Define compatibility names
best regards
Alex ;)

modalsist

Alex,

Thanks, but I'm using script file to compiling via command line, so I need know the lib name.

Eduardo

AlexN

Quote from: modalsist on February 19, 2010, 12:34:54 PM
Alex,

Thanks, but I'm using script file to compiling via command line, so I need know the lib name.

Eduardo

If you select/deselect the option "Define compatibility names" you will see in the last line of the dialog a coming and going parameter -Go.
This parameter you also can use in your script file. ;)
best regards
Alex ;)

TimoVJL

May the source be with you

henrin

The _stat() function is defined in sys\stat.h (private include file).

modalsist

The problem was in /NODEFAULTLIB statement.

Solved ! thanks to all,

Eduardo