Link to home
Start Free TrialLog in
Avatar of Rich-Hard
Rich-Hard

asked on

winsock ocx question

I have created a program that makes use of the winsock ocx, and the program (when compiled) works fine on the computer it was created on, as well as a few other computer.  On some computers, however, I get the error "Failed to load control 'Winsock' from MSWINSCK.OCX.  Your version of MSWINSCK.OCX may be outdated.  Make sure you are using the version of the control that was provided with your application."

I have tried copying the mswinsck.ocx from the original computer into the application directory and into the windows system directory (replacing the one that was installed on that computer originally), but nothing seems to work.

Any help with this issue would be greatly appreciated.

Thank you
Avatar of serineni
serineni

hi,
did you tried creating a packege of the program and install on the new computer .. if not try doing it. this may solve you problem

cheers
ASKER CERTIFIED SOLUTION
Avatar of glass_cookie
glass_cookie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Rich-Hard,
    What ever glass cookie has told is right but there might be one more solution that is.. better you package your application and run in the system u need and while packaging your application give for all the system files where to install path as "AppPath" so when you are installing your application in some other system it will not search for the files in the system directory and it will install all the required files to the Application Directory at that time it may work...

bpp