| Author |
Message |
Topic: VDSUG.DLL |
hotwire
Replies: 61
Views: 164738
|
Forum: Other Product Support/Announcements Posted: Wed Feb 02, 2005 9:58 am Subject: VDSUG.DLL |
| I am trying to use wininet to do an http form post. Actually, it works just fine, but the file ends up corrupt because of the null issue. Unless I am mistaken, the only way is to create the header i ... |
Topic: VDSUG.DLL |
hotwire
Replies: 61
Views: 164738
|
Forum: Other Product Support/Announcements Posted: Mon Jan 31, 2005 9:48 am Subject: VDSUG.DLL |
I'm not entirely sure I understand. I was thinking more along the lines of the vdsug.dll which has it's own internal buffer.
Actually, the problem I'm beating my self against the wall with is when ... |
Topic: Kernel FormatMessage and GetLastError |
hotwire
Replies: 5
Views: 38931
|
Forum: Advanced Help for VDS 5 & Up Posted: Mon Jan 31, 2005 9:23 am Subject: Kernel FormatMessage and GetLastError |
This works a little better:
:KERROR_WARN
LOADLIB KERNEL32
%e = @lib(KERNEL32,GetLastError,int:)
%f = 0
%p = @fill(256,,Z)
if @equal(@GREATER(%e,11999),@GREATER(12175,%e))
%f = ... |
Topic: VDSUG.DLL |
hotwire
Replies: 61
Views: 164738
|
Forum: Other Product Support/Announcements Posted: Mon Jan 31, 2005 8:26 am Subject: VDSUG.DLL |
Is there anyway to make a pointer to a file buffer? The I could write arbitrary data into and use cool functions like:
%E = @lib(WININET,HttpSendRequestA,int:,%%http_request,nil:,0,!BUFFER_POINT ... |
Topic: Kernel FormatMessage and GetLastError |
hotwire
Replies: 5
Views: 38931
|
Forum: Advanced Help for VDS 5 & Up Posted: Sun Jan 30, 2005 9:21 pm Subject: Kernel FormatMessage and GetLastError |
| Apparently my original code worked, but not with WININET error codes. After trying (and failing) with the InternetGetLastResponseInfo Function, I found a page on the msdev site which told how to get ... |
Topic: Kernel FormatMessage and GetLastError |
hotwire
Replies: 5
Views: 38931
|
Forum: Advanced Help for VDS 5 & Up Posted: Sun Jan 30, 2005 1:25 pm Subject: Kernel FormatMessage and GetLastError |
| I'm trying to convert windows error codes into their text using FormatMessageA. It this specific case, %e is being populated with 12007 (an internet lookup error), but FormatMessage is doing nothing ... |
| |