Click here to Skip to main content
15,913,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
David Crow17-Sep-07 10:03
David Crow17-Sep-07 10:03 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 13:04
Californian217-Sep-07 13:04 
AnswerRe: CSpinButtonCtrl and WM_VSCROLL Pin
Mark Salsbery17-Sep-07 8:38
Mark Salsbery17-Sep-07 8:38 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Californian217-Sep-07 8:55
Californian217-Sep-07 8:55 
GeneralRe: CSpinButtonCtrl and WM_VSCROLL Pin
Mark Salsbery17-Sep-07 9:10
Mark Salsbery17-Sep-07 9:10 
QuestionVS2005 assertion when DoModal called from DLL Pin
Russell Gantman17-Sep-07 5:57
Russell Gantman17-Sep-07 5:57 
AnswerRe: VS2005 assertion when DoModal called from DLL Pin
Mark Salsbery17-Sep-07 8:48
Mark Salsbery17-Sep-07 8:48 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Russell Gantman17-Sep-07 10:57
Russell Gantman17-Sep-07 10:57 
Mark Salsbery wrote:
So you're linking the DLL to the static MFC library and linking the app to the static MFC library, right?


That is correct


Mark Salsbery wrote:
In that case, you can't pass any MFC class (or derived) objects between the app
and the DLL.


I follow that rule also


Mark Salsbery wrote:
Also, you need to make sure you initialize MFC for the DLL, and follow the rules
described here: Regular DLLs Statically Linked to MFC[^]


The DLL I am linking to is an MFC DLL (MFC app statically linking to MFC DLL), do I need to follow the same rules (deriving from a CWinApp) in this case?

I have a small project where I was able to reproduce the issue I would be willing to share


I skate to where the puck is going to be, not where it is.
Wayne Gretzky

GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Mark Salsbery17-Sep-07 13:07
Mark Salsbery17-Sep-07 13:07 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Russell Gantman18-Sep-07 9:00
Russell Gantman18-Sep-07 9:00 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Mark Salsbery18-Sep-07 9:34
Mark Salsbery18-Sep-07 9:34 
GeneralRe: VS2005 assertion when DoModal called from DLL Pin
Russell Gantman20-Sep-07 7:33
Russell Gantman20-Sep-07 7:33 
QuestionMigration of a VCPP program to Windows Vista Pin
kchatterjee17-Sep-07 5:04
kchatterjee17-Sep-07 5:04 
AnswerRe: Migration of a VCPP program to Windows Vista Pin
David Crow17-Sep-07 5:50
David Crow17-Sep-07 5:50 
GeneralRe: Migration of a VCPP program to Windows Vista Pin
jhwurmbach17-Sep-07 6:12
jhwurmbach17-Sep-07 6:12 
Questionchoosing Threads Pin
Gofur Halmurat17-Sep-07 4:35
Gofur Halmurat17-Sep-07 4:35 
AnswerRe: choosing Threads Pin
DevMentor.org17-Sep-07 4:38
DevMentor.org17-Sep-07 4:38 
GeneralRe: choosing Threads Pin
Gofur Halmurat17-Sep-07 6:02
Gofur Halmurat17-Sep-07 6:02 
GeneralRe: choosing Threads Pin
DevMentor.org17-Sep-07 6:33
DevMentor.org17-Sep-07 6:33 
AnswerRe: choosing Threads Pin
jhwurmbach17-Sep-07 4:39
jhwurmbach17-Sep-07 4:39 
AnswerRe: choosing Threads Pin
Nemanja Trifunovic17-Sep-07 4:45
Nemanja Trifunovic17-Sep-07 4:45 
AnswerRe: choosing Threads Pin
El Corazon17-Sep-07 6:30
El Corazon17-Sep-07 6:30 
QuestionWindows / Container like application Pin
Programm3r17-Sep-07 4:19
Programm3r17-Sep-07 4:19 
AnswerRe: Windows / Container like application Pin
Iain Clarke, Warrior Programmer17-Sep-07 4:28
Iain Clarke, Warrior Programmer17-Sep-07 4:28 
QuestionRe: Windows / Container like application Pin
Programm3r17-Sep-07 4:59
Programm3r17-Sep-07 4:59 

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.