HELP: Need help with wininet.dll calls! 
Author Message
 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



Mon, 13 Dec 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Help needed POSTing to SSL server using wininet.dll API calls

2. I need help with WININET API calls

3. I need help with WININET calls

4. URGENT - I need help with Wininet API Calls

5. I need help with WININET API calls

6. PLEASE HELP with Wininet.DLL/Wininet.LIB

7. PLEASE HELP me with Wininet.DLL/Wininet.LIB

8. PLEASE HELP me with Wininet.DLL/Wininet.LIB

9. PLEASE HELP me with Wininet.DLL/Wininet.LIB

10. WININET.DLL - Need some help!

11. Need Help With ftpGetCurrentDirectory Using wininet.dll

 

 
Powered by phpBB® Forum Software