Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I create and post a web page Pin
gordingin11-Jun-03 3:28
gordingin11-Jun-03 3:28 
Generalproblem using CDialog::Create, assert error Pin
Luis E. Cuadrado11-Jun-03 3:21
Luis E. Cuadrado11-Jun-03 3:21 
GeneralRe: problem using CDialog::Create, assert error Pin
Tim Smith11-Jun-03 3:36
Tim Smith11-Jun-03 3:36 
GeneralRe: problem using CDialog::Create, assert error Pin
David Crow11-Jun-03 3:44
David Crow11-Jun-03 3:44 
GeneralRe: problem using CDialog::Create, assert error Pin
Luis E. Cuadrado11-Jun-03 4:13
Luis E. Cuadrado11-Jun-03 4:13 
GeneralRe: problem using CDialog::Create, assert error Pin
David Crow11-Jun-03 4:33
David Crow11-Jun-03 4:33 
GeneralRe: problem using CDialog::Create, assert error Pin
Luis E. Cuadrado11-Jun-03 4:56
Luis E. Cuadrado11-Jun-03 4:56 
GeneralRe: problem using CDialog::Create, assert error Pin
Ryan Binns11-Jun-03 5:03
Ryan Binns11-Jun-03 5:03 
Simple. In order to use MFC you must initialise it first.
if(!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
{
    // MFC failed to initialise properly
    return 1;
}

Then your MFC operations will work as normal Smile | :) . You don't need to call any cleanup functions at the end.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralSHChangeNotifyRegister Questions!!! Pin
zmnie11-Jun-03 2:58
zmnie11-Jun-03 2:58 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
David Crow11-Jun-03 3:34
David Crow11-Jun-03 3:34 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
zmnie11-Jun-03 4:30
zmnie11-Jun-03 4:30 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
David Crow11-Jun-03 4:42
David Crow11-Jun-03 4:42 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
zmnie11-Jun-03 4:48
zmnie11-Jun-03 4:48 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
zmnie11-Jun-03 4:53
zmnie11-Jun-03 4:53 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
David Crow11-Jun-03 5:07
David Crow11-Jun-03 5:07 
GeneralRe: SHChangeNotifyRegister Questions!!! Pin
zmnie11-Jun-03 5:28
zmnie11-Jun-03 5:28 
GeneralParser help Pin
Anonymous11-Jun-03 2:57
Anonymous11-Jun-03 2:57 
Questionhow to add icon to system imagelist? Pin
zmnie11-Jun-03 2:51
zmnie11-Jun-03 2:51 
GeneralI don't want MAK file Pin
harinath11-Jun-03 2:12
professionalharinath11-Jun-03 2:12 
GeneralRe: I don't want MAK file Pin
basementman11-Jun-03 4:02
basementman11-Jun-03 4:02 
GeneralRe: I don't want MAK file Pin
John M. Drescher11-Jun-03 4:13
John M. Drescher11-Jun-03 4:13 
GeneralRe: I don't want MAK file Pin
Anonymous11-Jun-03 7:37
Anonymous11-Jun-03 7:37 
Generalabout typedef Pin
FlyingDancer11-Jun-03 2:11
FlyingDancer11-Jun-03 2:11 
GeneralRe: about typedef Pin
FlyingDancer11-Jun-03 2:22
FlyingDancer11-Jun-03 2:22 
GeneralRe: about typedef Pin
David Crow11-Jun-03 2:23
David Crow11-Jun-03 2:23 

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.