Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralActiveX control repaint Pin
billhao25-Nov-02 13:14
billhao25-Nov-02 13:14 
GeneralRe: ActiveX control repaint Pin
Roger Allen26-Nov-02 1:45
Roger Allen26-Nov-02 1:45 
GeneralRe: ActiveX control repaint Pin
billhao26-Nov-02 17:07
billhao26-Nov-02 17:07 
GeneralRe: ActiveX control repaint Pin
billhao28-Nov-02 21:47
billhao28-Nov-02 21:47 
GeneralDatabase problem in vc++(ODBC) Pin
MFC is the Best25-Nov-02 12:25
MFC is the Best25-Nov-02 12:25 
GeneralRe: Database problem in vc++(ODBC) Pin
dima_t25-Nov-02 17:19
dima_t25-Nov-02 17:19 
GeneralRe: Database problem in vc++(ODBC) Pin
MFC is the Best25-Nov-02 22:00
MFC is the Best25-Nov-02 22:00 
GeneralRe: Database problem in vc++(ODBC) Pin
dima_t26-Nov-02 0:57
dima_t26-Nov-02 0:57 
do not name your class CDatabase, because CDatabase is a MFC-class and it's the best way to connect to database through CDatabase.
then you create CRecordset-derived class and pass a pointer to database as a parameter.
ExecuteSQL(...) is a method of MFC CDatabase class.

class CMyApp: public CWinApp {
CDatabase m_db;
};

BOOL CMyApp::InitInstance()
{
m_db.Open(...);
}

void CMyView::Func1() // or something else
{
CMySet set(&theApp.m_db);
set.Open(...);
// etc...
}

Dmitry Timin
GeneralStatic library, Threads and Dialog boxes Pin
Clay25-Nov-02 11:17
Clay25-Nov-02 11:17 
GeneralRe: Static library, Threads and Dialog boxes Pin
Joaquín M López Muñoz25-Nov-02 11:31
Joaquín M López Muñoz25-Nov-02 11:31 
GeneralRe: Static library, Threads and Dialog boxes Pin
Bijesh25-Nov-02 11:43
Bijesh25-Nov-02 11:43 
QuestionSimilar to CFileDialog ?? Pin
Still learning how to code25-Nov-02 11:02
Still learning how to code25-Nov-02 11:02 
AnswerRe: Similar to CFileDialog ?? [corrected] Pin
Joaquín M López Muñoz25-Nov-02 11:06
Joaquín M López Muñoz25-Nov-02 11:06 
GeneralRe: Similar to CFileDialog ?? [corrected] Pin
Still learning how to code25-Nov-02 23:24
Still learning how to code25-Nov-02 23:24 
GeneralSpy++ Log to File Question Pin
ursus zeta25-Nov-02 11:02
ursus zeta25-Nov-02 11:02 
GeneralRe: Spy++ Log to File Question Pin
Mike Nordell25-Nov-02 11:41
Mike Nordell25-Nov-02 11:41 
GeneralRe: Spy++ Log to File Question Pin
ursus zeta25-Nov-02 12:15
ursus zeta25-Nov-02 12:15 
Generalprojects and work spaces updates Pin
jimNLX25-Nov-02 9:40
jimNLX25-Nov-02 9:40 
GeneralRe: projects and work spaces updates Pin
Joaquín M López Muñoz25-Nov-02 9:46
Joaquín M López Muñoz25-Nov-02 9:46 
GeneralRe: projects and work spaces updates Pin
jimNLX25-Nov-02 11:11
jimNLX25-Nov-02 11:11 
GeneralRe: projects and work spaces updates Pin
Joaquín M López Muñoz25-Nov-02 11:13
Joaquín M López Muñoz25-Nov-02 11:13 
GeneralRe: projects and work spaces updates Pin
Anonymous26-Nov-02 3:12
Anonymous26-Nov-02 3:12 
GeneralCDC Font Pin
act_x25-Nov-02 8:52
act_x25-Nov-02 8:52 
GeneralRe: CDC Font Pin
Scott H. Settlemier25-Nov-02 9:03
Scott H. Settlemier25-Nov-02 9:03 
GeneralRe: CDC Font Pin
act_x25-Nov-02 9:11
act_x25-Nov-02 9:11 

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.