You need to pass the appropriate linker arguments to tell the compiler to link
with whichever library contains those functions.

Alternatively you could store your player data in a database and you'd have a
platform independant way to access and update your information. Both mysql and
postgreSQL are available for windows.



--- Tristan M <[EMAIL PROTECTED]> wrote:

> im using msvc++ and what i want to do is be able to scan through every 
> player file and check if they are a certain race, and if so, change it(for 
> deleting races in my online race editor). im good as far as dirent.h is 
> concerned. after some googling i came across a dirent.h/dirent.lib for a 
> windows machine, so i've popped them in theyre appropriate places:
> C:\Program Files\Microsoft Visual Studio\VC98\Include
> C:\Program Files\Microsoft Visual Studio\VC98\Lib
> so now i can do:
> #include <dirent.h>
> without the compiler hissing at me, but now when i want to use the 
> closedir/readdir/opendir functions in the code the compiler tells me this:
> olc_race.obj : error LNK2001: unresolved external symbol _closedir
> olc_race.obj : error LNK2001: unresolved external symbol _readdir
> olc_race.obj : error LNK2001: unresolved external symbol _opendir
> 
> ive never added include or lib files to msvc++ before so am i forgetting a 
> step or anything here? i know that closedir, readdir, and opendir are all in 
> the dirent.h and that it was meant for windows
> 
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 


=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

Reply via email to