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

C / C++ / MFC

 
GeneralXML filter for Indexing services Pin
Lucian MATEESCU18-Dec-02 5:29
Lucian MATEESCU18-Dec-02 5:29 
GeneralZooming a CDC Pin
S O S18-Dec-02 4:51
S O S18-Dec-02 4:51 
GeneralRe: Zooming a CDC Pin
Chris Losinger18-Dec-02 8:02
professionalChris Losinger18-Dec-02 8:02 
Generaldll question Pin
salah_gis18-Dec-02 4:48
salah_gis18-Dec-02 4:48 
GeneralOpening a socket Pin
Trin218-Dec-02 4:31
Trin218-Dec-02 4:31 
GeneralRe: Opening a socket Pin
-Dy18-Dec-02 22:46
-Dy18-Dec-02 22:46 
GeneralRe: process problem Pin
jmkhael18-Dec-02 4:31
jmkhael18-Dec-02 4:31 
GeneralBuilding MFC extension problem Pin
Wenrich18-Dec-02 3:56
Wenrich18-Dec-02 3:56 
I've finished a socket application and am trying to
build the core part of the application into a DLL. the "core part" includes CMySocket class derived from CAsyncSocket, and some other helper classes.
CMySocket stores a pointer to a CMainFrame object, which has proper functions that handle events occuring on the socket.
The main purpose of writing this DLL is to make the
CMySocket class easy to be reused for future applications.
I want to define the handler function prototypes that the
future applications would follow. I don't want to restrict the pointer to a CMainFrame object, rather it can be
pointing to any CWnd-like object, which would allow more flexibility.
My question is: since CMySocket needs a pointer to a CWnd
to call proper handlers when events occuer, how can I get rid of the implementation of the functions and hence the CWnd-like class? (I don't think deriving a class from CWnd
is a good idea; if so, that means the applications need to derived another new class from that one. Is it?)

This is the first i ever try to build a DLL. Any hint is strongely welcome.

(btw, the DLL would be an MFC extention DLL)
Thank you so much!

Wenrich

GeneralProblem to make call in TAPI ( 2.2 ) Pin
S.Maharajan18-Dec-02 3:25
S.Maharajan18-Dec-02 3:25 
GeneralRe: Problem to make call in TAPI ( 2.2 ) Pin
Michael P Butler18-Dec-02 4:40
Michael P Butler18-Dec-02 4:40 
GeneralA simple C compiler Pin
ns18-Dec-02 3:03
ns18-Dec-02 3:03 
GeneralRe: A simple C compiler Pin
Taka Muraoka18-Dec-02 3:20
Taka Muraoka18-Dec-02 3:20 
GeneralRe: A simple C compiler Pin
benjymous18-Dec-02 3:30
benjymous18-Dec-02 3:30 
GeneralRe: A simple C compiler Pin
ns18-Dec-02 3:52
ns18-Dec-02 3:52 
GeneralRe: A simple C compiler Pin
benjymous18-Dec-02 3:59
benjymous18-Dec-02 3:59 
GeneralRe: A simple C compiler Pin
ns18-Dec-02 3:39
ns18-Dec-02 3:39 
GeneralRe: A simple C compiler Pin
ns18-Dec-02 3:50
ns18-Dec-02 3:50 
GeneralRe: A simple C compiler Pin
Taka Muraoka18-Dec-02 11:34
Taka Muraoka18-Dec-02 11:34 
GeneralRe: A simple C compiler Pin
electronicman_x18-Dec-02 3:57
electronicman_x18-Dec-02 3:57 
GeneralRe: A simple C compiler Pin
Alvaro Mendez18-Dec-02 6:02
Alvaro Mendez18-Dec-02 6:02 
GeneralRe: A simple C compiler Pin
ns18-Dec-02 6:03
ns18-Dec-02 6:03 
GeneralRe: A simple C compiler Pin
Alvaro Mendez18-Dec-02 6:55
Alvaro Mendez18-Dec-02 6:55 
GeneralRe: A simple C compiler Pin
Ravi Bhavnani18-Dec-02 10:32
professionalRavi Bhavnani18-Dec-02 10:32 
GeneralRe: A simple C compiler Pin
Joel Lucsy18-Dec-02 14:30
Joel Lucsy18-Dec-02 14:30 
GeneralRe: A simple C compiler _ thanks to all!!! Pin
ns19-Dec-02 1:34
ns19-Dec-02 1:34 

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.