Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Rounding a floating value Pin
cmk29-Jun-06 9:10
cmk29-Jun-06 9:10 
QuestionCreate CDHtmlDialog in statically linked MFC DLL failed [modified] Pin
rockryan29-Jun-06 4:42
rockryan29-Jun-06 4:42 
AnswerRe: Create CDHtmlDialog in statically linked MFC DLL failed Pin
Viorel.29-Jun-06 5:03
Viorel.29-Jun-06 5:03 
GeneralRe: Create CDHtmlDialog in statically linked MFC DLL failed Pin
rockryan29-Jun-06 16:01
rockryan29-Jun-06 16:01 
GeneralRe: Create CDHtmlDialog in statically linked MFC DLL failed Pin
rockryan30-Jun-06 17:36
rockryan30-Jun-06 17:36 
QuestionLink DLL with Visual C++ not working Pin
status()29-Jun-06 4:39
status()29-Jun-06 4:39 
AnswerRe: Link DLL with Visual C++ not working Pin
Cedric Moonen29-Jun-06 4:45
Cedric Moonen29-Jun-06 4:45 
GeneralRe: Link DLL with Visual C++ not working Pin
status()29-Jun-06 4:58
status()29-Jun-06 4:58 
Ok i will explain in more details:
So in the header file i have a definition of an abstract class wich has onlu pure virtual methods.
In the DLL i have only one export function which is returning a pointer to an instance of this class or more precisely some class that inherits this abstract class.
The program is something like:
<br />
SomeClass* c = ImportedMethod();<br />
c->someMethod(); // Here the program crashes<br />


It looke strange i know, the problem is that i don't hava the source of the DLL neither i have any more information about it. Only those header:
<br />
class SomeClass <br />
{<br />
public:<br />
  virtual void someMethod() = 0;<br />
}<br />
extern "C"<br />
__declspec (dllexport) SomeClass * ImportedMethod();<br />

GeneralRe: Link DLL with Visual C++ not working Pin
Cedric Moonen29-Jun-06 5:31
Cedric Moonen29-Jun-06 5:31 
GeneralRe: Link DLL with Visual C++ not working Pin
status()29-Jun-06 10:40
status()29-Jun-06 10:40 
Questiontypedef Handle [modified] Pin
Jay0329-Jun-06 4:21
Jay0329-Jun-06 4:21 
AnswerRe: typedef Handle Pin
Maximilien29-Jun-06 4:28
Maximilien29-Jun-06 4:28 
GeneralRe: typedef Handle Pin
Jay0329-Jun-06 4:39
Jay0329-Jun-06 4:39 
JokeRe: typedef Handle Pin
Jun Du29-Jun-06 4:29
Jun Du29-Jun-06 4:29 
GeneralRe: typedef Handle Pin
Jay0329-Jun-06 4:40
Jay0329-Jun-06 4:40 
GeneralRe: typedef Handle Pin
Jun Du29-Jun-06 5:14
Jun Du29-Jun-06 5:14 
AnswerRe: typedef Handle [modified] Pin
Viorel.29-Jun-06 4:34
Viorel.29-Jun-06 4:34 
GeneralRe: typedef Handle Pin
Jay0329-Jun-06 4:40
Jay0329-Jun-06 4:40 
GeneralRe: typedef Handle Pin
Viorel.29-Jun-06 4:48
Viorel.29-Jun-06 4:48 
QuestionRe: typedef Handle Pin
ovidiucucu29-Jun-06 4:59
ovidiucucu29-Jun-06 4:59 
AnswerRe: typedef Handle Pin
Viorel.29-Jun-06 5:15
Viorel.29-Jun-06 5:15 
AnswerRe: typedef Handle Pin
Zac Howland29-Jun-06 4:45
Zac Howland29-Jun-06 4:45 
GeneralRe: typedef Handle Pin
ovidiucucu29-Jun-06 5:04
ovidiucucu29-Jun-06 5:04 
Questionabout button OwnerDraw [modified] Pin
HOW WHAT29-Jun-06 3:54
HOW WHAT29-Jun-06 3:54 
AnswerRe: about button OwnerDraw Pin
Sarath C29-Jun-06 3:58
Sarath C29-Jun-06 3:58 

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.