View Single Post
  #62 (permalink)  
Old 07-16-2009, 12:04 AM
Mistigri's Avatar
Mistigri Mistigri is offline
Member
 
Join Date: Mar 2006
Posts: 34
Mistigri is on a distinguished road
Quote:
Originally Posted by veematics View Post
Hello,
i'm getting confuse.. i create a dll that connect to internet, i copy the dll only on many metarader in my local computer and found no problem...

but the problem arise when i copy my dll to another computer. it returns error 126.

may i know what's wrong ? how to solve the problem ? i'm using with visual C++ on visual studio 2008.

please help
Hi Veematics, maybe you are the gentleman who just sent me an email about this problem, but I figured I would post my reply on this forum for other to see

Quote:

Hello,

Make sure you compile your dll with MFC Statically Linked…

Go to your project properties, under Configuration Properties | General | Use of MFC
Make sure that you have “Use MFC in a Static Library “ selected.
Then rebuild your dll.
Reply With Quote