running a MFC C++ code in VIsual Studio error NewFolder is not a valid working directory -


An application that shows the basics of using Microsoft Foundation Classes

** When I run the code, the message box pops up from Visual Studio that is unable to start the program. C: \ Users \ Sushma \ Documents \ Visual Studio 2010 \ Projects \ Pooja \ Debug \ Pooja.exe C : \ Users \ Sushma \ Document \ Visual Studio 2010 \ Project \ NewFolder is not a valid work directory but project folks Fear does not exist any new folder. **

This file contains a summary of what you will find in each worship file.

Pooja.vcxproj This is the main project file for VC ++ projects generated from the use of an application wizard. It contains information about the version of Visual C ++, which generates the file, and information about the project features selected with the Platform, Configuration and App Wizard.

Pooja.vcxproj.filters This is the filtered file for VC ++ Project generated using an application wizard This includes information about the connection between the files and filters of your project. This association is used in the IDE to show the group of files with the same extension under specific nodes (such as ".ppp" files are associated with "source files" filter).

Pooja.h declares the main header file for this application in it, along with other project specific header (including Resource H) and CPoojaApp application class.

Pooja.cpp is a main application source file that includes the application class CPoojaApp.

Pooja.rc This is a list of all Microsoft Windows resources which uses the program. It contains symbols, bitmaps, and cursors that are stored in the RS subdirectory. This file can be edited directly in Microsoft Visual C ++ in your project resource 1033

res \ Pooja.ico This is an icon file, which is used as an application icon, this icon is the main resource file Pooja.rc. Is included by

res \ Pooja.rc2 This file contains resources that are not edited by Microsoft Visual C ++ You must keep all the resources that are not editable by the Resource Editor in this file. /// ////////////////////////////////

The application wizard creates a dialogue class: < / P>

PoojaDlg.h, PoojaDlg.cpp - Dialog these files contain your CPoojaDlg class. This class defines the behavior of the main dialog of your application. Template of the dialogue is in P.R.C., which can be edited in Microsoft Visual C ++. /// ///////////////////////////////

Other Features:

ActiveX controls include support for using ActiveX controls in the application.

////////////////////////////////////////// /////////////////////////////////

Other standard files: < P> StdAfx.h, StdAfx.cpp These files are used to create a precompelled header (PCH) file called Pooja.pch and a precompiled type file StdAfx.obj.

Resource.h is a standard header file that defines the new resource ID. Microsoft Visual C ++ reads and updates this file.

Pooja.manifest application manifest files are used by Windows XP to describe dependence on specific versions of side by side assemblies. The loader uses this information to load the assembly properly from assembly caches or from the application is private. An external one for redistribution to the app manifest. The manifest can be included as a file that is installed in the same folder as the application executable or it can be included in the executable as a resource.

In your project's property page (project menu - property), click on the "Debugging" tab and See if something like "Working Directory" is set up (with Newfolder in it) Default value is $ (ProjectDir)

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -