473,324 Members | 2,214 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,324 software developers and data experts.

Problems with VC++.NET.

Hello people,
I've developed a Visual C++ Project(.NET) using the template "windows
forms application(.NET)". The application runs correctly in my PC.
I've installed the Visual Studio.NET on it.
The problem is that when I try to run my application in another PC the
application doesn't run correctly althought I intalled on the new PC
the Microsoft .NET Framework 1.1 and the libraries needed for my
application: a .dll, a .lib and some headers files(.h). All the files
are in the same folder where my application runs.
It seems as if some file (.dll, etc...) was missing.
I installed all the Visual Studio.NEt on the new PC and then, the
application ran perfectly.
- Why the application doesn't run correctly only with the MS .Net
Framework 1.1 ??
- Can be that my application needs some file installed with the Visual
Studio .NET that is not installed with the Framework 1.1??
- By other hand, when the application was running correctly in the new
PC, after a desinstallation of a hardware (audio card) and its driver,
my application didn't run correctly anymore. It seems that my
application has a HARD dependency of the PC hardware. Can it be true??
(It has happened several times).
- Finally, how can I know all the files and .dlls that my application
needs to run correctly ?? There's some program to know it ??

Can anyone give me a clue in order to solve the problem??

Thanks a lot in advance.

Chemix
Jul 21 '05 #1
2 1057

"Chemix" <ch********@hotmail.com> wrote in message
news:7b**************************@posting.google.c om...
Hello people,
I've developed a Visual C++ Project(.NET) using the template "windows
forms application(.NET)". The application runs correctly in my PC.
I've installed the Visual Studio.NET on it.
The problem is that when I try to run my application in another PC the
application doesn't run correctly althought I intalled on the new PC
the Microsoft .NET Framework 1.1 and the libraries needed for my
application: a .dll, a .lib and some headers files(.h). All the files
are in the same folder where my application runs.
It seems as if some file (.dll, etc...) was missing.
I installed all the Visual Studio.NEt on the new PC and then, the
application ran perfectly.
- Why the application doesn't run correctly only with the MS .Net
Framework 1.1 ??
- Can be that my application needs some file installed with the Visual
Studio .NET that is not installed with the Framework 1.1??
- By other hand, when the application was running correctly in the new
PC, after a desinstallation of a hardware (audio card) and its driver,
my application didn't run correctly anymore. It seems that my
application has a HARD dependency of the PC hardware. Can it be true??
(It has happened several times).
- Finally, how can I know all the files and .dlls that my application
needs to run correctly ?? There's some program to know it ??

Can anyone give me a clue in order to solve the problem??

Thanks a lot in advance.

Chemix

There very probably is a missing file. The correct way to place your
application on a target PC is via a deployment project. This project will
produce a complete installation package for your application. Attempting to
circumvent that process is asking for trouble (as you've already
discovered).

--
Peter - [MVP - Academic]
Jul 21 '05 #2


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ryan D. Lucey | last post by:
ok I'm trying out a small program using operator overloading from the book C++ How To Program by Deitel Deitel. In their code they use the old style headers and the program compiles and runs as...
7
by: ree | last post by:
I need to use a function from a wininet library, it requires the use of const TCHAR. The problem is the value needs to be calculated, so at the end I have this string but I am having troubles...
1
by: manish | last post by:
Hi, I am a fresher in the programming field i.e although I have done programming at the basic level but at professional level I am very new and I am facing many problems. These probllems are...
2
by: Pep | last post by:
The following code from the Loki TypeManip.h header file is causing problems with MSVC version 6.0 template <unsigned i> struct TypeTag { struct Inner {char c;}; typedef Inner X;...
5
by: Hendrik Schober | last post by:
Hi, we just run into the problem, that "default" alignment in the project properies dialog seem to be different. We have a project that's a DLL, which is linked with a couple of LIBs. All are...
3
by: John Petersen | last post by:
Hi there I really hope someone had this problem before me. I have moved all our c++ projects from VC6 to VS.NET2003 and i have problems with nearly all dialogs containing either DateTimePicker...
6
by: Alex | last post by:
Hello people, We have a large application (about 5000 source files) consisting of multiple executables, DLLs and COM components written in C++. We develop and build it in Visual Studio 2003. ...
9
by: =?Utf-8?B?SG93YXJkIFNtaXRo?= | last post by:
I am using VC++ 6.0 (with SP5 installed). When using WinXP this is with SP2 installed. I am developing an instrumentation system comprising a set of networked PCs connected using TCP/IP TCP links....
0
by: chandan agarwal | last post by:
hi I have been given the task of building vc++ programs at the command line using make software. i have installed gnu make-3.81 version. i was able to build and run makefiles for turbo c++. but...
3
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
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...
1
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
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.