NO

Author Topic: unresolved external symbol _stat.  (Read 4215 times)

modalsist

  • Guest
unresolved external symbol _stat.
« 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

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: unresolved external symbol _stat.
« Reply #1 on: February 18, 2010, 03:23:50 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

  • Guest
Re: unresolved external symbol _stat.
« Reply #2 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

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: unresolved external symbol _stat.
« Reply #3 on: February 19, 2010, 02:55:18 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 ;)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: unresolved external symbol _stat.
« Reply #4 on: February 19, 2010, 05:33:19 PM »
perhaps oldnames.lib
May the source be with you

henrin

  • Guest
Re: unresolved external symbol _stat.
« Reply #5 on: February 23, 2010, 02:31:59 PM »
The _stat() function is defined in sys\stat.h (private include file).

modalsist

  • Guest
Re: unresolved external symbol _stat.
« Reply #6 on: February 28, 2010, 03:19:58 PM »
The problem was in /NODEFAULTLIB statement.

Solved ! thanks to all,

Eduardo