I'd like to detect the folder (path) where a my application is running and put the data in a string. - Can somebody give me some suggestion (without using the system() funcion)? - Thanks - giovanni.
nencini
Posts
-
Detect the path where is running an application VC++ -
Too many variables !?!Yes, may be that I've assigned variables to controls and later removed from the resource!!! (Is that a problem ????). The debugger say that there are problems on the global theApp here: BOOL CVivoliApp::InitInstance() #ifdef _AFXDLL Enable3dControls(); #else Enable3dControlsStatic(); #endif CVivoliDlg dlg; --->> m_pMainWnd = &dlg; int nResponse = dlg.DoModal(); if (nResponse == IDOK) { // ,,,,,,,, } else if (nResponse == IDCANCEL) { // ...... } }
-
Too many variables !?!Well, I'm not so expert in VC++ as you think. I've activate the debugger, and appea the window "Unhandled exception in xxx.exe 0xC0000005. Access violation" and the code stop at the statement m_pMainWnd = &dlg; The problem is that I don't Know what this means !!!! I'm on the Titanic ship and I scream "HELP!!!!"
-
Too many variables !?!Unfortunately I think that the debugger can't help me, because there are not error in compiling. The crash only happen when I execute, with the message "This program has executed an invalid opratione and willl be teminated" . If I remove some variables - of various type - (now I can't say how many) all is going well. I've never used the debugger, and I read alwais the error message that appears on the output pane.
-
Too many variables !?!I've about 30 variables, and this is not the first time I work with MFC Appwizard(exe). What a sympatic fellow is Larry Antram 22 Oct 2002 !!
-
Too many variables !?!It's the first time that I work with MFC Appwizard(exe) with many member variables on the screen, and when I reach a certain number of "add variables", the program compile well, but when I try to execute it CRASH. Somebody can tell me how to avoid this? - Yhanks.
-
Peculiarity of hard-diskI work with Visual C++ an I've retrived the number of partitions of the hard-disk and the number of the volume "C" with the Windows API functions GetDriveType and GetVolumeInformation. Now I'm searching for a function or a tool (in C/C++) to detect the date when the "disk C" was formatted, and/or other peculiarity of hard-disk. Can somebody give me any suggestion? - Many thanks
-
Buildin Director Xtras with Visual C++I've studied XtraBuilder and (a little) XDK, examinig the examples, and now I'd like to begin coding myself using Visual C++ but ... I don't know how to start building an Xtra !!! When I open file-new I dont't know what to choose (even if I'd made some tests). Somebody can help me to start? Thanks.
-
Xtras for Director and XtraBuilderI'm learning to buid Xtras for Director with XtraBuilder (that's a very good tool for beginners) and Visual C++, before starting studying XDK. Simply I ask if somebody know if there is somewhat similar to XtraBuilder for Mac and Codewarrior. - Many thanks.
-
Xtras for Director and XtraBuilderI'm learning to buid Xtras for Director with XtraBuilder (that's a very good tool for beginners) and Visual C++, before starting studying XDK. Simply I ask if somebody know if there is somewhat similar to XtraBuilder for Mac and Codewarrior. - Many thanks.
-
Detecting PC peculiarity (vol of disk C ecc..)I need a C/C++ program able to detect some peculiarity of the PC (as the number of the partitions of the hard disk, the number and the label of the disk C, ecc.) if it is possible without calling the "system" statement (calling the "system" statement I see alwais the DOS window). Can you help me ????? - I work with Visual C++ compiler. Many thanks - Giovanni