Q

How do I call a dll file from Visual Studio that is not a COM controller or ActiveX?

How do I call a dll file from Visual Studio that is not a COM controller or ActiveX?
If you are talking about .NET, use the DllImportAttribute to import a native function on a DLL. The docs in MSDN have good examples and there are plenty on the web if you Google for DllImport.
This was first published in June 2004

Dig deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close