Re: [BLACKBOX] DNS reverse name lookup

From: [at]} <Aubrey>
Date: Thu, 21 May 2009 16:21:54 -0500

----boundary-LibPST-iamunique-348359587_-_-
Content-type: text/plain

Good call, thanks. This lead me to GetComputerNameEx on a Google
search, which is not in WinApi. I'll contrive a test later...



On Thu, May 21, 2009 at 12:35 PM, Robert <robert.campbell_{([at]})nowhere.xy
> Aubrey
>
> 2) - Try this ?
>
> Cheers
>
> Robert
>
>
>
> CONST
>  bufBytes  =  40;
> VAR
>  bufSize        :  INTEGER;
>  computerShort  :  ARRAY [untagged] bufBytes  OF  SHORTCHAR;
>  computerName   :  ARRAY  bufBytes  OF  CHAR;
> BEGIN
>  bufSize  :=  bufBytes;
>  IF  WinApi.GetComputerName (computerShort, bufSize)  =  WinApi.TRUE  THEN
>    computerName  :=  LONG (computerShort)
>  END;
>


-- 
-- 
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-348359587_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBHb29kIGNhbGwsIHRoYW5rcy4g
IFRoaXMgbGVhZCBtZSB0byBHZ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