Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 02-10-2004, 07:11 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Code:
__time64_t curtime1,curtime2;
_time64(&curtime1);      
do
{            
   charid = database.GetCharacterInfo(char_name, &tmpaccid, &zoneID);            
   _time64(&curtime2);
}while(curtime2 - curtime1 <= 20 && zoneID == 0);
Has anyone using Dev-C++ or Win32 tried to compile using this? I get the following log when trying to compile:

Code:
Compiler: Default compiler 
Building Makefile: "C:\EQEmu\cvs\eqemu\eqemu\Dev-C++ Compat\world\Makefile.win" 
Executing  make clean 
rm -f client.o console.o LoginServer.o net.o zoneserver.o ../common/classes.o ../common/crc32.o ../common/database.o ../common/dbasync.o ../common/dbcore.o ../common/DBMemLeak.o ../common/debug.o ../common/EMuShareMem.o ../common/EQEMuError.o ../common/EQNetwork.o ../common/eqtime.o ../common/guilds.o ../common/Item.o ../common/md5.o ../common/misc.o ../common/MiscFunctions.o ../common/moremath.o ../common/Mutex.o ../common/packet_dump.o ../common/packet_dump_file.o ../common/packet_functions.o ../common/races.o ../common/serverinfo.o ../common/TCPConnection.o ../common/timer.o ../common/Portable_vsnprintf.o World_private.res World.exe 

g++.exe -c client.cpp -o client.o -I"C:/Dev-C++/include/c++"  -I"C:/Dev-C++/include/c++/mingw32"  -I"C:/Dev-C++/include/c++/backward"  -I"C:/Dev-C++/include"  -I"c:/eqemu/zlib"  -I"c:/mysql/include" -D__GNUWIN32__ -w -finline-functions -DWORLD -DSHAREMEM -DINVERSEXY -D_WIN32_WINNT=0x0400 -DWIN32 -D_CONSOLE -D_MBCS -DFIELD_ITEMS -DSHAREMEM   -fexpensive-optimizations 

client.cpp: In member function `bool Client::HandlePacket(const APPLAYER*)': 
client.cpp:486: `__time64_t' undeclared (first use this function) 
client.cpp:486: (Each undeclared identifier is reported only once for each 
   function it appears in.) 
client.cpp:486: parse error before `,' token 
client.cpp:487: `curtime1' undeclared (first use this function) 
client.cpp:487: `_time64' undeclared (first use this function) 
client.cpp:491: `curtime2' undeclared (first use this function) 

make.exe: *** [client.o] Error 1 

Execution terminated
Looks pretty simple to fix...but I know no C at all :(

Any help would be appreciated,

Monrezz
__________________

kRPG Profile
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:31 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3