Click here to Skip to main content
16,009,057 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetDC from CMainFrame Pin
#realJSOP19-Nov-01 2:41
professional#realJSOP19-Nov-01 2:41 
GeneralRe: GetDC from CMainFrame Pin
hierro19-Nov-01 18:14
hierro19-Nov-01 18:14 
GeneralRe: GetDC from CMainFrame Pin
#realJSOP20-Nov-01 2:59
professional#realJSOP20-Nov-01 2:59 
GeneralDrawText(String,&Rect,DT_VCENTER|DT_WORDBREAK) doesn't work Pin
jade_dragon16-Nov-01 0:23
jade_dragon16-Nov-01 0:23 
GeneralRe: DrawText(String,&Rect,DT_VCENTER|DT_WORDBREAK) doesn't work Pin
Chris Maunder16-Nov-01 1:03
cofounderChris Maunder16-Nov-01 1:03 
GeneralThank you for your replay,but ... Pin
jade_dragon16-Nov-01 3:43
jade_dragon16-Nov-01 3:43 
GeneralRe: Thank you for your replay,but ... Pin
16-Nov-01 7:41
suss16-Nov-01 7:41 
Generalproblem to run nmake in the createprocess function Pin
BegZ15-Nov-01 23:20
BegZ15-Nov-01 23:20 
Hi,

I am currently trying to create a windows-based application in order to compile different projects !

To do so, the user need to select the project he wants to use, and I should then get the latest code from the SourceSafe database and compile it by using nmake in a Createprocess command.

But, unfortunately, when doing so, nkmake only create vc60.idb and vc60.pdd and nothing else.

I know nmake is working because when using it from a DOS windows, I could build my project by typing :
namke /f hfplayer.mak

Here is how I do use the createprocess :

PROCESS_INFORMATION ProcessInformation;
STARTUPINFO StartupInfo;
DWORD dwError;
BOOL bfProcess;

memset(&StartupInfo,0,sizeof(StartupInfo));
StartupInfo.cb = sizeof( StartupInfo );
StartupInfo.lpReserved = NULL;
StartupInfo.lpDesktop = NULL;
StartupInfo.lpTitle = NULL;
StartupInfo.dwFlags = STARTF_USESHOWWINDOW;
StartupInfo.wShowWindow = SW_MAXIMIZE;
StartupInfo.cbReserved2 = 0;
StartupInfo.lpReserved2 = NULL;

memset(&ProcessInformation,0,sizeof(ProcessInformation));

char szCmdLine[256] ;

sprintf(szCmdLine,"nmake.exe /B HFPlayer.mak" ) ;

bfProcess = CreateProcess(NULL,szCmdLine,NULL,NULL,FALSE,0,NULL, "D:\\My Documents\\My Dev\\HFPlayer",&StartupInfo,&ProcessInformation );


Anyhelp would be welcome !

Thanks !


Confused | :confused:
GeneralMessage handling with derived class Pin
15-Nov-01 22:48
suss15-Nov-01 22:48 
GeneralMFC 4.2 and 7.0 Pin
15-Nov-01 22:02
suss15-Nov-01 22:02 
GeneralMemory Free Pin
EricXu15-Nov-01 21:31
EricXu15-Nov-01 21:31 
GeneralRe: Memory Free Pin
Joaquín M López Muñoz16-Nov-01 3:04
Joaquín M López Muñoz16-Nov-01 3:04 
GeneralMultiple views, same document Pin
15-Nov-01 21:20
suss15-Nov-01 21:20 
GeneralRe: Multiple views, same document Pin
Michael P Butler15-Nov-01 22:17
Michael P Butler15-Nov-01 22:17 
GeneralRe: Multiple views, same document Pin
15-Nov-01 22:26
suss15-Nov-01 22:26 
GeneralAbout MouseMove and image Pin
chen15-Nov-01 21:03
chen15-Nov-01 21:03 
GeneralAdding text instead of icon in TrayIcon Pin
og15-Nov-01 20:32
og15-Nov-01 20:32 
Generalsome Question about setsockopt() Pin
goury15-Nov-01 15:50
goury15-Nov-01 15:50 
GeneralRe: some Question about setsockopt() Pin
Nish Nishant15-Nov-01 17:27
sitebuilderNish Nishant15-Nov-01 17:27 
GeneralRe: some Question about setsockopt() Pin
goury15-Nov-01 17:52
goury15-Nov-01 17:52 
GeneralDrawing in a FormView after Controls are drawn Pin
15-Nov-01 12:31
suss15-Nov-01 12:31 
QuestionDAAAHH! What does this error message means? Pin
Rickard Andersson2015-Nov-01 12:00
Rickard Andersson2015-Nov-01 12:00 
AnswerRe: DAAAHH! What does this error message means? Pin
Bill Wilson15-Nov-01 12:22
Bill Wilson15-Nov-01 12:22 
AnswerRe: DAAAHH! What does this error message means? Pin
Bill Wilson15-Nov-01 12:22
Bill Wilson15-Nov-01 12:22 
AnswerRe: DAAAHH! What does this error message means? Pin
Rick York16-Nov-01 18:50
mveRick York16-Nov-01 18:50 

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.