#include #include #include #define AllocMemory(s) safe_AllocMemory((s), __FILE__, __LINE__) #define FreeMemory(p) safe_FreeMemory((p), __FILE__, __LINE__) #define ShowMemory() safe_ShowMemory(__FILE__, __LINE__) #define ClearMemory() safe_ClearMemory(__FILE__, __LINE__) void DisplayMsg(char *Msg); void *safe_AllocMemory(ULONG byteSize,char *File,ULONG Line); void safe_FreeMemory(void* ptr,char *File,ULONG Line); void safe_ShowMemory(char *File,ULONG Line); void safe_ClearMemory(char *File,ULONG Line); char *CopyBlock(FILE *file,char *Filechar,char *String, char *begin,char *end, char *MsgErrorBegin,char *MsgErrorEnd, char *MainFile); void Indent(FILE *file,int nb); void extract_dir( char * ); void extract_file( char* ,char* ); void add_extend( char *, char * ); void remove_extend( char * ); void change_extend( char *, char * ); char * LoadFileInRAM(char *,BOOL); BOOL CopyFile(char *FromFile,char *ToFile); char * GetCurrentDirectory(void);