C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-06-2009, 06:50 AM   #1
Registered User
 
Join Date: Oct 2009
Posts: 8
export table

hey i m confused little bit abt export table's in dll's like what i don't get i read that everything relys on kernel32.dll every dll so that means that every dll doesn't got export's only kernel32.dll got exports? for exampe i m calling printf which is in msvrt.dll i noticed that my import there are also calling to kernel32.dll but why would my function also call msvrt.dll if only kernel32.dll has export table ?
MrNoobah is offline   Reply With Quote
Old 11-06-2009, 08:48 AM   #2
Registered User
 
Join Date: Dec 2007
Posts: 146
You mis-read what ever you read. dll's will have both export and import tables. kernel32.dll (the operating system) will only have an export table.
DaveH is offline   Reply With Quote
Old 11-06-2009, 11:00 AM   #3
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,381
Quote:
Originally Posted by DaveH View Post
You mis-read what ever you read. dll's will have both export and import tables. kernel32.dll (the operating system) will only have an export table.
Actually, the OS is mostly in ntdll.dll. kernel32.dll is wrapper around that.
__________________
"Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot
brewbuck is offline   Reply With Quote
Old 11-06-2009, 06:19 PM   #4
Registered User
 
Join Date: Oct 2009
Posts: 8
so basically all dll's exports and import's so it relys on other function's on other dlls but only dtdll and kernel32.dll got only export no internal function's ?
MrNoobah is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with structs and malloc! coni C Programming 20 09-14-2009 05:38 PM
Dll Export table P4R4N01D Windows Programming 7 04-08-2008 09:41 PM
run windows exe munna_dude Linux Programming 3 10-10-2007 01:12 AM
Writing array, to file zootreeves C Programming 9 09-08-2007 05:06 PM
inputting words from a file kashifk C++ Programming 5 10-24-2003 07:18 AM


All times are GMT -6. The time now is 11:34 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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