Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralISAPI Filter Pin
Anderson J Almeida19-Sep-00 7:21
sussAnderson J Almeida19-Sep-00 7:21 
GeneralODBC API, BLOBs Pin
Oz Ben Eliezer19-Sep-00 7:12
Oz Ben Eliezer19-Sep-00 7:12 
QuestionInteresting Question on DLL...use class* as a parameter../?? Pin
Ryan Park18-Sep-00 23:52
Ryan Park18-Sep-00 23:52 
AnswerRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Jignesh Patel19-Sep-00 4:12
Jignesh Patel19-Sep-00 4:12 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Ryan Park19-Sep-00 16:16
Ryan Park19-Sep-00 16:16 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
WoR20-Sep-00 22:04
WoR20-Sep-00 22:04 
AnswerRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Sam Hobbs19-Sep-00 7:34
Sam Hobbs19-Sep-00 7:34 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Ryan Park19-Sep-00 16:59
Ryan Park19-Sep-00 16:59 
Hi, Thanks for your response..

A regular dll..and not MFC extension dll..

As I found a minute ago in MSDN,

the regular dll has 3 types..

1. Non-MFC DLLs

2. Regular DLLs statically linked to MFC

3. Regular DLLs dynamically linked to MFC

I used #3 type...And what you point out is #1 type..

Hm....

Well, you are right in your point..Sorry for I didn't state

the exact information about situation...


In #3 type, I can use classes in DLL and can not export the

class and all other members of it..Am I correct??

But I can't convince that I can export class* as a parameter

Anyone know about this....??


And about your suggestion on possibilities:

(1)DLL in DLL...

I wonder if an exe can't access the dll's exports, neither

it is with regular dll...

And I have no compile error and link error with #3 type,

I would not think about this...

(2) Use Automation Interface....

Using COM...well I think I could make this dll as COM server

But what is with the Automation??..Need your teaching...

And my target is polymorphism of method's implementaion..

I'll separate implementation of class's method in exe and

in dll so that I can use proper method of it...

I know this is not the purpose of dll and c++..

If I need polymorpism, I can use virtual keyword..

But this is not good for reuse, as you can read in Essentil COM #1, for the real reuse of codes..

The source level reuse of legacy code is not effective..

And I'm tired to work on registrys....Huh...

So for simple functionality I'll use this way rather than COM and ATL..

This is some copycat of COM..Smile | :)

Until the unveil of C# and .NET, I don't want to implement

COM server..I'll just use components the others have done..

In .NET and CLR, COM is just a file...no registry needs..

Huh...

Anyway thanks for your response...

Regardz
-Ryan

-p.s Read the other thead of my question..
Mr. Jignesh made a good response...Check it out..
AnswerRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Paolo Messina19-Sep-00 23:28
professionalPaolo Messina19-Sep-00 23:28 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Wade Brainerd20-Sep-00 1:10
Wade Brainerd20-Sep-00 1:10 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Sam Hobbs21-Sep-00 18:10
Sam Hobbs21-Sep-00 18:10 
GeneralSome Color issues...redirecting the registry? =) Pin
Fredrik18-Sep-00 23:16
Fredrik18-Sep-00 23:16 
GeneralRe: Some Color issues...redirecting the registry? =) Pin
#realJSOP19-Sep-00 1:20
professional#realJSOP19-Sep-00 1:20 
GeneralRe: Some Color issues...redirecting the registry? =) Pin
Fredrik19-Sep-00 2:15
Fredrik19-Sep-00 2:15 
GeneralRe: Some Color issues...redirecting the registry? =) Pin
#realJSOP21-Sep-00 1:19
professional#realJSOP21-Sep-00 1:19 
GeneralRe: Some Color issues...redirecting the registry? =) Pin
Fredrik21-Sep-00 1:38
Fredrik21-Sep-00 1:38 
GeneralConsole Output to Windows Control Pin
J. J.18-Sep-00 5:43
sussJ. J.18-Sep-00 5:43 
GeneralRe: Console Output to Windows Control Pin
Sam Hobbs18-Sep-00 11:26
Sam Hobbs18-Sep-00 11:26 
GeneralButton color Pin
Roger18-Sep-00 5:42
Roger18-Sep-00 5:42 
GeneralHere's what I did... Pin
Fredrik18-Sep-00 22:50
Fredrik18-Sep-00 22:50 
GeneralRe: Here's what I did... Pin
Roger19-Sep-00 2:17
Roger19-Sep-00 2:17 
GeneralBitmap in a status bar pane Pin
#realJSOP18-Sep-00 3:51
professional#realJSOP18-Sep-00 3:51 
Generalspawning exe file from another exe file Pin
Hamid Yousaf18-Sep-00 1:52
Hamid Yousaf18-Sep-00 1:52 
GeneralRe: spawning exe file from another exe file Pin
Dark Angel18-Sep-00 4:38
Dark Angel18-Sep-00 4:38 
GeneralGet the coordinates of the AppBar Pin
Eq18-Sep-00 0:55
Eq18-Sep-00 0:55 

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.