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 


how to make it so program will work

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

Joined: 22 May 2007
Posts: 2220

PostPosted: Mon Aug 25, 2008 9:14 pm    Post subject: how to make it so program will work Reply with quote

How do I make it so that I can send the program to other people? for instance, when I click debug it runs the program right? how can I get it into a .exe format and have it as an actual application on my desktop?
Back to top
View user's profile Send private message Visit poster's website
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Mon Aug 25, 2008 9:41 pm    Post subject: Reply with quote

Hmm. Usually if you compile it as "RELEASE" - so that you can "RELEASE" it. The program is usually in the "RELEASE" folder of your project.
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Tue Aug 26, 2008 2:36 am    Post subject: Reply with quote

on VB6 its
File -> Build Filename.exe
on VC++6 its
Build-> Build All -> Build

do Build-> Clean everytime you edit something what clean does is just delete old files so it could overwrite em with new ones

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Aug 26, 2008 2:46 am    Post subject: Reply with quote

You have to statically link the runtime... or be cool and just not use it.
Back to top
View user's profile Send private message
TeNsIOn
Advanced Cheater
Reputation: 0

Joined: 10 Jun 2008
Posts: 66

PostPosted: Mon Sep 01, 2008 4:08 pm    Post subject: Reply with quote

2085 posts yet you don't know how to build a program???? Shocked
_________________
Respect List

- DarkByte
- x0r
- Wiccaan
_________________
My Projects
_________________
- Combat Arms D3D Hook (Just need a bypass)
- Maple Story Trainer
- WarRock D3D Hook (needs bypass)
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Mon Sep 01, 2008 8:35 pm    Post subject: Reply with quote

lol @TeNsIOn: so true

@zand by just changing it to a Release build will not remove problems with code.. nor make it compatible with older operating systems..

make it work on older OS's requires knowledges of Older OS's API and use of API and a VeryNice GetVersionInfo(Ex) API that retrieves the Version of Windows or Other OS's(Apple is one i think it look for and some other(maybe unixtype variants..))..suffice to this add a slight layer of complexity to all code but its worth doing it once or twice to get the hang of it Smile
but code ends up looking like in true end:
If(9Cool
code
if(nt)
code
if(2k)
code

so give it a try also remove the Option IN VC++ to Optimize For Windows 98! its not good for code :]
Back to top
View user's profile Send private message MSN Messenger
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Tue Sep 02, 2008 1:30 pm    Post subject: Reply with quote

However, BanMe, if you use APIs specific to newer OS version in your version-dependant code (say, under if(nt) in your psuedocode), you have to load the libraries dynamically and use function pointers (LoadLibrary and GetProcAddress), otherwise the functions are just imported and you will get missing library/import not found in library errors at runtime on older OSes.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Negima
I post too much
Reputation: 6

Joined: 22 May 2007
Posts: 2220

PostPosted: Wed Sep 03, 2008 6:30 pm    Post subject: Reply with quote

I ask because i never released a program of mine to the public until recently. Also, post count has nothing to do with knowledge.
Back to top
View user's profile Send private message Visit poster's website
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Wed Sep 03, 2008 6:59 pm    Post subject: Reply with quote

well that is a valid point in that using other OS version API would cause program errors...
thats why I put it upon the OP to provide version specific safe code.. (hoping he knew enough to actuactly get a working model going)..

so all in all that is a good pointer to use GetProcAddress LoadLibrary

but simpler way is to just IMPORT The API in a Control block Wink
Code:

If(NT)
NTSYSAPI NTSTATUS NTAPI NameOfAPI(Param1,Param2,...);

another good pointer would be to have somewhat decent documentation of all the older OS's on hand ;]IE the SDK's and the DDK's or WDF...

as they provide invaluable tips and usage samples ...
Back to top
View user's profile Send private message MSN Messenger
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