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

C / C++ / MFC

 
AnswerRe: Problem in CPropertySheet::SetActivePage(PropPage).... Pin
Owner drawn9-Feb-06 0:54
Owner drawn9-Feb-06 0:54 
AnswerRe: Problem in CPropertySheet::SetActivePage(PropPage).... Pin
David Crow9-Feb-06 7:49
David Crow9-Feb-06 7:49 
Questionusing dll Pin
bluey128-Feb-06 22:30
bluey128-Feb-06 22:30 
AnswerRe: using dll Pin
toxcct8-Feb-06 22:31
toxcct8-Feb-06 22:31 
AnswerRe: using dll Pin
ThatsAlok8-Feb-06 22:56
ThatsAlok8-Feb-06 22:56 
AnswerRe: using dll Pin
Eytukan9-Feb-06 0:42
Eytukan9-Feb-06 0:42 
GeneralRe: using dll Pin
bluey129-Feb-06 15:27
bluey129-Feb-06 15:27 
GeneralRe: using dll Pin
Eytukan14-Feb-06 0:41
Eytukan14-Feb-06 0:41 
oh.. sorry for the late reply, i didn't notice your reply.
when you ahve a dll, you can use it in two ways,
Satic , dynamic.
satic linking maps the functions in the DLL with the .lib file it has. it is done in the complie time itself. but in the dynamic linking, we load the function only when it is needed. that really reduces the memory consumpion but a little bit slow when compared with static linking., in static linking you can use the functions directly as if it defined in a .cpp implementation file. but the actual implementation of the funtion would be defined in the DLL. so you dont need to worry about that. what you have to do is to add the name of the .lib file in the project settings , link option.
for static linking you will have this combination of files

test.dll, test.lib, test.h.
(imple)   (map)     (interface)


in dynamic loading, you use
GetProcAddress
to locate the function in the dll. so that it's loaded in the runtime.

is it ok for you?..
regards,



VuNic
GeneralRe: using dll Pin
bluey1216-Apr-06 23:06
bluey1216-Apr-06 23:06 
Questiondrive info Pin
sundar_mca8-Feb-06 22:30
sundar_mca8-Feb-06 22:30 
AnswerRe: drive info Pin
ThatsAlok8-Feb-06 22:55
ThatsAlok8-Feb-06 22:55 
GeneralRe: drive info Pin
sundar_mca8-Feb-06 23:44
sundar_mca8-Feb-06 23:44 
GeneralRe: drive info Pin
sunit59-Feb-06 1:52
sunit59-Feb-06 1:52 
QuestionWhich files belong into the debug directory ? Pin
Bernhard8-Feb-06 21:54
Bernhard8-Feb-06 21:54 
AnswerRe: Which files belong into the debug directory ? Pin
Blake Miller9-Feb-06 4:47
Blake Miller9-Feb-06 4:47 
QuestionMultilanguages resource file (one file) Pin
fregolo528-Feb-06 21:24
fregolo528-Feb-06 21:24 
AnswerRe: Multilanguages resource file (one file) Pin
Bernhard8-Feb-06 21:42
Bernhard8-Feb-06 21:42 
GeneralRe: Multilanguages resource file (one file) Pin
toxcct8-Feb-06 21:43
toxcct8-Feb-06 21:43 
GeneralRe: Multilanguages resource file (one file) Pin
Bernhard8-Feb-06 21:46
Bernhard8-Feb-06 21:46 
GeneralRe: Multilanguages resource file (one file) Pin
toxcct8-Feb-06 22:04
toxcct8-Feb-06 22:04 
GeneralRe: Multilanguages resource file (one file) Pin
Bernhard8-Feb-06 22:11
Bernhard8-Feb-06 22:11 
GeneralRe: Multilanguages resource file (one file) Pin
fregolo528-Feb-06 22:14
fregolo528-Feb-06 22:14 
GeneralRe: Multilanguages resource file (one file) Pin
toxcct8-Feb-06 22:18
toxcct8-Feb-06 22:18 
GeneralRe: Multilanguages resource file (one file) Pin
Bernhard8-Feb-06 22:24
Bernhard8-Feb-06 22:24 
QuestionCannot include <gdiplus.h> Pin
jantimmerman8-Feb-06 21:00
jantimmerman8-Feb-06 21:00 

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.