Click here to Skip to main content
16,007,687 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: What do i use to make a DOS app Pin
Saksida Bojan16-May-05 22:29
Saksida Bojan16-May-05 22:29 
Generalstring formatting to show hex values Pin
richiemac13-May-05 4:20
richiemac13-May-05 4:20 
GeneralRe: string formatting to show hex values Pin
Saksida Bojan17-May-05 3:26
Saksida Bojan17-May-05 3:26 
GeneralRe: string formatting to show hex values Pin
richiemac17-May-05 4:09
richiemac17-May-05 4:09 
GeneralRe: string formatting to show hex values Pin
Saksida Bojan17-May-05 5:01
Saksida Bojan17-May-05 5:01 
GeneralRe: string formatting to show hex values Pin
richiemac18-May-05 0:04
richiemac18-May-05 0:04 
QuestionHow to use unmanaged char arrays as class member? Pin
Thomas Freudenberg12-May-05 3:59
Thomas Freudenberg12-May-05 3:59 
GeneralManaged wrapper and inheritance Pin
Johan de Koning12-May-05 0:00
Johan de Koning12-May-05 0:00 
Hello,

I was wondering if the following thing can be managed by using c++.

I have two unmanaged classes. Lets call them A and B. Class B inheritance from A.

A has a method for example ShowMeSomeText() and method B has another method ShowMeSomeMore()

If i want to create a managed wrapper, i will create two new managed classes A and B (ManagedA and ManagedB). ManagedB will have an inheritance of ManagedA.

Inside both classes are declarations of the unmanaged object A and B (so ManagedA has a private declaration of unmanaged object A and the same for ManagedB but with object B)

Now i want create in for example a C# program a new instance of object ManagedB and want to call the method ShowMeSomeText() (which is from the class A). This will not work correctly because ManagedB will call the method from ManagedA but this will use the unmanaged object A and this will go wrong. How can this be solved?

Hope somebody can help me? Thanx
GeneralNullReferenceException in MC++ Pin
Member 19685839-May-05 11:52
Member 19685839-May-05 11:52 
GeneralRe: NullReferenceException in MC++ Pin
Anonymous10-May-05 10:05
Anonymous10-May-05 10:05 
GeneralExcellent Question Pin
ursus zeta10-May-05 10:33
ursus zeta10-May-05 10:33 
GeneralRe: Excellent Question Pin
Gurminder_G10-May-05 11:14
sussGurminder_G10-May-05 11:14 
GeneralRe: Excellent Question Pin
ursus zeta12-May-05 9:30
ursus zeta12-May-05 9:30 
GeneralToolboxItem attribute problem Pin
tomand9-May-05 0:17
tomand9-May-05 0:17 
Generalmanaged c++ Pin
_tasleem8-May-05 9:47
_tasleem8-May-05 9:47 
GeneralRe: managed c++ Pin
Christian Graus8-May-05 14:11
protectorChristian Graus8-May-05 14:11 
Generalmystring object help Pin
user3166-May-05 19:24
user3166-May-05 19:24 
GeneralRe: mystring object help Pin
user3166-May-05 19:36
user3166-May-05 19:36 
GeneralPassword Code Pin
Derdog1016-May-05 16:37
Derdog1016-May-05 16:37 
GeneralRe: Password Code Pin
Christian Graus8-May-05 14:13
protectorChristian Graus8-May-05 14:13 
GeneralProtect a file by group Pin
sloaken6-May-05 15:37
sloaken6-May-05 15:37 
GeneralIs there a way to print a String using mc++ Pin
Lagwagon565-May-05 7:25
Lagwagon565-May-05 7:25 
GeneralRe: Is there a way to print a String using mc++ Pin
Christian Graus8-May-05 14:14
protectorChristian Graus8-May-05 14:14 
GeneralC++ Problem Pin
Dohan CRPathirana4-May-05 21:38
sussDohan CRPathirana4-May-05 21:38 
GeneralRe: C++ Problem Pin
ushani5-May-05 18:24
ushani5-May-05 18:24 

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.