I am trying to create a basic .dll that I will slowly expand into a gui. The problem is I keep getting unresolved external link errors. To fix one, I include the gui interface .cpp in the project, which creates other errors, which would cascade into including all .cpp files in rts. Is there a way to avoid this? Is there an rts library that I need to include?
For most of my work here, I've been trying to copy what was done with the AI dll interface, so I hope you AI guys can help me. Thank you all.
.dll project help. include rts project files?
Moderator: Moderators
The AI interface is not a reliable system to copy.
If anything you should create a new one for us to base a new AI interface off of.
Defining an interface class and then including the header files for the objects passed across should do the trick, using "class x;" rather than including the header if its needed but not used.
If anything you should create a new one for us to base a new AI interface off of.
Defining an interface class and then including the header files for the objects passed across should do the trick, using "class x;" rather than including the header if its needed but not used.
Last edited by AF on 06 Jul 2006, 12:15, edited 1 time in total.
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
well known fact coders hate typing documentation & typing skills
not like u need to type fast to code. i.e type bit of code check for syntax errors & works. then type next bit of code etc etc
not like u need to type fast to code. i.e type bit of code check for syntax errors & works. then type next bit of code etc etc
Last edited by hollowsoul on 06 Jul 2006, 15:36, edited 1 time in total.