Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: read/write function working in linux Pin
Randor 10-May-10 6:13
professional Randor 10-May-10 6:13 
GeneralRe: read/write function working in linux Pin
Moak10-May-10 10:26
Moak10-May-10 10:26 
GeneralRe: read/write function working in linux Pin
rupeshkp72812-May-10 1:59
rupeshkp72812-May-10 1:59 
QuestionVirtual function in DLL Pin
john56329-May-10 23:17
john56329-May-10 23:17 
AnswerRe: Virtual function in DLL Pin
CPallini10-May-10 0:44
mveCPallini10-May-10 0:44 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 1:47
john563210-May-10 1:47 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 2:48
john563210-May-10 2:48 
GeneralRe: Virtual function in DLL Pin
CPallini10-May-10 2:59
mveCPallini10-May-10 2:59 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 3:17
john563210-May-10 3:17 
GeneralRe: Virtual function in DLL Pin
CPallini10-May-10 3:22
mveCPallini10-May-10 3:22 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 3:36
john563210-May-10 3:36 
GeneralRe: Virtual function in DLL Pin
Richard MacCutchan10-May-10 3:49
mveRichard MacCutchan10-May-10 3:49 
GeneralRe: Virtual function in DLL Pin
CPallini10-May-10 4:03
mveCPallini10-May-10 4:03 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 3:45
john563210-May-10 3:45 
GeneralRe: Virtual function in DLL Pin
Cedric Moonen10-May-10 3:57
Cedric Moonen10-May-10 3:57 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 4:18
john563210-May-10 4:18 
GeneralRe: Virtual function in DLL Pin
Cedric Moonen10-May-10 4:31
Cedric Moonen10-May-10 4:31 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 5:52
john563210-May-10 5:52 
GeneralRe: Virtual function in DLL Pin
Cedric Moonen10-May-10 7:29
Cedric Moonen10-May-10 7:29 
AnswerRe: Virtual function in DLL Pin
Iain Clarke, Warrior Programmer10-May-10 0:59
Iain Clarke, Warrior Programmer10-May-10 0:59 
You got an unsatisfactory answer, because you posted an unsatisfactory question. Being a programmer (you're posting here, after all), you should expect the same stimulus will get the same response...

What is the gap in your knowledge that needs filling in?

Are you happy with inheritance, and abstract member functions?

Can you make a classic DLL? If not, there are articles here on codeproject that can help, as well as lots of help on the MSDN pages.

If you can export a function from a DLL, exporting a class is not much harder. Underneath, it just ends up being a bunch of ugly-named [*] exported functions anyway.

If you can do that, then just mark some abstract, or =0 as appropriate:

class CMyClass
{
public:
    void MyMemberFunction () = 0;
    ...
};


In the executable or dll that loads your dll, the programmer will have to inherit from your abstract class before they can use it - but that's true even if all the classes are in the same module.

I might be expecting too much - maybe you're only marking your member functions as virtual, in which case you have no problems at all.

Your name is John, so I assume that English is your first language. If I'm wrong, and John is a nom-de-pleume, than I half apologise if I've used a bit too much complex english here!

Good luck,

Iain.

[*] Name decoration.
I have now moved to Sweden for love (awwww).

QuestionTranscoding using ffmpeg Pin
gmallax9-May-10 22:37
gmallax9-May-10 22:37 
AnswerRe: Transcoding using ffmpeg Pin
Code-o-mat9-May-10 23:13
Code-o-mat9-May-10 23:13 
GeneralRe: Transcoding using ffmpeg Pin
gmallax10-May-10 0:24
gmallax10-May-10 0:24 
GeneralRe: Transcoding using ffmpeg Pin
Code-o-mat10-May-10 0:34
Code-o-mat10-May-10 0:34 
GeneralRe: Transcoding using ffmpeg Pin
gmallax10-May-10 0:37
gmallax10-May-10 0:37 

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.