Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: loop speed Pin
locoone17-Jul-05 23:25
locoone17-Jul-05 23:25 
GeneralRe: loop speed Pin
khan++17-Jul-05 23:35
khan++17-Jul-05 23:35 
GeneralRe: loop speed Pin
locoone18-Jul-05 0:00
locoone18-Jul-05 0:00 
GeneralRe: loop speed Pin
khan++18-Jul-05 0:13
khan++18-Jul-05 0:13 
GeneralRe: loop speed Pin
locoone18-Jul-05 0:15
locoone18-Jul-05 0:15 
GeneralRe: loop speed Pin
khan++18-Jul-05 0:23
khan++18-Jul-05 0:23 
GeneralRe: loop speed Pin
locoone18-Jul-05 0:25
locoone18-Jul-05 0:25 
GeneralRe: loop speed Pin
khan++18-Jul-05 0:36
khan++18-Jul-05 0:36 
Note that CMyDlg is the placeholder of your class-name. e.g, if you made a dialog-based app called Hello, then your dialog class-name will be "CHelloDlg".

When you declare a function, it means go to the header file (*.h), and write the declaration line there:
e.g, in HelloDlg.h:
HANDLE m_hThread;
bool m_bWorking;
static DWORD __stdcall Thread(LPVOID lpVoid);
//------------- declaration ends here.

Now open the associated .cpp file e.g, HelloDlg.cpp and write the complete functions there:
DWORD __stdcall CMyDlg::Thread(LPVOID lpVoid)
{
..... blah blah.

And be sure to read a good book on Visual C++.


this is this.
GeneralRe: loop speed Pin
locoone18-Jul-05 1:04
locoone18-Jul-05 1:04 
GeneralRe: loop speed Pin
David Crow18-Jul-05 2:56
David Crow18-Jul-05 2:56 
GeneralRe: loop speed Pin
David Crow18-Jul-05 2:59
David Crow18-Jul-05 2:59 
GeneralRe: loop speed Pin
locoone18-Jul-05 17:46
locoone18-Jul-05 17:46 
GeneralRe: loop speed Pin
David Crow19-Jul-05 2:27
David Crow19-Jul-05 2:27 
Questionwhen the program is closed, why does the exception occur? Pin
liuyue16-Jul-05 23:42
liuyue16-Jul-05 23:42 
AnswerRe: when the program is closed, why does the exception occur? Pin
Jose Lamas Rios17-Jul-05 16:59
Jose Lamas Rios17-Jul-05 16:59 
GeneralCPU Serial number Pin
Abd.Eskandari16-Jul-05 21:50
Abd.Eskandari16-Jul-05 21:50 
GeneralRe: CPU Serial number Pin
Alexander M.,17-Jul-05 6:02
Alexander M.,17-Jul-05 6:02 
GeneralRe: CPU Serial number Pin
Trollslayer17-Jul-05 6:03
mentorTrollslayer17-Jul-05 6:03 
GeneralConvert Bitmap Size Pin
Abd.Eskandari16-Jul-05 21:47
Abd.Eskandari16-Jul-05 21:47 
GeneralCSocket Progaramming in MFC Pin
mbcvamsidhar16-Jul-05 21:18
mbcvamsidhar16-Jul-05 21:18 
GeneralRe: CSocket Progaramming in MFC Pin
M.Mehrdad.M16-Jul-05 21:35
M.Mehrdad.M16-Jul-05 21:35 
GeneralRe: CSocket Progaramming in MFC Pin
mbcvamsidhar18-Jul-05 3:54
mbcvamsidhar18-Jul-05 3:54 
Generaldynamic struct arrays Pin
Anonymous16-Jul-05 21:12
Anonymous16-Jul-05 21:12 
GeneralRe: dynamic struct arrays Pin
M.Mehrdad.M16-Jul-05 21:37
M.Mehrdad.M16-Jul-05 21:37 
GeneralRe: dynamic struct arrays Pin
Anonymous16-Jul-05 22:27
Anonymous16-Jul-05 22:27 

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.