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 do i add an xpmanifest to my program(C++)?

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

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Sep 13, 2007 9:26 pm    Post subject: how do i add an xpmanifest to my program(C++)? Reply with quote

How can I add an XPManifest to my C++ program, I have a feeling its different than adding a button or an editbox.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Sep 13, 2007 9:31 pm    Post subject: Reply with quote

with a resource file.

1. make your manifest
2. in your resource script
Code:

//...
#define APP_MANIFEST 1
#define RT_MANIFEST 24

APP_MANIFEST RT_MANIFEST "MyProgram.exe.manifest"
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 14, 2007 4:39 pm    Post subject: Reply with quote

thats its o.O is there anyway to make at runtime? like how you can make a button at runtime with createwindowex?

Code:

#define IDC_MAIN_BUTTON

//...

HWND hButton
//...
case WM_CREATE:
   hButton = CreateWindowEx(WS_EX_CLIENTEDGE,
                                           "Button",
                                           "OMG A BUTTON",
                                           WS_VISIBLE|
                                           WS_CHILD|
                                           BS_DEFPUSHBUTTON,
                                           55,
                                           90,
                                           84,
                                           24,
                                 hwnd,
                                 (HMENU)IDC_MAIN_BUTTON,
                                 GetModuleHandle(NULL),
                                 NULL);

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Sep 14, 2007 5:02 pm    Post subject: Reply with quote

no.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 14, 2007 5:09 pm    Post subject: Reply with quote

ok, btw appalsap, i know this sound super nooby, but how the fuck do i get to the window where ican select to make a dll file in visual studio 2005 express edition or w/e, cuz i tried every single thing and i couldn't get there, and i got there before, but now i cant figure out how to get there
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Sep 14, 2007 5:10 pm    Post subject: Reply with quote

google it
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 14, 2007 5:22 pm    Post subject: Reply with quote

no fair, i know you know how to do it, i saw a picture of you being there, why dont you just tell me, all it is like file>new>bla>bla>bla
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Sep 14, 2007 5:23 pm    Post subject: Reply with quote

oib111 wrote:
no fair, i know you know how to do it, i saw a picture of you being there, why dont you just tell me, all it is like file>new>bla>bla>bla


File -> New -> Project, Select Win32 Project from the menu, name the project and so on, click ok, when the Application Wizard appears, click application settings on the left side then choose DLL Project from the settings.
Back to top
View user's profile Send private message Visit poster's website
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 14, 2007 5:43 pm    Post subject: Reply with quote

Aghhh, its grayed out. I did File>New Project>Win32>Win32 Console Application>Next>Next and then:


_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Sep 14, 2007 5:44 pm    Post subject: Reply with quote

oib111 wrote:
Aghhh, its grayed out. I did File>New Project>Win32>Win32 Console Application>Next>Next and then:
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 14, 2007 6:34 pm    Post subject: Reply with quote

OK, so, shoudl I just do win32 form application? My friend says I nee full version to do dll? Is that true? wtf its registered o.o
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Sep 14, 2007 6:47 pm    Post subject: Reply with quote

windows form application is .NET Rolling Eyes

you want just a windows application
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 14, 2007 6:53 pm    Post subject: Reply with quote

lol, i just found it xP, it was there the whole time i just didn't read the readme file...
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Sep 14, 2007 11:29 pm    Post subject: Reply with quote

oib111 wrote:
lol, i just found it xP, it was there the whole time i just didn't read the readme file...


They are made for a reason lol.
Back to top
View user's profile Send private message Visit poster's website
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