Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Help me! How get computer-name using DLL ???

Re: Help me! How get computer-name using DLL ???

From: <chiappa_at_my-deja.com>
Date: Fri, 12 Jan 2001 15:17:02 GMT
Message-ID: <93n753$f33$1@nnrp1.deja.com>

Check carefully here - DLLs are the last resource. To do simple tasks like that, many times you need only OS resources - for example, in Windows NT clients you need just exec the HOSTNAME command (maybe using a HOST command inside forms. See :

 Directory of C:\WINNT\system32

08/08/96  10:30p                11,024 HOSTNAME.EXE
               2 File(s)         22,560 bytes
                          2,752,889,344 bytes free

C:\WINNT\system32>hostname
nt-jchiappa

C:\WINNT\system32>

In others OSs , the info may reside in text files (use TEXT_IO in this cases) or you will have a similar command.

Bye,

        Chiappa

In article <93n43q$jmf$1_at_fe1.cs.interbusiness.it>,   "Emanuele Carrai" <carrai_at_mail.eng.it> wrote:
> Hello,
>
> How can I get ComputerName using DLL with Oracle Developer 2000?
>
> I have Oracle Server 8.1.6 on Windows 98/NT.
>
> Someone has some example ?
>
> Thanks in advance
> Emanuele
>
>

Sent via Deja.com
http://www.deja.com/ Received on Fri Jan 12 2001 - 09:17:02 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US