RE: Telnet friendly App

new topic     » topic index » view thread      » older message » newer message

Hello Nick,

Just off the top of my head...

I gather that your handheld devices can telnet to the ATAMAN telnet server
and run a DOS Euphoria based service without a problem.  Your issue is that
from DOS you can't get access to certain DLL functions because DLL's can
only be accessed from Windows Euphoria.  But Windows Euphoria doesn't work
as a service with the ATAMAN telnet server.

How about having you DOS Euphoria program call a separate Windows Euphoria
program to perform the DLL stuff?  You will have to come up with a way to
pass parameters from the DOS Euphoria code to the Windows Euphoria code.
Also if you want results back you'll have to come up with something for
that as well.  Putting the information into temporary "in" and "out" type
files might be one way although I know that is a kludge.  But if it works
then who cares?

Just an idea.

Regards,

Andy Cranston.

At 15:55 01/09/02 +0000, you wrote:
>
>Mario,
>
>Thanks for the response. Here is a little background on what I am trying 
>to do. I have an existing customer base with industrial handheld radio 
>(802.11) devices that have a telnet client in them.
>
>I have a variety of data collection applications that I need to write in 
>support of the these handhelds. These apps need to run in a telnet 
>session.
>
>For testing I am using an ATAMAN telnet server that runs on Windows.
>
>If I create a Euphoria application for DOS (.ex) I can telnet to it and 
>it runs. For testing I telnet to myself at 127.0.0.1.
>
>If I create the application as a Windows application (.exw) it does not 
>run when I telnet to it.
>
>I need to be able to use some of the features that are only available in 
>Windows such as SQL routines and calling an external DLL.
>
>I did purchase the Euphoria interpreter and LCC compiler and tried the 
>compiled version with no luck.
>
>My goal is to write applications that the core of which will run under 
>DOS, Windows and Linux and only change the database or externally called 
>app (DLL) to match the OS.
>
>Hope this helps.
>
>Nick
>
>
>Mario Steele wrote:
>> Hey Nick,
>> 
>> Nick Price wrote:
>> > I am trying to create an application that I can telnet to that also 
>> > calls an external DLL.
>> > 
>> > If I create a DOS app telnet works, external DLLs don't. If I create a 
>> > WIN app external DLLs work but I can't run the app in a telnet session.
>> > 
>> > Any ideas ?
>> 
>> I'm not exactly sure what you are trying to do exactly, if your trying 
>> to execute Programs from Telnet, and DLL Files, or trying to run DLL 
>> Files from DOS?  If you can clear this up a bit, i'll be willing to help 
>> 
>> ya out.
>> 
>>
--( at )^.^( at )--|--( at )^.^( at )--|--( at )^.^( at )--|--( at )^.^( at
)--|--( at )^.^(@)--|--(@)^
.^(@)--
>> 
>> 
>> EuMario
>> Mario Steele
>> Euphoria Instant Messenger (Soon to Come!)
>> http://groups.yahoo.com/group/euim/
>> 
>> 
>
>
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu