.NET Bridge

Bob.Cowdery at CGI-Europe.com Bob.Cowdery at CGI-Europe.com
Thu Mar 23 13:29:46 UTC 2006


Hi John

 

Thanks for the reply. I can load the library but can't create an instance.
If I do:

 

DotNet loadLibraryFromFile:
'C:\RadioZone\SDR\SDR-Breadboard\st\DotNetController.dll'

 

ctrl := DotNet HW new.

 

It complains message not understood 'new'. The class is definitely HW. I can
create an instance from another .NET assembly.

 

Bob

 

            

> Hi Bob,

> You can use: DotNet loadLibraryFromFile: 'c:\myassemblies\library.dll'

> to load types from any other assembly.

> John

On 3/23/06, Bob.Cowdery at cgi-europe.com <mailto:Bob.Cowdery at cgi-europe.com>
<Bob.Cowdery at cgi-europe.com <mailto:Bob.Cowdery at cgi-europe.com> > wrote:

Hi 

I have some code in C# that I want to port to squeak but it's quite a lot of
work so as a quick fix for the time being I am trying to use the .NET
bridge. Although I can get it to work with the examples that use built-in
types I can't get it to work with an assembly I have built. Before I go into
detail is there anyone out there who is successfully using this with their
own assemblies. 

Thanks 
Bob 

*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.









-- 
It's easy to have a complicated idea. It's very very hard to have a simple
idea. -- Carver Mead 


*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060323/f1dde2ff/attachment.htm


More information about the Squeak-dev mailing list