Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreateFile, ReadFile and Writhe file thread Pin
Bogdan Markovic29-Aug-11 3:28
Bogdan Markovic29-Aug-11 3:28 
AnswerRe: CreateFile, ReadFile and Writhe file thread Pin
Malli_S29-Aug-11 4:10
Malli_S29-Aug-11 4:10 
QuestionPorting MFC Application [modified] Pin
pix_programmer28-Aug-11 23:06
pix_programmer28-Aug-11 23:06 
AnswerRe: Porting MFC Application Pin
Sarath C28-Aug-11 23:51
Sarath C28-Aug-11 23:51 
QuestionRe: Porting MFC Application Pin
pix_programmer29-Aug-11 0:20
pix_programmer29-Aug-11 0:20 
AnswerRe: Porting MFC Application Pin
Albert Holguin29-Aug-11 5:02
professionalAlbert Holguin29-Aug-11 5:02 
AnswerRe: Porting MFC Application Pin
Rolf Kristensen29-Aug-11 8:53
Rolf Kristensen29-Aug-11 8:53 
QuestionRe: Porting MFC Application [modified] Pin
pix_programmer29-Aug-11 18:25
pix_programmer29-Aug-11 18:25 
AnswerRe: Porting MFC Application Pin
Rolf Kristensen29-Aug-11 20:20
Rolf Kristensen29-Aug-11 20:20 
QuestionWriting multiple files simultaneously inside the loop Pin
VCProgrammer28-Aug-11 19:38
VCProgrammer28-Aug-11 19:38 
AnswerRe: Writing multiple files simultaneously inside the loop Pin
Sarath C28-Aug-11 23:53
Sarath C28-Aug-11 23:53 
AnswerRe: Writing multiple files simultaneously inside the loop Pin
Code-o-mat28-Aug-11 23:58
Code-o-mat28-Aug-11 23:58 
AnswerRe: Writing multiple files simultaneously inside the loop Pin
Rolf Kristensen29-Aug-11 8:52
Rolf Kristensen29-Aug-11 8:52 
QuestionCode changes req. to improve 64 bit application performance Pin
am 200928-Aug-11 18:22
am 200928-Aug-11 18:22 
AnswerRe: Code changes req. to improve 64 bit application performance Pin
Rolf Kristensen28-Aug-11 20:30
Rolf Kristensen28-Aug-11 20:30 
AnswerRe: Code changes req. to improve 64 bit application performance Pin
MicroVirus29-Aug-11 1:33
MicroVirus29-Aug-11 1:33 
QuestionManifest in resource script? Pin
Groulien28-Aug-11 9:57
Groulien28-Aug-11 9:57 
I was messing around with resource files and such in C#.
I found out that with a Compiled Resource Script you can add multiple icons to your applications.
Then I found out that a manifest file allows you to force it to be run as admin.
But a choice has to be made between the two (in c#).

I came to the conclusion that the Compiled Resource Script must contain a manifest.(if this is faulty, please correct me.)
I took a quick look into Resource Scripts (RC) C++ and saw something of a structure.

IDI_ICON1 ICON "file.ico"
IDB_BITMAP1 BITMAP "file.bmp"

Taking a peek in the Resource.h file that was generated I noticed the definition for IDI_ICON1, same goes for IDB_BITMAP1. ICON and BITMAP seem keywords for the Resource Compiler (can't find their definitions in #includes).
But what if I want to add a manifest?
IDM_MAN MANIFEST "file.manifest"
ends up with a folder called "Manifest" (including quotes, which does not happen with ICON and BITMAP).
I've seen MSDN saying that a manifest can be to an existing (post-compile) binary file, but can it be done with Resource Script, compiled with RC.exe?
The first rule of CListCtrl is you do not talk about CListCtrl - kornman

AnswerRe: Manifest in resource script? Pin
David Magnotti28-Aug-11 13:34
David Magnotti28-Aug-11 13:34 
AnswerRe: Manifest in resource script? Pin
David Crow29-Aug-11 4:26
David Crow29-Aug-11 4:26 
AnswerRe: Manifest in resource script? Pin
i007-Jan-13 14:20
i007-Jan-13 14:20 
QuestionMDI child windows behaviuor like VC6 editor Pin
_Flaviu26-Aug-11 23:03
_Flaviu26-Aug-11 23:03 
QuestionAll window handle from point Pin
Member 296547126-Aug-11 8:06
Member 296547126-Aug-11 8:06 
AnswerRe: All window handle from point Pin
Charles Oppermann26-Aug-11 10:24
Charles Oppermann26-Aug-11 10:24 
AnswerRe: All window handle from point Pin
«_Superman_»27-Aug-11 13:45
professional«_Superman_»27-Aug-11 13:45 
AnswerRe: All window handle from point Pin
Code-o-mat28-Aug-11 21:54
Code-o-mat28-Aug-11 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.