RE: Passing arrays from VB6 to C# ActiveX

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ying-Shen Yu[MSFT] (v-yiy_at_online.microsoft.com)
Date: 02/25/04


Date: Wed, 25 Feb 2004 08:42:25 GMT

Hi Eugene,

It seems there are some problem in your Marshal Directives,
Could you paste some code snippet of your C# component with your reply or
send me via e-mail? I'd like to take a look at the interface/class
definition first, also I'd like to have a piece of code that you call it
under vb6.

Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.



Relevant Pages

  • RE: Tablestyle.Add too slow...
    ... To begin investigating this issue, I'd first like to get a timing result of ... this code snippet. ... timing result if you bound the datagrid and set tablestyle in seperate ... before sending mail. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Add row to DataGrid
    ... You may define a delegate which returns a bool value and pass it to the ... BeginInvoke method. ... Here is a simple code snippet I test for adding and set focus to the row. ... before sending mail. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • RE: Marshalling Strings as member of a structure to C++ dll
    ... memory issues when there is managed and unmanaged resources involved. ... I'll try to find someone to take a look at this code snippet to see ... before sending mail. ...
    (microsoft.public.dotnet.framework.interop)
  • RE: Help with Windows Media Encoder in C#
    ... I tried encoding the wmv file using your code snippet. ... using the Windows Media Encoder? ... before sending mail. ...
    (microsoft.public.dotnet.framework.interop)
  • RE: System.Array of COM objects cannot be released?
    ... The code snippet looks fine, ... Does this unit test get passed if ... Could you post how you get the array of COM Objects ... before sending mail. ...
    (microsoft.public.dotnet.framework.interop)