DLL or MANIFEST problems in VC++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ppuniversal
    New Member
    • Feb 2007
    • 52

    DLL or MANIFEST problems in VC++

    I am making a client server application in VC++ 2005. It compiles correctly with 0 errors.

    But when I execute the executable file say GridServer.exe, it gives the following error :

    Code:
    The application has failed to start beacuse MSVCP80D.dll was not found. Reinstalling the application may fix this problem.
    Then I searched this file in the C:\Program Files\Visual Studio.... folder and got a file with this name. So I copied this file to my "debug" folder where my GridServer.exe was residing. Now on executing the file I get the following error :

    Code:
    The application has failed to start beacuse MSVCR80D.dll was not found. Reinstalling the application may fix this problem.
    So I did the same for this .dll file also. Now my .exe file executes properly, but only sometimes. On some occasions a popup window occurs with the message :

    Code:
    Debug Error!
    Program : D:\SS\debug\GridServer.exe
    
    R6034
    An application has made an attempt to load the C runtime library without using a manifest.
    This is an unsupported way to load Visual C++ DLLs. You need to modify your application to build with a manifest.
    For more information, see the "Visual C++ Libraries as Shared by Side By Side Assemblies" topic for product documentation.
    
    (Please Retry to debug the application)
      
    Abort    Retry    Ignore
    Now if I press Retry, it gives some address error.
    I have seen the MSDN Documentation, but I could'nt understand it.

    Info: VC++ is used only as a IDE, the application is a simple WIN32 console type.

    Please Reply
    Pawan
Working...