Click here to Skip to main content
15,903,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detect color Using C++ Pin
ricardo montemayor21-Feb-07 16:17
ricardo montemayor21-Feb-07 16:17 
GeneralRe: Detect color Using C++ Pin
Mark Salsbery21-Feb-07 16:43
Mark Salsbery21-Feb-07 16:43 
QuestionIntercepting Output from another application Pin
shatterstar645720-Feb-07 13:19
shatterstar645720-Feb-07 13:19 
AnswerRe: Intercepting Output from another application Pin
Stephen Hewitt20-Feb-07 13:27
Stephen Hewitt20-Feb-07 13:27 
AnswerRe: Intercepting Output from another application Pin
ThatsAlok21-Feb-07 6:10
ThatsAlok21-Feb-07 6:10 
QuestionUniversal Progress Dialog Pin
BuckBrown20-Feb-07 12:38
BuckBrown20-Feb-07 12:38 
AnswerRe: Universal Progress Dialog Pin
Stephen Hewitt20-Feb-07 12:41
Stephen Hewitt20-Feb-07 12:41 
GeneralRe: Universal Progress Dialog Pin
BuckBrown20-Feb-07 13:07
BuckBrown20-Feb-07 13:07 
Here is the code snippet that generated the compilation error. The entire project can be downloaded from the codeproject article "Universal Progress Dialog".

INT_PTR CUPDialog::DoModal()
{
Cleanup(); //If this not first time, Terminate any previous instance Threads !!

return DialogBoxParam(NULL,MAKEINTRESOURCE(IDD),m_hParentWnd,ProgressDlgProc,(LPARAM)this);
}

I am not an experienced Windows programmer comming from the UNIX world so there is a lot of things that the author of the code is doing that I have never seen in MFC. One being that the function ProgressDlgProc (which is the fouth argument that is is puking on) is used without parameters being passed with it. Considering that the project compiled and ran on the authors machine I think there may be a library or include file or some parameter that needs to be set in the compiler settings. I just don't know. By the way, I am using Windows 2000.

Buck
GeneralRe: Universal Progress Dialog Pin
Stephen Hewitt20-Feb-07 13:09
Stephen Hewitt20-Feb-07 13:09 
GeneralRe: Universal Progress Dialog Pin
BuckBrown20-Feb-07 13:46
BuckBrown20-Feb-07 13:46 
GeneralRe: Universal Progress Dialog Pin
Stephen Hewitt20-Feb-07 13:53
Stephen Hewitt20-Feb-07 13:53 
GeneralRe: Universal Progress Dialog Pin
BuckBrown21-Feb-07 5:35
BuckBrown21-Feb-07 5:35 
GeneralRe: Universal Progress Dialog Pin
Stephen Hewitt21-Feb-07 11:56
Stephen Hewitt21-Feb-07 11:56 
QuestionMultiple list boxes in main window Pin
Demosthenes Tecumseh20-Feb-07 10:55
Demosthenes Tecumseh20-Feb-07 10:55 
AnswerRe: Multiple list boxes in main window Pin
PJ Arends20-Feb-07 11:46
professionalPJ Arends20-Feb-07 11:46 
GeneralRe: Multiple list boxes in main window Pin
Demosthenes Tecumseh20-Feb-07 12:10
Demosthenes Tecumseh20-Feb-07 12:10 
JokeRe: Multiple list boxes in main window Pin
Mark Salsbery20-Feb-07 12:41
Mark Salsbery20-Feb-07 12:41 
AnswerRe: Multiple list boxes in main window Pin
Stephen Hewitt20-Feb-07 12:43
Stephen Hewitt20-Feb-07 12:43 
GeneralRe: Multiple list boxes in main window Pin
Demosthenes Tecumseh20-Feb-07 13:44
Demosthenes Tecumseh20-Feb-07 13:44 
GeneralRe: Multiple list boxes in main window Pin
PJ Arends20-Feb-07 15:29
professionalPJ Arends20-Feb-07 15:29 
AnswerRe: Multiple list boxes in main window Pin
Demosthenes Tecumseh20-Feb-07 14:01
Demosthenes Tecumseh20-Feb-07 14:01 
QuestionMemory Allocation/Deallocation issues?? Pin
pavanbabut20-Feb-07 9:42
pavanbabut20-Feb-07 9:42 
AnswerRe: Memory Allocation/Deallocation issues?? Pin
Mark Salsbery20-Feb-07 10:05
Mark Salsbery20-Feb-07 10:05 
AnswerRe: Memory Allocation/Deallocation issues?? Pin
Blake Miller20-Feb-07 10:21
Blake Miller20-Feb-07 10:21 
GeneralRe: Memory Allocation/Deallocation issues?? Pin
pavanbabut20-Feb-07 11:40
pavanbabut20-Feb-07 11:40 

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.