Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:44

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: steam pwd error with dev c++
PostPosted: 14 Jul 2008 13:05 

Joined: 14 Jul 2008 12:36
Posts: 2
Hello,

I was trying to compile your source code in Dev-C++. There were many errors (most convert errors from u8* to char*). Now I changed the code a little bit. The compiling works, but the .exe didn't works. Can you help me please?

Here is a Screenshot of the executed Dev-C++-project:
Link

The ProductID, MachineGuid, HalfLife io and result key are the same in the original and in the Dev-C++-project if I start the .exe-files.

Please help me, I am not so good in C++. :)

Sorry for my bad english, I am from Austria.


Attachments:
File comment: The Complete Dev-C++ Project.
SteamTest3.zip [70.95 KiB]
Downloaded 163 times
Top
 Profile  
 
 
 Post subject:
PostPosted: 14 Jul 2008 14:32 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
uhmmm I have some ideas to try although this is really strange (devc++ uses gcc if I'm not in error).
use unsigned char instead of char, in fact seems a not so important change but not for some compilers, an example is Lcc

anyway I think that what you received were only warnings and not errors.
warnings must be just ignored.


Top
 Profile  
 
 Post subject:
PostPosted: 15 Jul 2008 10:43 

Joined: 14 Jul 2008 12:36
Posts: 2
aluigi wrote:
uhmmm I have some ideas to try although this is really strange (devc++ uses gcc if I'm not in error).
use unsigned char instead of char, in fact seems a not so important change but not for some compilers, an example is Lcc

anyway I think that what you received were only warnings and not errors.
warnings must be just ignored.


I Tried to uint8_t to unsigned char, but it didn't works.
Which compiler do you use, aluigi?


Attachments:
080715_SteamTest3.zip [70.48 KiB]
Downloaded 151 times
Top
 Profile  
 
 Post subject:
PostPosted: 15 Jul 2008 14:25 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I use Mingw (the porting of gcc 4.x on Windows)


Top
 Profile  
 
 Post subject:
PostPosted: 16 Jul 2008 05:37 

Joined: 16 Aug 2007 06:25
Posts: 367
I normally use the command line gcc in Ubuntu (with the build-essentials package installed) to compile Luigi's source code when I need to. Not sure if it would make a difference, but you can try the command line compiling on windows:

cd c:\dev-cpp\bin\
gcc "c:\key2pb\key2pb.c" -o key2pb.exe

... ^ might be an example of how it could be done.

But most likely it will output the same errors, but it wouldn't hurt to try. Sorry I couldn't be of more help, I'm pretty noob when it comes to C programming myself.


Top
 Profile  
 
 Post subject:
PostPosted: 16 Aug 2008 19:54 

Joined: 16 Aug 2008 16:43
Posts: 3
Ive got the same problem.
Any fixes?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC [ DST ]


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 post attachments in this forum

Search for: