Click here to Skip to main content
15,909,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalempty virtual method good practice question ... Pin
Maximilien11-Dec-02 9:12
Maximilien11-Dec-02 9:12 
GeneralRe: empty virtual method good practice question ... Pin
Daniel Turini11-Dec-02 9:15
Daniel Turini11-Dec-02 9:15 
GeneralRe: empty virtual method good practice question ... Pin
Maximilien11-Dec-02 9:25
Maximilien11-Dec-02 9:25 
GeneralRe: empty virtual method good practice question ... Pin
Ranjan Banerji11-Dec-02 9:23
Ranjan Banerji11-Dec-02 9:23 
GeneralRe: empty virtual method good practice question ... Pin
Alvaro Mendez11-Dec-02 9:26
Alvaro Mendez11-Dec-02 9:26 
GeneralRe: empty virtual method good practice question ... Pin
Maximilien11-Dec-02 9:30
Maximilien11-Dec-02 9:30 
GeneralRe: empty virtual method good practice question ... Pin
Alvaro Mendez11-Dec-02 9:35
Alvaro Mendez11-Dec-02 9:35 
GeneralRe: empty virtual method good practice question ... Pin
Maximilien11-Dec-02 9:38
Maximilien11-Dec-02 9:38 
QuestionChar to INT? Pin
Anonymous11-Dec-02 9:09
Anonymous11-Dec-02 9:09 
AnswerRe: Char to INT? Pin
Alvaro Mendez11-Dec-02 9:12
Alvaro Mendez11-Dec-02 9:12 
GeneralRe: Char to INT? Pin
Nitron11-Dec-02 13:23
Nitron11-Dec-02 13:23 
AnswerRe: Char to INT? Pin
Greven11-Dec-02 9:21
Greven11-Dec-02 9:21 
GeneralRe: Char to INT? Pin
Alvaro Mendez11-Dec-02 9:29
Alvaro Mendez11-Dec-02 9:29 
GeneralRe: Char to INT? Pin
Greven11-Dec-02 10:23
Greven11-Dec-02 10:23 
GeneralRe: Char to INT? Pin
Christian Graus11-Dec-02 10:03
protectorChristian Graus11-Dec-02 10:03 
AnswerRe: Char to INT? Pin
Ravi Bhavnani11-Dec-02 9:39
professionalRavi Bhavnani11-Dec-02 9:39 
GeneralIn Place Server Pin
Anthony988711-Dec-02 9:00
Anthony988711-Dec-02 9:00 
GeneralCatching OnSysCommand in own class Pin
BtL2711-Dec-02 8:44
BtL2711-Dec-02 8:44 
GeneralRe: Catching OnSysCommand in own class Pin
Alvaro Mendez11-Dec-02 9:04
Alvaro Mendez11-Dec-02 9:04 
GeneralType Libraries and MFC Question Pin
Nick Parker11-Dec-02 8:40
protectorNick Parker11-Dec-02 8:40 
I have written a .NET assembly that I want to use in MFC 6.0. According to an MSDN article[^], I need to use the Regasm.exe to make the necessary entries in the registry. I have gone ahead and done this using the following command to create a type library as well:
regasm mcpp.dll /tlb:mcpp.tlb

From what I understood, I then needed to reference the type library that is created one of two ways:
#import "mcpp.tlb" raw_interface_only

or
#import "mscorlib.tlb"
#import "mcpp.tlb"


I have done this however as soon as I try to compile following this it throws a slew of error within either mcpp.tlb or mscorlib.tlb, depending on which item I try (as I have tried both methods). Does anyone have any experience doing anything of this nature. Thanks



Nick Parker

Not everything that can be counted counts, and not everything that counts can be counted. - Albert Einstein


GeneralCopying CString to char* Pin
Like2Byte11-Dec-02 8:32
Like2Byte11-Dec-02 8:32 
GeneralRe: Copying CString to char* Pin
User 665811-Dec-02 8:43
User 665811-Dec-02 8:43 
GeneralRe: Copying CString to char* Pin
Like2Byte11-Dec-02 8:49
Like2Byte11-Dec-02 8:49 
GeneralRe: Copying CString to char* Pin
Michael Dunn11-Dec-02 8:49
sitebuilderMichael Dunn11-Dec-02 8:49 
GeneralRe: Copying CString to char* Pin
Like2Byte11-Dec-02 8:51
Like2Byte11-Dec-02 8:51 

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.