>Just for grins, try the declare above, and try the following for lpBuffer:
>
>nBuffPtr = oHeap.AllocString('
whatever the string is')
>nBuffLen = oHeap.SizeOfBlock(nBuffPtr)-1
>
>and pass nBuffPtr and nBuffLen as the third and fourth parameters respectively.
Thanks. I had tried that. It would have worked, I think, but my problem turned out to be function realted instead of syntax related. Robert A hit the nail on the head: I was opening a non-proxy session and then using that handle to try and set proxy stuff, which is not allowed. I am going to have to test this on a machine that is
actually using a proxy server.
Erik Moore
Clientelligence