Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetActivePane() no longer works in VC++ 2005 Pin
Mark Salsbery23-Jan-07 12:00
Mark Salsbery23-Jan-07 12:00 
GeneralRe: GetActivePane() no longer works in VC++ 2005 Pin
Ted94424-Jan-07 3:36
Ted94424-Jan-07 3:36 
GeneralRe: GetActivePane() no longer works in VC++ 2005 Pin
Mark Salsbery24-Jan-07 5:10
Mark Salsbery24-Jan-07 5:10 
QuestionVS 2005 MFC project and the Properties Window ? Pin
Jerry Evans23-Jan-07 8:47
Jerry Evans23-Jan-07 8:47 
AnswerRe: VS 2005 MFC project and the Properties Window ? Pin
BrianCharles23-Jan-07 9:39
BrianCharles23-Jan-07 9:39 
GeneralRe: VS 2005 MFC project and the Properties Window ? Pin
Jerry Evans23-Jan-07 11:43
Jerry Evans23-Jan-07 11:43 
QuestionExporting a class from a DLL Pin
Anders Molin23-Jan-07 8:27
professionalAnders Molin23-Jan-07 8:27 
AnswerRe: Exporting a class from a DLL Pin
Cedric Moonen23-Jan-07 8:33
Cedric Moonen23-Jan-07 8:33 
Anders Molin wrote:
Is it possible to use the exported class when using explicit linking (Loadlibrary and GetProcAddress)


No, explicit linkage can only retrieve the address of a function. It cannot 'import' a class.

But, you could still do it using a little 'trick': use a function that create the class instance and returns it. Or even better: it returns an interface of the class (this way, you only need to distribute the header containing the interface with your dll and not the cpp file of the class)


Cédric Moonen
Software developer

Charting control [v1.1]

GeneralRe: Exporting a class from a DLL Pin
Anders Molin23-Jan-07 8:39
professionalAnders Molin23-Jan-07 8:39 
GeneralRe: Exporting a class from a DLL Pin
Cedric Moonen23-Jan-07 8:46
Cedric Moonen23-Jan-07 8:46 
GeneralRe: Exporting a class from a DLL Pin
Anders Molin23-Jan-07 8:53
professionalAnders Molin23-Jan-07 8:53 
GeneralRe: Exporting a class from a DLL Pin
James R. Twine23-Jan-07 8:51
James R. Twine23-Jan-07 8:51 
QuestionError in recordset retrieval Pin
namratab23-Jan-07 7:52
namratab23-Jan-07 7:52 
QuestionRe: Error in recordset retrieval Pin
David Crow23-Jan-07 8:04
David Crow23-Jan-07 8:04 
AnswerRe: Error in recordset retrieval Pin
namratab23-Jan-07 8:17
namratab23-Jan-07 8:17 
GeneralRe: Error in recordset retrieval Pin
David Crow23-Jan-07 8:29
David Crow23-Jan-07 8:29 
Questioncheck value of a bit in byte Pin
kani9823-Jan-07 7:04
kani9823-Jan-07 7:04 
AnswerRe: check value of a bit in byte Pin
Waldermort23-Jan-07 7:15
Waldermort23-Jan-07 7:15 
AnswerRe: check value of a bit in byte Pin
toxcct23-Jan-07 7:22
toxcct23-Jan-07 7:22 
GeneralRe: check value of a bit in byte Pin
Mark Salsbery23-Jan-07 8:20
Mark Salsbery23-Jan-07 8:20 
GeneralRe: check value of a bit in byte Pin
toxcct23-Jan-07 8:24
toxcct23-Jan-07 8:24 
GeneralRe: check value of a bit in byte Pin
Mark Salsbery23-Jan-07 9:26
Mark Salsbery23-Jan-07 9:26 
QuestionFixed format documents Pin
eusto23-Jan-07 3:23
eusto23-Jan-07 3:23 
AnswerRe: Fixed format documents Pin
James R. Twine23-Jan-07 4:12
James R. Twine23-Jan-07 4:12 
GeneralRe: Fixed format documents Pin
eusto23-Jan-07 4:53
eusto23-Jan-07 4:53 

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.