Note: if the DLL you want to reference was created in C# (or VB.NET),
it may work with mono also.

If it wasn't then the simple answer applies; it won't work.


On Fri, Nov 12, 2010 at 11:11 AM, Charles Wilt <charles.wilt@xxxxxxxxx> wrote:
Short answer no.

Executable code for a PC isn't compatible with an i  (which is one
reason virus don't affect it)

Long answer, compiled C# like Java doesn't run directly on the
hardware.  You've got the JVM or CLR between the code and the
hardware.  So if you can find a CLR for the i, you could possibly run
your C# code.

As it happens, there's an open source project called Mono that is a
CLR for Linux.  You could possibly get this to run on your i (via
PASE)  In fact, there's a comment on this blog post from somebody
saying they were successful:

Look at mono here:


On Fri, Nov 12, 2010 at 10:20 AM,  <tim.dclinc@xxxxxxxxx> wrote:
I have C# code on my pc that I would like to "run" on my iseries. This code
refererences a DLL.

Can this type of program run on an iseries (doing dll calls )?

This is all very new to me.


This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.