Using Win32 functions in Visual FoxPro Image Gallery
HTTP Functions (WinHTTP)
Code examples:
Custom HttpRequest class (WinHTTP)
..msdn    Add comment     W32 Constants      Translate this page
The WinHttpAddRequestHeaders function adds one or more HTTP request headers to the HTTP request handle.
Code examples:
Custom HttpRequest class (WinHTTP)
BOOL WinHttpAddRequestHeaders(
  HINTERNET hRequest,
  LPCWSTR pwszHeaders,
  DWORD dwHeadersLength,
  DWORD dwModifiers
FoxPro declaration:
DECLARE INTEGER WinHttpAddRequestHeaders IN winhttp;
    INTEGER hRequest,;
    STRING  pwszHeaders,;
    INTEGER dwHeadersLength,;
    INTEGER dwModifiers

[in] HINTERNET handle returned by a call to the WinHttpOpenRequest function.

[in] Pointer to a string variable that contains the headers to append to the request.

[in] Unsigned long integer value that contains the length, in bytes, of pwszHeaders.

[in] Unsigned long integer value that contains the flags used to modify the semantics of this function.
Return value:
Returns TRUE if successful, or FALSE otherwise. For extended error information, call GetLastError.
Word Index links for the WinHttpAddRequestHeaders :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2003-11-26 19:06:01
Modified: 2003-11-26 19:07:25
Visited in last 7 days: 6
User Contributed Notes:
Jose Luis Vega Ibarra | 2005-03-26 11:26:00
Logre desarrollar una aplicacion en Visual Fox que accesa bases de datos en la Web en tiempo real. Utilice una clase de comunicaciones Ftp. Lo bueno de esto es que puedo accesar cualquier lugar donde se encuentre la bases de datos y los tiempos de respuesta son muy rapidos.

Si les interesa, soliciten mas informacion para enviarles la forma de como lo hice
Saludos desde Cuernavaca, Mor. Mexico
Mi correo es:

Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.35), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
29 sec.Function: 'SetSuspendState'
32 sec.Function: 'SetWindowText'
56 sec.Function: 'SetPriorityClass'
3.03 min.Function: 'WNetGetUser'
11.34 hrs.Function: 'AVIStreamLength'
Function group: 'Windows Multimedia'
 Function: 'CreateWindowEx'
11.35 hrs.Example: 'Windows Shell Icons displayed and exported to ICO files (Vista)'
 Example: 'Disabling mouse and keyboard input for the main VFP window (with the app still running)'
 Example: 'How to retrieve the number of print jobs queued for the printer'
 Example: 'GDI+: sending image of FoxPro form to printer'
Advertise here!