Hey,

I'm currently trying to read certain information from a demo and write them
to an external file. Therefore I included stdio.h in the source file where I
need to use the function (in this case basecombatplayer.cpp) and did:

FILE *fRecord;
fRecord = fopen( m_sNewpath.c_str(), "wb" );
fclose( fRecord );

Now, when trying to compile, I get:

Error    1    error LNK2019: unresolved external symbol _dont_use_fopen
referenced in function "public: void __thiscall
CBaseCombatCharacter::CreateRecord(void)"
(?createrec...@cbasecombatcharacter@@QAEXXZ)    basecombatcharacter.obj
Error    2    fatal error LNK1120: 1 unresolved externals
.\Release_episodic/Server.dll

I'm guessing for an experienced user this is an easily solveable error, but
I'm not too familiar with the whole process of compiling and linking. I
never had to deal with a project as complex and big as the Source engine
code before, so maybe that's why I never had to deal with a problem like
this before. Thanks in advance for your help.

Cheers.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to