User Profile

Collapse

Profile Sidebar

Collapse
chowsaikeet
chowsaikeet
Last Activity: Dec 27 '07, 11:15 AM
Joined: Jun 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • chowsaikeet
    started a topic Marshaling Polymorphism
    in .NET

    Marshaling Polymorphism

    Dear All,

    I have trouble doing marshaling for polymorphism.

    Please look at the code below:
    Code:
    //C++ code, sample.dll
    Class A
    {
    
    }
    
    Class B : Public A
    {
          int i;
    }
    
    void DoSomething( A *a)
    {
    
    }
    
    //Marshaling, Calling DoSomething from C#
    //Class A & Class B already defined in C# as
    ...
    See more | Go to post

  • chowsaikeet
    replied to Managed and Unmanaged C++ Interop
    in C
    Mind to share with us what type of errors you are getting?

    FYI: Interoperations between managed and unmanaged code are done through p/invoking.

    regards
    keet...
    See more | Go to post

    Leave a comment:


  • chowsaikeet
    started a topic C# Interop: working with unions
    in .NET

    C# Interop: working with unions

    Hi All,

    Thank you for reading this posting.

    I'm having problem dealing with the uion that contains simple value types (byte) and reference type (byte[]).... Anyone has any idea on how to do this?

    Thank you in advance!

    regards,
    KEET
    See more | Go to post
No activity results to display
Show More
Working...