Problems with VC++.NET.

C

Chemix

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
 
P

Peter van der Goes

Chemix said:
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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top