Hello, Please help me for following problem I am facing while developing an application in VC++ 5.0. My application has suddenly stopped showing newly created variables and functions in class view pane of project workspace window. It works well in other newly created projects. Therefore I suspect that something unwanted has happened to my application. Please advice at my email address gs_gupta@hotmail.com. Thanks in advance. Lets share our knowledge and make this world even more beautiful.
P S Thakur
Posts
-
visual c++ -
UpdateData ( FALSE ) don`t work in a FOR loopHi there , I GOT A SIMPLE PROBLEM.I AM COMPILING A VC++ ( 5.0 ) PROGRAM WHERE I AM HAVING A DIALOG BOX APPLICATION.IN THE DIALOG BOX I AM HAVING A EDIT BOX WHER5E I WISH TO DISPLAY THE VALUE OF THE ITERATION COUNT IN THIS EDIT BOX . SIMPLE !!! THE CODE I HAVE WRITTEN ON MOUSE CLICK OF A PUSH BUTTON IS AS FOLLOWS. :: OnPress() { for ( int i=0;i<10;i++) { m_number=i; UpdateData (FALSE ); Sleep( 1000 ); } } m_number is variable associated with the edit box and is integer type.When i run the program only last count i.e 9 is displayed in the edit box.why not all count is displayed in the edit box? Can somebody please guide me?Why this is happening. Thanks in advance.:confused: Lets share our knowledge and make this world even more beautiful.
-
invalid page fault - codeI am having a simple dialog based application on visual c++ 5.0 . I am just trying to create one process by CreateProcess() API in which I am trying to open mspaint or msword i.e microsoft office applications. The code I have written on pushbutton event is as follows. void CCreatprocessDlg::OnRun() { STARTUPINFO siStartInfo; PROCESS_INFORMATION piProcInfo; BOOL fPass; fPass = CreateProcess("c:\\Program Files\\Accessories\\Mspaint.exe", NULL, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &siStartInfo, &piProcInfo); if (!fPass) MessageBox("Can not execute WordPad.exe.", "Warning",MB_ICONHAND); } The trouble is that on execution I get error message mspaint caused invalid pagefault in module msvcrt.dll at 0157:7fd796a . When I run this program on other machine which is also similar one ( IBM Pentium ) It runs properly. I have no clue of what is happening with this simple application. When I try opening the applications which are not microsoft applications my program works perfectly well on both the machines.Why is this invalid page fault problem in launching only microsoft apllications??Can someone please guide me???? :mad: :mad:
-
invalid page faultCan somebody tell me why does this error message come when i execute my visual c++ 5.0 application
-
Invalid page fault in msvcrt.dllCan somebody tell me why invalid page fault message appears in some application ( I am using visual c++ 5.0 version ):) Lets share our knowledge and make this world even more beautiful.