Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello everybody

I made a c++ program which compiles successfully. and

now i want to make an exe which will work on another

computer which doesn't have the .net env installed.

I noticed that there is an exe file in the debug directry.

I happily copied it to a disk and tested it on another computer and got an error message that some files are missing.

How can i do it right?

Please help.

Rafael:confused:

  • *Experts*
Posted
Did you use Managed Extenisons? If yes, then the client computers must have the Framework. If you used the compiler to create a normal Win32 exe then the program should run fine given that all the dependencies are there.
  • Administrators
Posted

If you just selected the C++ Console application (.Net) template then by default it does use the .Net Framework.

If you went for a Win32 console project that doesn't.

 

If you need to check - bring up the project properties and under 'configuration properties' -> 'general' you shoul find an entry for 'Managed Extensions'.

 

If this is set to false then the framework is not required. However you may still need to deploy C runtime / MFC runtimes depending on other options.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...