[Mono-devel-list] Performance w/ boxing

Cesar Mello cmello2 at terra.com.br
Fri Feb 20 09:39:46 EST 2004


> No, but Managed Extensions for C++, generates hibrid executables that 
> are part-managed/part-native (native must be read as x86 only) and 
> demand some native (read windows-only) libraries to run.
>
By the way, I did a small DLL in Visual C++.NET, with this code:

    public __gc class Class1
    {
  public:
    bool f (int __gc *pValue)
    {
      ...

Then made a small test app in Visual C#, referencing the DLL. When 
typing the method call, intellisense popped up:

bool Class1.f(ref int pValue)

<Portuguese>Valeu pela barbada tche!!!</Portuguese>

[]
Mello

> <Portuguese> Certo? Meu caro gaúcho!!! </Portuguese>
>
>>
>> Best regards,
>> Cesar
>>
>>> If you want to use Microsoft's Managed Extensions for C++, though, you
>>> can do it.  The syntax is something like:
>>>
>>>     void function (int __gc *value) {/* ... */}
>>>
>>> Of course, using Managed Extensions for C++ limits portability to zero
>>> (there isn't any), so that's probably not the best of all possible
>>> ideas...
>>>
>>> - Jon
>>
>
> Hope it clarifies a bit,
>
> Rafael "Monoman" Teixeira
> Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
> MonoBrasil Founding Member - Membro Fundador do MonoBrasil 
> http://monobrasil.softwarelivre.org
> English Blog: http://monoblog.blogspot.com/
> Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
>
> _________________________________________________________________
> MSN Messenger: instale grátis e converse com seus amigos. 
> http://messenger.msn.com.br
>
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: VirusScan / Atualizado em 18/02/2004 / Versão: 1.4.1
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
>
>




More information about the Mono-devel-list mailing list