Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing old Visual Studio 6 Lib/dlls Pin
Dirk Vandenheuvel12-Aug-03 4:44
Dirk Vandenheuvel12-Aug-03 4:44 
GeneralMFC question Pin
Beer2612-Aug-03 4:28
Beer2612-Aug-03 4:28 
GeneralRe: MFC question Pin
Nish Nishant12-Aug-03 4:39
sitebuilderNish Nishant12-Aug-03 4:39 
GeneralRe: MFC question Pin
Beer2612-Aug-03 5:52
Beer2612-Aug-03 5:52 
GeneralODBC Pin
Ortie12-Aug-03 4:16
Ortie12-Aug-03 4:16 
GeneralRe: ODBC Pin
basementman12-Aug-03 4:24
basementman12-Aug-03 4:24 
GeneralHelp on DLLs Pin
Radha Nair12-Aug-03 4:03
Radha Nair12-Aug-03 4:03 
GeneralRe: Help on DLLs Pin
Chris Meech12-Aug-03 5:01
Chris Meech12-Aug-03 5:01 
Radha Nair wrote:
If yes, how can I do it and is it a better option to use Loadlibrary()?

I have not seen any examples of doing this with C++ classes. So I'm thinking that no you can't do it. I'm sure someone will try to proove me wrong, though Smile | :) In the case of the first method of including the .h and .lib files, the compiler and linker will be doing 'things' that won't get done when you use the second method. You can probably get the second method to work, if you know all the 'things' the compiler and linker do for you and then emulate that some how in code that you incorporate with your LoadLibrary calls. Can it be done, maybe, but I haven't seen an example so I don't think it can.
One option is to write some plain 'C' functions that provide an interface to the C++ class, and use these instead of the C++ methods.

Chris Meech

"what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002.

Oh and for those that ask programming questions in the lounge. Seek the truth here[^].
GeneralRe: Help on DLLs Pin
Nish Nishant12-Aug-03 5:53
sitebuilderNish Nishant12-Aug-03 5:53 
GeneralRe: Help on DLLs Pin
Chris Meech12-Aug-03 6:11
Chris Meech12-Aug-03 6:11 
GeneralRe: Help on DLLs Pin
Radha Nair12-Aug-03 6:22
Radha Nair12-Aug-03 6:22 
GeneralRe: Help on DLLs Pin
igor196012-Aug-03 10:51
igor196012-Aug-03 10:51 
GeneralRe: Help on DLLs Pin
Rick York12-Aug-03 12:55
mveRick York12-Aug-03 12:55 
GeneralRe: Help on DLLs Pin
Radha Nair13-Aug-03 3:13
Radha Nair13-Aug-03 3:13 
GeneralContext menu on ActiveX control Pin
Ed K12-Aug-03 3:40
Ed K12-Aug-03 3:40 
GeneralI need help in timers or conversions Pin
Snyp12-Aug-03 3:37
Snyp12-Aug-03 3:37 
GeneralRe: I need help in timers or conversions Pin
David Crow12-Aug-03 3:48
David Crow12-Aug-03 3:48 
GeneralRe: I need help in timers or conversions Pin
Anonymous12-Aug-03 4:24
Anonymous12-Aug-03 4:24 
GeneralRe: I need help in timers or conversions Pin
Snyp12-Aug-03 6:28
Snyp12-Aug-03 6:28 
GeneralRe: I need help in timers or conversions Pin
PremL12-Aug-03 5:26
PremL12-Aug-03 5:26 
GeneralRe: functions Pin
Maximilien12-Aug-03 3:38
Maximilien12-Aug-03 3:38 
GeneralRe: functions Pin
David Crow12-Aug-03 3:46
David Crow12-Aug-03 3:46 
GeneralMDI Frame Title Pin
Simon Steele12-Aug-03 3:07
Simon Steele12-Aug-03 3:07 
GeneralRe: MDI Frame Title Pin
G. Steudtel12-Aug-03 5:59
G. Steudtel12-Aug-03 5:59 
GeneralCPropertySheet woes Pin
DodgyG12-Aug-03 2:59
DodgyG12-Aug-03 2:59 

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.