Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Help me! How get computer-name using DLL ???
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
![]() |
![]() |