Click to See Complete Forum and Search --> : DLL DEPENDENCY !!?? How to link ?


WINAPISTUDENT
January 17th, 2008, 09:03 AM
I've wrote small programm , ater i've build it ( RELEASE command in Visual studio ) it works fine on my pc , after that i've sent this programm to my friend and on his pc it doesn't work .

He put .exe file into Depends.Exe Util ( Dependency walker )
and the message was MSVCP80.dll not found

How to link this dll to project that when i run .exe file on other pc it will work ?

I think coders with experience also had this problem at the beginning.
So please answer me ... )))

WINAPISTUDENT
January 17th, 2008, 11:25 AM
Fixed that way

in VS 2005 Project Properties --> Configuration Properties -->
C\C++ --> Code Generation --> Multi Threaded (/MT)

MrViggy
January 17th, 2008, 06:45 PM
I've wrote small programm , ater i've build it ( RELEASE command in Visual studio ) it works fine on my pc , after that i've sent this programm to my friend and on his pc it doesn't work .

He put .exe file into Depends.Exe Util ( Dependency walker )
and the message was MSVCP80.dll not found

How to link this dll to project that when i run .exe file on other pc it will work ?

I think coders with experience also had this problem at the beginning.
So please answer me ... )))
The answer is simple, go into the "redist" folder and deliver the appropriate DLL's with your application.

The second answer is to set your project settings to "Statically link CRT" (C runtime library), as you've already seen.

Viggy