Problems with VC++.NET.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chemix

    #1

    Problems with VC++.NET.

    Hello people,
    I've developed a Visual C++ Project(.NET) using the template "windows
    forms application(.NE T)". 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
  • Peter van der Goes

    #2
    Re: Problems with VC++.NET.


    "Chemix" <chemasepul@hot mail.com> wrote in message
    news:7b827818.0 311040307.379b6 e61@posting.goo gle.com...[color=blue]
    > Hello people,
    > I've developed a Visual C++ Project(.NET) using the template "windows
    > forms application(.NE T)". 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[/color]
    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]


    Comment

    • Chemix

      #3
      Re: Problems with VC++.NET.





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

      Comment

      Working...