Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Compile error
Compile error [message #114473] Mon, 13 September 2004 22:37 Go to previous messageGo to previous message
weetbix is currently offline  weetbix
Messages: 16
Registered: May 2003
Karma:
Recruit
The problem occurs because it's finding two instances of ConsoleCommand in the whole project, one in AOW.cpp and the other in dllmain.cpp.

The way I solved this problem was to comment out the instance in dllmain and add the following to the top of the dllmain.cpp file.

#include "AOW.h"


However for this to work properly you have to make sure the following code is in AOW.h

void ConsoleCommand(char *msg);


WOL: - davrulezz
- dkracing0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Renegade Alert: Soviet Mammoth Tank; Camos Crossing.
Next Topic: Moderator - go ahead and lock this thread, just info.
Goto Forum:
  


Current Time: Mon Nov 11 20:31:10 MST 2024

Total time taken to generate the page: 0.00884 seconds