| 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?
|
Posted: Thu Sep 13, 2007 9:26 pm Post subject: how do i add an xpmanifest to my program(C++)? |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Thu Sep 13, 2007 9:31 pm Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 14, 2007 4:39 pm Post subject: |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Sep 14, 2007 5:02 pm Post subject: |
|
|
| no. |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 14, 2007 5:09 pm Post subject: |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Sep 14, 2007 5:10 pm Post subject: |
|
|
| google it |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 14, 2007 5:22 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Sep 14, 2007 5:23 pm Post subject: |
|
|
| 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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 14, 2007 5:43 pm Post subject: |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Sep 14, 2007 5:44 pm Post subject: |
|
|
| oib111 wrote: | | Aghhh, its grayed out. I did File>New Project>Win32>Win32 Console Application>Next>Next and then: |
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 14, 2007 6:34 pm Post subject: |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Sep 14, 2007 6:47 pm Post subject: |
|
|
windows form application is .NET
you want just a windows application |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 14, 2007 6:53 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Sep 14, 2007 11:29 pm Post subject: |
|
|
| 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 |
|
 |
|