Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionreading .pst file Pin
neha.agarwal2714-Sep-06 19:01
neha.agarwal2714-Sep-06 19:01 
AnswerRe: reading .pst file Pin
Christian Graus14-Sep-06 19:14
protectorChristian Graus14-Sep-06 19:14 
GeneralRe: reading .pst file Pin
neha.agarwal2714-Sep-06 19:46
neha.agarwal2714-Sep-06 19:46 
GeneralRe: reading .pst file Pin
Christian Graus14-Sep-06 20:06
protectorChristian Graus14-Sep-06 20:06 
GeneralRe: reading .pst file Pin
neha.agarwal2714-Sep-06 20:20
neha.agarwal2714-Sep-06 20:20 
GeneralRe: reading .pst file Pin
Christian Graus14-Sep-06 21:13
protectorChristian Graus14-Sep-06 21:13 
AnswerRe: reading .pst file Pin
Hamid_RT14-Sep-06 20:32
Hamid_RT14-Sep-06 20:32 
QuestionCDialogs in staticly-linked .libs? Pin
mdave14-Sep-06 18:34
mdave14-Sep-06 18:34 
I'm trying to move several CDialog-based classes to a common .lib file that will be statically linked.

I understand all the hoo-hah about resource handles when you're doing this with .dll's, but is there some magic dance I have to do to get dialogs to work when they're defined in a .lib?

My main program links to the lib just fine, but CDialog::DoModal() exits here:

if (lpDialogTemplate == NULL)
return -1;

What's more, when I open my executable file as resources in VS, the lib dialogs do not show up.

I know for a stone cold fact that this can be done, because I can statically link to external commercial libs like Stingray and get their dialogs to pop up. But I have studied that source code in vain for any clue as to why theirs works and mine doesn't.

Any suggestions?

AnswerRe: CDialogs in staticly-linked .libs? Pin
Naveen14-Sep-06 19:15
Naveen14-Sep-06 19:15 
GeneralRe: CDialogs in staticly-linked .libs? Pin
mdave15-Sep-06 6:01
mdave15-Sep-06 6:01 
AnswerRe: CDialogs in staticly-linked .libs? Pin
Steve S14-Sep-06 22:56
Steve S14-Sep-06 22:56 
QuestionCan wince support windows service? Pin
super_pointer14-Sep-06 17:12
super_pointer14-Sep-06 17:12 
QuestionPrecompiled headers? Pin
Lord Kixdemp14-Sep-06 14:41
Lord Kixdemp14-Sep-06 14:41 
AnswerRe: Precompiled headers? Pin
Christian Graus14-Sep-06 15:11
protectorChristian Graus14-Sep-06 15:11 
AnswerRe: Precompiled headers? Pin
Hamid_RT15-Sep-06 7:19
Hamid_RT15-Sep-06 7:19 
QuestionGDI issues Pin
Mark F.14-Sep-06 12:01
Mark F.14-Sep-06 12:01 
AnswerRe: GDI issues Pin
Christian Graus14-Sep-06 12:34
protectorChristian Graus14-Sep-06 12:34 
GeneralRe: GDI issues Pin
Mark F.14-Sep-06 16:26
Mark F.14-Sep-06 16:26 
GeneralRe: GDI issues Pin
Christian Graus14-Sep-06 19:13
protectorChristian Graus14-Sep-06 19:13 
GeneralRe: GDI issues Pin
Mark F.15-Sep-06 5:04
Mark F.15-Sep-06 5:04 
AnswerRe: GDI issues Pin
Jörgen Sigvardsson14-Sep-06 12:43
Jörgen Sigvardsson14-Sep-06 12:43 
GeneralRe: GDI issues Pin
Mark F.14-Sep-06 16:28
Mark F.14-Sep-06 16:28 
GeneralRe: GDI issues Pin
Hamid_RT14-Sep-06 20:26
Hamid_RT14-Sep-06 20:26 
GeneralRe: GDI issues Pin
Jörgen Sigvardsson14-Sep-06 21:47
Jörgen Sigvardsson14-Sep-06 21:47 
QuestionError while executing program Pin
SzyKam14-Sep-06 10:48
SzyKam14-Sep-06 10:48 

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.