>>chr(157)+replicate(chr(0), 27)+space(128)+chr(0) >>chr(157)+replicate(chr(0), 156) >>etc >>etc >>>>Function still fails on me. I'll go to the source and ask. Thanks for the help.
declare integer HttpInitialize in cshtpl32.dll string lpszLicenseKey, String @lpData lcKey = "Our license key" lcStruct = chr(157)+replicate(chr(0), 156) lnOK = HttpInitialize(lcKey, @lcStruct)The function returns 0 (function failed) and I use a function called HttpGetLastError to find out which error it had. I get "Invalid parameter passed to function".