473,246 Members | 1,407 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,246 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 2857
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?...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.