
HELP: Need help with wininet.dll calls!
Since the Microsoft Internet Transfer seems to have a ton
of bugs (one if which is it's ability to 'POST' data to
an internet server) it looks like I have to do the POST
the 'old fashioned way'. =)
Ok, I seem to have everything almost working (ie: the server
sends the data to the script, etc). the one thing that I
can't seem to figure out is how to set the 'mime types' my
fake browser will accept... the script I am posting to seems
to check this and if the right mime type isn't accepted it
returns nada!
Here is the explanation I found on the web:
lpszAcceptTypes
Address of a null-terminated array of LPCTSTR pointers indicating
content types accepted by the client. If this parameter is NULL,
no types are accepted by the client. Servers interpret a lack of
accept types to indicate that the client accepts only documents of
type "text/*" (that is, only text documents and not pictures or
other binary files).
Could someone please tell me how I set up this 'array of LPCTSTR pointers'?
Also in 'other, older' BASIC languages there was always the way to get
the physical memory address of a variable. ie: addr=adr(apple$) would
return the physical memory address of the contents of apple$...
Anyone know the VB5 equivelent?
If you need more info than for solving this problem just ask me! =-)
TIA,
Will