Click here to Skip to main content
16,012,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Custom Controls in VC++ .NET Pin
Rick York20-Jul-05 18:14
mveRick York20-Jul-05 18:14 
GeneralTroubles during the creation of a dll Pin
Sunsawe20-Jul-05 12:35
Sunsawe20-Jul-05 12:35 
GeneralRe: Troubles during the creation of a dll Pin
racenjason20-Jul-05 12:44
professionalracenjason20-Jul-05 12:44 
GeneralRe: Troubles during the creation of a dll Pin
Sunsawe20-Jul-05 22:51
Sunsawe20-Jul-05 22:51 
Generalstudent's distribution probability function Pin
racenjason20-Jul-05 12:23
professionalracenjason20-Jul-05 12:23 
Generalc2146 error missing ";" before identifier HwndMSWheel Pin
PapermillBill20-Jul-05 10:02
PapermillBill20-Jul-05 10:02 
GeneralRe: c2146 error missing ";" before identifier HwndMSWheel Pin
Michael Dunn20-Jul-05 10:35
sitebuilderMichael Dunn20-Jul-05 10:35 
GeneralRe: c2146 error missing ";" before identifier HwndMSWheel Pin
PapermillBill20-Jul-05 10:51
PapermillBill20-Jul-05 10:51 
It is a GUI app, but the only include is #include <afxwin.h>. Since it is a short piece of code, I'll paste it here.

// EX13_01.CPP
// An elementary MFC program

#include <afxwin.h> // For the class library
//#include "stdafx.h"

// Application class definition

class COurApp:public CWinApp
{
public:
virtual BOOL InitInstance();
};

//Window class definition
class COurWnd:public CFrameWnd
{
public:
// Class constructor
COurWnd()
{
Create(o, "Our Dumb MFC Application");
}
};

// Function to create an instance of the main window
BOOL COurApp::InitInstance(void)
{
// Construct a window object in the free store
m_pMainWnd = new COurWnd;
m_pMainWnd->ShowWindow(m_nCmdShow); // .. and display it
return TRUE;
}

// Application object definition at global scope

COurApp AnApplication; // Define an application object
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
BlackDice20-Jul-05 11:16
BlackDice20-Jul-05 11:16 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
Christian Graus20-Jul-05 12:05
protectorChristian Graus20-Jul-05 12:05 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
David Crow21-Jul-05 2:53
David Crow21-Jul-05 2:53 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
PapermillBill21-Jul-05 8:23
PapermillBill21-Jul-05 8:23 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
Christian Graus20-Jul-05 12:06
protectorChristian Graus20-Jul-05 12:06 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
PapermillBill21-Jul-05 8:32
PapermillBill21-Jul-05 8:32 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
Christian Graus21-Jul-05 13:31
protectorChristian Graus21-Jul-05 13:31 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
PapermillBill22-Jul-05 3:55
PapermillBill22-Jul-05 3:55 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
Christian Graus22-Jul-05 11:54
protectorChristian Graus22-Jul-05 11:54 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
PapermillBill25-Jul-05 3:02
PapermillBill25-Jul-05 3:02 
GeneralRe: c2146 error missing &quot;;&quot; before identifier HwndMSWheel Pin
Christian Graus25-Jul-05 13:51
protectorChristian Graus25-Jul-05 13:51 
GeneralModeless dialog error Pin
TEOlivier20-Jul-05 9:47
TEOlivier20-Jul-05 9:47 
GeneralRe: Modeless dialog error Pin
David Crow20-Jul-05 10:22
David Crow20-Jul-05 10:22 
GeneralRe: Modeless dialog error Pin
wicked_guy20-Jul-05 22:27
wicked_guy20-Jul-05 22:27 
Generaltype confusion with _bstr_t Pin
LCI20-Jul-05 9:37
LCI20-Jul-05 9:37 
GeneralRe: type confusion with _bstr_t Pin
LCI20-Jul-05 9:58
LCI20-Jul-05 9:58 
GeneralRe: type confusion with _bstr_t Pin
Michael Dunn20-Jul-05 10:42
sitebuilderMichael Dunn20-Jul-05 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.