Click here to Skip to main content
15,888,212 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can i store output from createprocess() function in an array Pin
WindowsVsLinux10-Oct-09 5:39
WindowsVsLinux10-Oct-09 5:39 
GeneralRe: Can i store output from createprocess() function in an array Pin
Richard MacCutchan10-Oct-09 21:20
mveRichard MacCutchan10-Oct-09 21:20 
QuestionBmp's in Dialogs under Vista Pin
Bram van Kampen6-Oct-09 14:05
Bram van Kampen6-Oct-09 14:05 
AnswerRe: Bmp's in Dialogs under Vista Pin
PJ Arends6-Oct-09 14:41
professionalPJ Arends6-Oct-09 14:41 
GeneralRe: Bmp's in Dialogs under Vista Pin
Bram van Kampen7-Oct-09 15:10
Bram van Kampen7-Oct-09 15:10 
QuestionCMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga6-Oct-09 10:57
f.fuga6-Oct-09 10:57 
AnswerRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
«_Superman_»6-Oct-09 12:14
professional«_Superman_»6-Oct-09 12:14 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga6-Oct-09 20:23
f.fuga6-Oct-09 20:23 
«_Superman_» wrote:
You do not need to perform the check -
if (m_strClassName.IsEmpty())



Hi _Superman_, thank you for your response.
Yes, I know that check is useless, but it's not my code: as you can see, it's the source code of the CMFCPropertyGridCtrl class, in the Visual Studio 2008 MFC Feature Pack.
I should try to remove that check -- m_strClassName is a static member, so it's shared between DLL and EXE; maybe the registration of the control depends on the hInstance of the module calling the Create() function, so it's failing on the second call because it has been registered from another instance.
But this requires to recompile all the MFC / feature pack...?
Note that calling Create() from a third DLL do not solve the issue.

Thank you again
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
«_Superman_»7-Oct-09 7:07
professional«_Superman_»7-Oct-09 7:07 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga7-Oct-09 9:46
f.fuga7-Oct-09 9:46 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
«_Superman_»7-Oct-09 10:43
professional«_Superman_»7-Oct-09 10:43 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga7-Oct-09 23:41
f.fuga7-Oct-09 23:41 
AnswerRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
Oza Priyanka4-Apr-18 6:35
Oza Priyanka4-Apr-18 6:35 
QuestionCStdioFile::ReadString() Method. Pin
Chris Meech6-Oct-09 9:43
Chris Meech6-Oct-09 9:43 
AnswerRe: CStdioFile::ReadString() Method. Pin
PJ Arends6-Oct-09 10:36
professionalPJ Arends6-Oct-09 10:36 
GeneralRe: CStdioFile::ReadString() Method. Pin
Chris Meech7-Oct-09 2:09
Chris Meech7-Oct-09 2:09 
QuestionCreateCompatibleBitmap() retuns 0 , and GetLastError returns 8 , what does error code 8 means? Pin
rambojanggoon6-Oct-09 8:58
rambojanggoon6-Oct-09 8:58 
AnswerRe: CreateCompatibleBitmap() retuns 0 , and GetLastError returns 8 , what does error code 8 means? Pin
CPallini6-Oct-09 9:49
mveCPallini6-Oct-09 9:49 
AnswerRe: CreateCompatibleBitmap() retuns 0 , and GetLastError returns 8 , what does error code 8 means? Pin
«_Superman_»6-Oct-09 12:21
professional«_Superman_»6-Oct-09 12:21 
Questionto change cricheditctrl's window border Pin
prithaa6-Oct-09 8:34
prithaa6-Oct-09 8:34 
AnswerRe: to change cricheditctrl's window border Pin
«_Superman_»6-Oct-09 10:53
professional«_Superman_»6-Oct-09 10:53 
GeneralRe: to change cricheditctrl's window border Pin
PJ Arends6-Oct-09 11:58
professionalPJ Arends6-Oct-09 11:58 
GeneralRe: to change cricheditctrl's window border Pin
prithaa7-Oct-09 0:25
prithaa7-Oct-09 0:25 
QuestionProperty sheet-based app has icon problems Pin
rfparker6-Oct-09 8:03
rfparker6-Oct-09 8:03 
AnswerRe: Property sheet-based app has icon problems Pin
PJ Arends6-Oct-09 10:42
professionalPJ Arends6-Oct-09 10:42 

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.