Click here to Skip to main content
16,015,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Static variable Pin
David Crow23-Jul-08 5:04
David Crow23-Jul-08 5:04 
AnswerRe: Static variable Pin
AnithaSubramani23-Jul-08 5:34
AnithaSubramani23-Jul-08 5:34 
AnswerRe: Static variable Pin
Mark Salsbery23-Jul-08 6:26
Mark Salsbery23-Jul-08 6:26 
GeneralRe: Static variable Pin
David Crow23-Jul-08 6:28
David Crow23-Jul-08 6:28 
Question64bit PKWare Compatible Compression Library Pin
Steve Thresher23-Jul-08 4:40
Steve Thresher23-Jul-08 4:40 
QuestionUsing Static Lib For Creating the MFC Controls Pin
lavate malllik23-Jul-08 4:29
lavate malllik23-Jul-08 4:29 
AnswerRe: Using Static Lib For Creating the MFC Controls Pin
Mark Salsbery23-Jul-08 6:30
Mark Salsbery23-Jul-08 6:30 
GeneralRe: Using Static Lib For Creating the MFC Controls Pin
lavate malllik23-Jul-08 18:49
lavate malllik23-Jul-08 18:49 
Hi,
I have created the Win32 Static Library which has MFC Support and Using Precompiled Header
(This LIB has been created by selecting Win32 Static Library from MFC Project Option )
I have added one class to library which is derived from CWnd, In Derived Class i have overriden the
Create()method to create the window.

At Application side
I have MFC SDI application which has multiple splitters where each pane of splitter corrsoponds to one class.
One of the class wants to create the window using the LIB that i have created.
when i give call to the Create from application side it is giving assertion on
ASSERT(afxCurrentInstanceHandle != NULL)

To Test LIB,i have tried for following things
I have created the TestApp using MFC SDI and while generating the Application CTestView is derived from the CFormView.
here call to Create of LIB is working fine.
Questiondecimal separator Pin
jeremie.delaitre23-Jul-08 4:04
jeremie.delaitre23-Jul-08 4:04 
AnswerRe: decimal separator Pin
led mike23-Jul-08 4:36
led mike23-Jul-08 4:36 
GeneralRe: decimal separator Pin
jeremie.delaitre23-Jul-08 4:54
jeremie.delaitre23-Jul-08 4:54 
GeneralRe: decimal separator Pin
led mike23-Jul-08 5:58
led mike23-Jul-08 5:58 
QuestionTrackMouse Event Pin
bhanu_850923-Jul-08 3:06
bhanu_850923-Jul-08 3:06 
AnswerRe: TrackMouse Event Pin
enhzflep23-Jul-08 6:00
enhzflep23-Jul-08 6:00 
QuestionHow to handle New Vertical Tab of Window Menu in VS2005 Pin
am 200923-Jul-08 3:06
am 200923-Jul-08 3:06 
QuestionCString Find Pin
Preethi_12323-Jul-08 3:04
Preethi_12323-Jul-08 3:04 
AnswerRe: CString Find Pin
am 200923-Jul-08 3:08
am 200923-Jul-08 3:08 
GeneralRe: CString Find Pin
Preethi_12323-Jul-08 3:23
Preethi_12323-Jul-08 3:23 
AnswerRe: CString Find Pin
Rajesh R Subramanian23-Jul-08 3:16
professionalRajesh R Subramanian23-Jul-08 3:16 
GeneralRe: CString Find Pin
Preethi_12323-Jul-08 3:21
Preethi_12323-Jul-08 3:21 
QuestionCreating dynamic CStatic control without Dialog in VC++ Pin
Member 437038523-Jul-08 3:04
Member 437038523-Jul-08 3:04 
AnswerRe: Creating dynamic CStatic control without Dialog in VC++ Pin
Cedric Moonen23-Jul-08 3:26
Cedric Moonen23-Jul-08 3:26 
QuestionRe: Creating dynamic CStatic control without Dialog in VC++ Pin
David Crow23-Jul-08 3:29
David Crow23-Jul-08 3:29 
AnswerRe: Creating dynamic CStatic control without Dialog in VC++ Pin
CPallini23-Jul-08 7:00
mveCPallini23-Jul-08 7:00 
Questionxml reading using vc++ Pin
V K 223-Jul-08 2:54
V K 223-Jul-08 2: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.