TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Rich
from: Adam Flinton
date: 2005-05-24 10:19:04
subject: Re: platform specific

From: Adam Flinton 

Rich wrote:
>    How so?
>
> Rich
>
>
>     "Adam"      > wrote in message
>     news:4291b00d{at}w3.nls.net...
>     Rich wrote:
>
>      >    In that regard, so is java and any other language that allows
>     you to
>      > call platform specific methods.
>      >
>
>
>     Ummmm.......allows you to vs you using that platform specific allowance
>     is somewhat different to compiling to a given platform.
>
>     Adam

If I compile my source for Windows then I end up with a Windows executable.
No real choice. If I go with Java I have the choice within my app which
runs on windows (i.e. hosted by a windows JVM) wether or not to bind it
into windows by using specific windows calls. E.g. the .Net xml checker I
wrote a little while back is called from within Java but it does so by
using a string as the command & then simply calling :

Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec(CommandString);

You then just chuck a buffered reader onto the InputStream you get back.

That allows me to use the same thing on Linux with say Mono or indeed use a
perl XMl checker on Unix if need be.

But hey you know all that & you're just being evasive as an eel in a
net as usual.


Adam

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.