Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble with dll

Status
Not open for further replies.

nerram

Programmer
Apr 23, 2003
56
IE
I have an program that I wrote that is looking for dlls eg mfc42d.dll when I bring the program onto a different machine. How can I give the program this dll Can I download it from somewhere or include it in the exe somehow. I would prefer if my program was more portable ie shipped the dlls required as well any ideas
 
simply bring your program with mfc42d.dll, or link it as a statically linked library and forget about dll.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
How would I do the "statically linked library" method.....
 
In VisualStudio6 choose
1. Project=>Settings...
2. Change the "Settings For: " combo box to "All Configurations"
3. Change the "Microsoft Foundation Class:" combo box to "Use MFC in a Static Library"
4. Click OK and then go to Build=>Rebuild ALL

This works well but when I was trying to fix this problem I noticed that there were four other dlls (oledlg, olepro, indicdll, and imm32) that were been accessed by my application can I guarantee that they will be in System 32 or can I include these statically some how. Would it be neccessary to make an installation were these dlls are included?
 
you should not care on operation system dlls. Just forget about them. System dlls are present on any operation systems.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top