Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Linking errors help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Wed Aug 13, 2008 1:54 pm    Post subject: Linking errors help Reply with quote

Hey,

well I copid out the "Decoder" project (the folder) from the TitanMS project and pasted it in my project folder and added these lines to my main-project file:
Code:
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Decoder", "Decoder\Decoder.vcproj", "{20BDE2C9-A4F8-4AED-843E-A9523990A201}"
EndProject


Now when I open my main-porject with VC++ both sub-porjects appear (main and decoder).
Now I wanted to use the decoder to encrypt a packet, so:
Code:
   #include "../Decoder/Decoder.h"

        ...
        ...
        ...

   Decoder* dec;
   dec = new Decoder;
   dec->encrypt((unsigned char *)packet, pos);

But I'm getting this error:
Code:
main.obj : error LNK2001: unresolved external symbol ""public: void __thiscall Decoder::encrypt(unsigned char *,int)" (?encrypt@Decoder@@QAEXPAEH@Z)".


Why? It works on TitanMS too..why doesn't it here?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites