473,386 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

making a stand alone application program from MS VC++ 2005 Express Edition

11
I am using MS VC++ 2005 Express Edition to make some windows application programs. I found that the exe files I built on one computer cannot be run on the other. Could any body please tell me how to make a stand alone exe file in MS VC++ 2005 Express Edition?

If you also have experience in Borland C++ Builder on the same question, I will also appreciate you for your reply.

Thank you!
Jun 4 '07 #1
7 2864
Silent1Mezzo
208 100+
I am using MS VC++ 2005 Express Edition to make some windows application programs. I found that the exe files I built on one computer cannot be run on the other. Could any body please tell me how to make a stand alone exe file in MS VC++ 2005 Express Edition?

If you also have experience in Borland C++ Builder on the same question, I will also appreciate you for your reply.

Thank you!

What happens when you try to run the exe's on the other computer? My guess is that they have dependencies that aren't being met on the other computer. I've never used MS VC++ but when I used it for C# the computers needed to have .NET installed on them for the exe's to work....Could this be the case?
Jun 4 '07 #2
weaknessforcats
9,208 Expert Mod 8TB
That may be a limitation deliberately built into VC++ 2005 Express Edition. The Express edition is intended for eduational use and not for software development. Hence, there should never be a need to run the code on a different computer.

It wouldn't suprise me if there was code in the exe checking the IP address of the machine againsty the IP address of the machine that did the build.

Consider getting the real Visual Studio.NET 2005.
Jun 4 '07 #3
Motoma
3,237 Expert 2GB
What happens when you try to run the exe's on the other computer? My guess is that they have dependencies that aren't being met on the other computer. I've never used MS VC++ but when I used it for C# the computers needed to have .NET installed on them for the exe's to work....Could this be the case?
I think you are pretty close to the mark. Most likely you have compile the code using CLR, rather than building a native Win32 executable. To build a native executable, you will need to download the PSDK and follow the instructions locate here.
Jun 4 '07 #4
driplet
11
That may be a limitation deliberately built into VC++ 2005 Express Edition. The Express edition is intended for eduational use and not for software development. ......
Thank Silent1Mezzo and the moderator's reply. Now I am trying on Bloodshed Dev-C++. Do you know it will solve my problem?
Jun 4 '07 #5
Motoma
3,237 Expert 2GB
Thank Silent1Mezzo and the moderator's reply. Now I am trying on Bloodshed Dev-C++. Do you know it will solve my problem?
Yes, Dev-C++ does produce native code. However, you may want to post what error message you have been receiving, as it may be indicative of an entirely different problem.

On a side note, VC++ Express executables work just fine on other machines.
Jun 4 '07 #6
driplet
11
I think you are pretty close to the mark. Most likely you have compile the code using CLR, rather than building a native Win32 executable. To build a native executable, you will need to download the PSDK and follow the instructions locate here.
Thank you for your help. I did compile my application using CLR, but couldn't find windows forms application in win32 (only win32 console application). If I want to do some windows forms application and run them on different computers, what shall I do? By the way, I have installed
Microsoft Platform SDK for Windows Server 2003 R2 by following your instruction.
Jun 5 '07 #7
Motoma
3,237 Expert 2GB
Thank you for your help. I did compile my application using CLR, but couldn't find windows forms application in win32 (only win32 console application). If I want to do some windows forms application and run them on different computers, what shall I do? By the way, I have installed
Microsoft Platform SDK for Windows Server 2003 R2 by following your instruction.
There is no Win32 Windows forms project in Visual Studio (not even 2005 Professional has it). You will need to build your code from the ground up, or you may be able to get away with using the code you have from the CLR project. I believe you should be able to add the cpp and h files to a standard Win32 console project (you will need to change the project properties to specify it is no longer a console app), but this is all speculation as I have not done it.
Jun 5 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Cat | last post by:
Some nice man told me that I can keep tabs in Visual Studio 2005. (Options -> All Languages -> Tabs -> Keep tabs) But I'm using VC#.NET 2005 EXPRESS EDITION, and I can't find Tabs node. Is it...
12
by: John Gabriel | last post by:
lThe compiler output report is seldom correct: Problems here involve not being able to generate an accurate compile report. There are so many problems and I am not on Microsoft's payroll. Neither...
1
by: falcon22 | last post by:
I can not make a dll. file in Visual C++ Express Edition 2005. It wont let me. Is there any way to make one. Am I able to make one with this edition? Thanks.
2
by: Al | last post by:
I'd installed VC++ Express 2005 beta 2 but I couldn't create new projects from templates or when I opened an existing solution, I couldn' build it: 'exe not found!' The same happened whith...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
3
by: msnews.microsoft.com | last post by:
Hello Can any one tell me that if I buy Microsoft Visual Studio 2005 Professional for dotnet, do I get following product Visual Basic Express Visual C# Express Sql Server Express Web...
7
by: Mihajlo Cvetanović | last post by:
Hi all, I've been trying to find some info on Visual C++ 2005 Standard on Microsoft's site, but wasn't able to find any. There's only VC++ 2005 Express Edition, and Visual Studio 2005 Standard,...
8
by: Edward Diener | last post by:
By reuse, I mean a function in an assembly which is called in another assembly. By a mixed-mode function I mean a function whose signature has one or more CLR types and one or more non-CLR...
3
by: newsaboutgod | last post by:
I need a stand alone database for a VB.Net application on a laptop. It will have about 15,000 records in it. Frst off, if there any way to load XML in to a dataset and then run SQL against it?...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.