[Mono-list] ActiveX dll with mono on windows

Bartolomeo Nicolotti bnicolotti at siapcn.it
Mon Mar 9 10:21:56 EDT 2009


Hello,

Great! Do you mean that this compiles

gmcs -r:Interop.cwbx.dll MyTest.cs

using Com Interop?

Interop.cwbx.dll is generated by VisualStudio.

Do you think that using this Interop.cwbx.dll is fine or do you suggest
to use a wrapper written in mono?

IBM provides us also another dll that's an assembly, but the classes
used are different, do you think that we can keep our code as is and use
a wrapper to unmanaged code or we should modify our code to use managed
assembly?

Many thanks

best regards

Il giorno lun, 09/03/2009 alle 09.53 -0400, Jonathan Chambers ha
scritto:
> Hello,
>      COM Interop in mono on windows should work the same as COM
> Interop on .Net. The tools support is not there (mono has no
> equivalent of tlbimp for example), but the runtime should be fine. If
> not, file a bug.
> 
> 
> Thanks,
> Jonathan
> 
> On Mon, Mar 9, 2009 at 9:25 AM, Bartolomeo Nicolotti
> <bnicolotti at siapcn.it> wrote:
>         
>         
>         Da:     Justin Dearing <zippy1981 at gmail.com>
>         A:      Bartolomeo Nicolotti <bnicolotti at siapcn.it>
>         Oggetto:        Re: [Mono-list] ActiveX dll with mono on
>         windows
>         Data:   Mon, 9 Mar 2009 08:02:57 -0400 (13.02 CET)
>         
>         
>         The activeX dll is a DLL containing com.
>         
>         
>         This blog seems to indicate thats not as impossible as I
>         thought:
>         
>         
>         http://jonathanchambers.blogspot.com/2007/02/three-com-interop-updates.html
>         
>         
>         Do you have the source for he activex dll? What language is it
>         written in?
>         If its a VB6 dll, visual studio has a nice wizard to upgrade
>         vb6 code to
>         vb.net.
>         
>         
>         No, I don't have the sources, it's an IBM.
>         
>         Visual Studio produces an Interp.cwbx.dll that used with
>         
>         gmcs -r:Interop.cwbx.dll MyTest.cs
>         
>         compiles! I think that's a wrapper assembly for the ActiveX
>         dll.
>         
>         Bye
>         
>         
>         Bartolomeo Nicolotti wrote:
>         >
>         > Hi,
>         >
>         > I've sonme code written in C# with VisualStudio. I want to
>         migrate to
>         > mono. The problem is that this code uses a .dll that's an
>         ActiveX and not
>         > an assembly. Is there a way to use this dll in mono?
>         >
>         > Many thanks
>         >
>         > Best regards....
>         >
>         
>         --
>         
>         View this message in context:
>         http://www.nabble.com/ActiveX-dll-with-mono-on-windows-tp22411525p22413057.html
>         
>         Sent from the Mono - General mailing list archive at
>         Nabble.com.
>         
>         _______________________________________________
>         Mono-list maillist  -  Mono-list at lists.ximian.com
>         http://lists.ximian.com/mailman/listinfo/mono-list
>         
> 
> 
-- 
Bartolomeo Nicolotti
SIAP s.r.l.
www.siapcn.it
v.S.Albano 13 12049
Trinità(CN) Italy
ph:+39 0172 652553
centralino: +39 0172 652511
fax: +39 0172 652519



More information about the Mono-list mailing list