Game Development Community

About memory manager

by Hugeone · in Torque Game Builder · 04/28/2006 (2:10 am) · 0 replies

Hello:
I notice these code in winmemroy.cc
void* FN_CDECL operator new(dsize_t, void* ptr)
{
return (ptr);
}

When I add some C++ code to t2d source code. for exaple <<#import "c:\program files\common files\system\ado\msado15.dll" rename("EOF","adoEOF")>>, program link failed. It is said " void * __cdecl operator new(unsigned int,void *) " defined twice. What can I do?

thank you !
regards!