Click here to Skip to main content
16,009,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCapturing the LogOff Event Pin
Eytukan8-Mar-06 2:57
Eytukan8-Mar-06 2:57 
AnswerRe: Capturing the LogOff Event Pin
James R. Twine8-Mar-06 3:30
James R. Twine8-Mar-06 3:30 
GeneralRe: Capturing the LogOff Event Pin
Eytukan8-Mar-06 3:36
Eytukan8-Mar-06 3:36 
QuestionNeed some help! Pin
munsiyari8-Mar-06 2:12
munsiyari8-Mar-06 2:12 
AnswerRe: Need some help! Pin
David Crow8-Mar-06 2:24
David Crow8-Mar-06 2:24 
AnswerRe: Need some help! Pin
Hamid_RT8-Mar-06 2:48
Hamid_RT8-Mar-06 2:48 
GeneralRe: Need some help! Pin
munsiyari8-Mar-06 3:05
munsiyari8-Mar-06 3:05 
QuestionAFX_ISOLATIONAWARE_FUNC crash Pin
Rob Caldecott8-Mar-06 1:38
Rob Caldecott8-Mar-06 1:38 
I have a legacy MFC app that has recently been ported to VS 2005. Debug mode works fine, but release mode crashes on startup. I traced the code to a CImageList::Load method - which, in VS2005, now calls the following code:

AFX_ISOLATIONAWARE_FUNC(HIMAGELIST, ImageList_LoadImageW, (HINSTANCE hi,LPCWSTR lpbmp,int cx,int cGrow,COLORREF crMask,UINT uType,UINT uFlags), (hi,lpbmp,cx,cGrow,crMask,uType,uFlags),NULL)


This code is crashing (somewhere in the AFX_ISOLATIONAWARE_FUNC macro) and I have no ideas why. At first I thought the resource handle may be wrong, but if I call ImageList_LoadImageW directly, it works fine and returns a valid handle.

Anyone have any clues at all? There is no mention of this new macro anywhere I can find.


The Rob Blog
Google Talk: robert.caldecott
AnswerRe: AFX_ISOLATIONAWARE_FUNC crash Pin
Nibu babu thomas8-Mar-06 17:19
Nibu babu thomas8-Mar-06 17:19 
AnswerSolution: Struct member alignment Pin
Rob Caldecott8-Mar-06 21:11
Rob Caldecott8-Mar-06 21:11 
AnswerAnother Solution ... Pin
barneyman4-Dec-11 17:35
barneyman4-Dec-11 17:35 
QuestionWaveForm Display of Data Pin
kmsekhar8-Mar-06 0:28
kmsekhar8-Mar-06 0:28 
AnswerRe: WaveForm Display of Data Pin
jhwurmbach8-Mar-06 2:25
jhwurmbach8-Mar-06 2:25 
QuestionForbit MRU Updation Pin
Farhat Aisha7-Mar-06 23:42
Farhat Aisha7-Mar-06 23:42 
AnswerRe: Forbit MRU Updation Pin
Malli_S8-Mar-06 0:02
Malli_S8-Mar-06 0:02 
GeneralRe: Forbit MRU Updation Pin
Farhat Aisha8-Mar-06 0:25
Farhat Aisha8-Mar-06 0:25 
GeneralRe: Forbit MRU Updation Pin
Malli_S8-Mar-06 0:37
Malli_S8-Mar-06 0:37 
QuestionShell Executing From VC++ Pin
Malli_S7-Mar-06 23:40
Malli_S7-Mar-06 23:40 
AnswerRe: Shell Executing From VC++ Pin
Nibu babu thomas7-Mar-06 23:58
Nibu babu thomas7-Mar-06 23:58 
GeneralRe: Shell Executing From VC++ Pin
Malli_S8-Mar-06 0:25
Malli_S8-Mar-06 0:25 
AnswerRe: Shell Executing From VC++ Pin
David Crow8-Mar-06 2:26
David Crow8-Mar-06 2:26 
QuestionProcess hirarchy Pin
Aqueel7-Mar-06 23:40
Aqueel7-Mar-06 23:40 
AnswerRe: Process hirarchy Pin
Nibu babu thomas8-Mar-06 0:36
Nibu babu thomas8-Mar-06 0:36 
AnswerRe: Process hirarchy Pin
Aqueel8-Mar-06 1:06
Aqueel8-Mar-06 1:06 
GeneralRe: Process hirarchy Pin
Nibu babu thomas8-Mar-06 1:15
Nibu babu thomas8-Mar-06 1:15 

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.