GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 31-Oct-2006, 20:42
mhasan_mitul mhasan_mitul is offline
New Member
 
Join Date: Oct 2006
Posts: 2
mhasan_mitul is on a distinguished road
Question

How do I load DLL files for windows programing in the Microsoft visual c++?


Hi

I want to create a generic USB driver for WIN98. I need to load windows dll to use windows API for communicating with USB port. Is any body know about how to load DLL files in the Microsoft visual c++ and which windows API will help me to create a USB driver.

Thank you

Md. Mainul Hasan
  #2  
Old 01-Nov-2006, 14:42
ubergeek ubergeek is offline
Regular Member
 
Join Date: Jan 2005
Posts: 775
ubergeek is a jewel in the roughubergeek is a jewel in the roughubergeek is a jewel in the rough

Re: How do I load DLL files for windows programing in the Microsoft visual c++?


When you compile a program for Windows and include <windows.h> the DLL with the Windows API should be loaded automatically. If you need to load another DLL for specific device functions, you can use the LoadLibrary function to load the DLL and, unless you have a .lib, you'll need GetProcAddress to access the functions in the DLL.
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirection within Microsoft Visual Studio.Net 2003 Cindy S C Programming Language 2 24-Apr-2006 21:35
Microsoft visual studio 6 nadavsh MS Visual C++ / MFC Forum 0 05-Mar-2006 05:39
Bloodshed Dev C++ Project Options JdS C++ Forum 6 11-Nov-2005 17:23
What is "Ambigious symbol" ??*( a compilation error) small_ticket C++ Forum 2 07-Jan-2005 21:10

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 10:35.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.