link .exe with library and .dll folders in windows 2000 in c

I have a commercial .exe file which can communicate and analyze data with my instrument. However, upon running, it says it wants some functions for communicating with the instrument (functions of a driver). I have got .dll folder and library folder which contains these functions. Now how do I add these function capability into the .exe.

I need to run this in windows 2000. I have installed visual basic 6.0 also. But dont know what to do next. Any help is greatly appreciated. I need to go a long way in this project and this is the first step. please.....

The picture shows the Mil dll it is asking for
sai ramAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter HutchisonSenior Network Systems SpecialistCommented:
You need to install DLL files aka Dynamic Link Libraries, into either the program folder or into c:\Windows\System32. USually the program's installation setup.exe will do this for you. If the program was written with VB 6, then is would have installed the runtime files as well. You can get all the required run time files via this link: https://sourceforge.net/projects/vb6extendedruntime/ 

If the program was written for later version of Windows, then your version of Windows may not have the latest versions of the DLLs.
A service pack, cumulative update or hotfix could fix this. Also, installing the appropiate .NET Framework or Visual C++ Runtimes may be required:
https://www.microsoft.com/en-us/download/developer-tools.aspx
0
sarabandeCommented:
the picture is missing.

upon running, it says it wants some functions for communicating with the instrument (functions of a driver).
if the issue is at runtime (and not a linker or compiler error), it means that the dll was loaded dynamically (by calling LoadLibrary) and the functions were invoked by function pointer pointing into the dll.

if that is true, you should be able to solve the issue by copying the dll file into the same folder where the application executable was located.

if you still get issues, you may to have to register the dll. open a command window and navigate to the folder where the dll resides.

then type

   regsvr32 mil.dll

if there are more dll's you may have to register those as well. if regsvr32 returns with error  it probably means that the dll doesn't need registration.

note, if your target system is windows 2000 you may not use a compiler younger than vc6.

Sara
Sara
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sai ramAuthor Commented:
Thank you Very much.. This solved the issue....
0
sarabandeCommented:
The given answer solved the question as stated by the Questioner.

Sara
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.