Click here to Skip to main content
15,905,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPort forwarding Pin
User 988520-Feb-03 4:59
User 988520-Feb-03 4:59 
GeneralRe: Port forwarding Pin
User 988520-Feb-03 5:10
User 988520-Feb-03 5:10 
GeneralRe: Port forwarding Pin
Anonymous20-Feb-03 10:01
Anonymous20-Feb-03 10:01 
GeneralRe: Port forwarding Pin
User 988520-Feb-03 10:12
User 988520-Feb-03 10:12 
GeneralRe: Port forwarding Pin
User 988520-Feb-03 10:13
User 988520-Feb-03 10:13 
GeneralSlider control Pin
jimNLX20-Feb-03 4:35
jimNLX20-Feb-03 4:35 
GeneralRe: Slider control Pin
valikac20-Feb-03 7:32
valikac20-Feb-03 7:32 
GeneralDeriving MFC Class for DLL, instantiating in Visual Basic Pin
DigitalSabre20-Feb-03 4:31
DigitalSabre20-Feb-03 4:31 
Not like I want a new control or anything. I just want to Derive the CAsyncSocket class in a DLL. Then I want to override the virtual members (all the "on..." functions) and add some of my own, like pre-parse buffers and such.

My purpose is to load the DLL in Visual Basic. It seems a heck of a lot more work, in the long run, to write and existing object and a new object for each other, instead of writing one that I can use in place of the two.

What do I need to do (#include, list in compile command-line, etc.) to make it compile properly as a DLL.

Then, how do I instantiate one in VB so I can go about using it?

--M.Pemrich

----------------------------------------------------
Just kinda lost everywhere. And as if lost wasn't lost
enough... I got a book on the subject...
GeneralRe: Deriving MFC Class for DLL, instantiating in Visual Basic Pin
Anna-Jayne Metcalfe20-Feb-03 4:53
Anna-Jayne Metcalfe20-Feb-03 4:53 
Generalget keyboard events Pin
Willem B20-Feb-03 4:21
Willem B20-Feb-03 4:21 
GeneralRe: get keyboard events Pin
Michael Shuster20-Feb-03 4:50
Michael Shuster20-Feb-03 4:50 
GeneralRe: get keyboard events Pin
HENDRIK R20-Feb-03 4:52
HENDRIK R20-Feb-03 4:52 
GeneralRe: get keyboard events Pin
Willem B20-Feb-03 21:11
Willem B20-Feb-03 21:11 
GeneralGetting focus for modeless dialogs in a controlbar. Pin
Maximilien20-Feb-03 4:17
Maximilien20-Feb-03 4:17 
GeneralProb converting Hex to CString Pin
afender20-Feb-03 4:14
afender20-Feb-03 4:14 
GeneralRe: Prob converting Hex to CString Pin
Ryan_Roberts20-Feb-03 4:26
Ryan_Roberts20-Feb-03 4:26 
GeneralRe: Prob converting Hex to CString Pin
afender20-Feb-03 5:26
afender20-Feb-03 5:26 
GeneralRe: Prob converting Hex to CString Pin
David Chamberlain20-Feb-03 6:05
David Chamberlain20-Feb-03 6:05 
GeneralRe: Prob converting Hex to CString Pin
Ted Ferenc20-Feb-03 6:16
Ted Ferenc20-Feb-03 6:16 
GeneralRe: Prob converting Hex to CString Pin
Michael Dunn20-Feb-03 7:23
sitebuilderMichael Dunn20-Feb-03 7:23 
GeneralRe: Prob converting Hex to CString Pin
afender20-Feb-03 20:15
afender20-Feb-03 20:15 
GeneralDrawing icons on a toolbar Pin
Ron Olson20-Feb-03 4:02
Ron Olson20-Feb-03 4:02 
GeneralRe: Drawing icons on a toolbar Pin
Steve S21-Feb-03 1:56
Steve S21-Feb-03 1:56 
GeneralRe: Drawing icons on a toolbar Pin
Ron Olson21-Feb-03 9:32
Ron Olson21-Feb-03 9:32 
GeneralSorting a vector with structs Pin
whofmans20-Feb-03 3:54
whofmans20-Feb-03 3:54 

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.