2011/10/05 13:31:40
bitman
I'm having difficulty with the GetHostName call from the SDK.

Has anyone gotten it to work. I either get nothing or compiler errors due to
misuse.

Here is the GetHostName section from the controlsurface,idl file
---------------------------------------------------------------------------------------------
    // obtain the host name
    HRESULT GetHostName(
        [out] LPSTR pszHostName,    // if NULL, just retrieves required buf len
        [in, out] DWORD* pdwLen
        );
--------------------------------------------------------------------------------------------------
Thanks in advance!

:Ron


© 2024 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account