C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 10-08-2006, 09:32 AM   #1
System Novice
 
siavoshkc's Avatar
 
Join Date: Jan 2006
Location: Tehran
Posts: 1,075
Question Which DLL

How can I know each Win32 API function is in which DLL?
__________________
Microsoft Visual Studio 2008 Professional (On Microsoft Windows XP SP2)

Learn the language before using it. (C++ Books and C Books)
Read the FAQ before making a problem.
Then make a Google and Forum search.

My code painter new version Version 0.97 DOWNLOAD NOW! (Let the pop up, pop!)

SiavoshKC
siavoshkc is offline   Reply With Quote
Old 10-08-2006, 04:34 PM   #2
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
Read its documentation. Let's take, for example, the DeregisterShellHookWindow function. Although it is listed among the window functions, suggesting user32.dll, it also contains the word shell, suggesting advapi32.dll or shell32.dll (or whatever it's called). So for once, I'm not sure where to find it.
http://windowssdk.msdn.microsoft.com.../ms644979.aspx
At the bottom, under the heading Function Information, is a useful little box, which tells us that, indeed, the function resides in user32.dll, that it's declared in winuser.h (but you should include windows.h), and that the import library is user32.lib, that the function is available since Windows 2000 and that both ANSI and Unicode versions exist on all systems that support it.
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Old 10-13-2006, 08:46 AM   #3
System Novice
 
siavoshkc's Avatar
 
Join Date: Jan 2006
Location: Tehran
Posts: 1,075
Thanks.
__________________
Microsoft Visual Studio 2008 Professional (On Microsoft Windows XP SP2)

Learn the language before using it. (C++ Books and C Books)
Read the FAQ before making a problem.
Then make a Google and Forum search.

My code painter new version Version 0.97 DOWNLOAD NOW! (Let the pop up, pop!)

SiavoshKC
siavoshkc is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
non-MFC DLL with MFC app question. Kempelen Windows Programming 10 08-20-2008 07:11 AM
dll communicating between each other cloudy C++ Programming 5 06-17-2005 02:20 AM
DLL and std::string woes! Magos C++ Programming 7 09-08-2004 12:34 PM
Using class with DLL greg2 C++ Programming 2 09-12-2003 05:24 AM
.lib vs .h vs .dll Shadow12345 C++ Programming 13 01-01-2003 05:29 AM


All times are GMT -6. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22