Click here to Skip to main content
15,899,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL function by ordinal v.s. by name Pin
Rajkumar R8-Feb-08 23:21
Rajkumar R8-Feb-08 23:21 
GeneralRe: DLL function by ordinal v.s. by name Pin
George_George9-Feb-08 21:01
George_George9-Feb-08 21:01 
GeneralRe: DLL function by ordinal v.s. by name Pin
Rajkumar R10-Feb-08 22:47
Rajkumar R10-Feb-08 22:47 
GeneralRe: DLL function by ordinal v.s. by name Pin
George_George11-Feb-08 22:00
George_George11-Feb-08 22:00 
GeneralRe: DLL function by ordinal v.s. by name [modified] Pin
Rajkumar R11-Feb-08 22:17
Rajkumar R11-Feb-08 22:17 
GeneralRe: DLL function by ordinal v.s. by name Pin
George_George12-Feb-08 0:12
George_George12-Feb-08 0:12 
GeneralRe: DLL function by ordinal v.s. by name Pin
Rajkumar R12-Feb-08 5:07
Rajkumar R12-Feb-08 5:07 
GeneralRe: DLL function by ordinal v.s. by name Pin
George_George12-Feb-08 16:40
George_George12-Feb-08 16:40 
Cool, Rajkumar! Great!!


A question about http://msdn2.microsoft.com/en-us/library/aa271769(VS.60).aspx[^],

Seem if we do not use dllimport there will be one more level of indirection and the root cause is we do not know the address of function from IAT if we do not use dllimport, right?

What is the obstacle of blocking the approach (not using dllimport) from knowing the function address in IAT? From the MSDN, I can not see why if we use dllimport, the IAT can be known and if we do not use IAT the address is not known.

I think the IAT is contained in the import library file (.lib file), and whether or not we are using dllimport, it is input to linker, right (so it is always known)?


regards,
George
GeneralRe: DLL function by ordinal v.s. by name Pin
Rajkumar R8-Feb-08 6:32
Rajkumar R8-Feb-08 6:32 
GeneralRe: DLL function by ordinal v.s. by name Pin
George_George8-Feb-08 22:13
George_George8-Feb-08 22:13 
GeneralRe: DLL function by ordinal v.s. by name Pin
Stephen Hewitt7-Feb-08 12:39
Stephen Hewitt7-Feb-08 12:39 
GeneralRe: DLL function by ordinal v.s. by name Pin
George_George7-Feb-08 20:38
George_George7-Feb-08 20:38 
GeneralCOM CreateInstance method Pin
George_George6-Feb-08 19:19
George_George6-Feb-08 19:19 
QuestionRe: COM CreateInstance method Pin
CPallini6-Feb-08 20:54
mveCPallini6-Feb-08 20:54 
GeneralRe: COM CreateInstance method Pin
George_George7-Feb-08 3:25
George_George7-Feb-08 3:25 
QuestionRe: COM CreateInstance method Pin
CPallini7-Feb-08 3:52
mveCPallini7-Feb-08 3:52 
GeneralRe: COM CreateInstance method Pin
George_George7-Feb-08 4:06
George_George7-Feb-08 4:06 
GeneralProblem in execution Pin
mosali satish6-Feb-08 18:33
mosali satish6-Feb-08 18:33 
GeneralRe: Problem in execution Pin
Cedric Moonen6-Feb-08 20:14
Cedric Moonen6-Feb-08 20:14 
GeneralRe: Problem in execution Pin
Iain Clarke, Warrior Programmer6-Feb-08 23:12
Iain Clarke, Warrior Programmer6-Feb-08 23:12 
QuestionRe: Problem in execution Pin
David Crow7-Feb-08 2:50
David Crow7-Feb-08 2:50 
GeneralSetScrollSizes Pin
Still learning how to code6-Feb-08 12:09
Still learning how to code6-Feb-08 12:09 
GeneralRe: SetScrollSizes Pin
Mark Salsbery6-Feb-08 12:50
Mark Salsbery6-Feb-08 12:50 
GeneralRe: SetScrollSizes Pin
Still learning how to code6-Feb-08 22:51
Still learning how to code6-Feb-08 22:51 
GeneralRe: SetScrollSizes Pin
Mark Salsbery7-Feb-08 5:36
Mark Salsbery7-Feb-08 5:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.