Search found 15 matches: internetreadfile

Return to advanced search

Re: Migrando de FWH 32 a FWH 64 - windows.h

Este es el prototipo de InternetReadFile(): BOOL InternetReadFile(  _In_   HINTERNET hFile,  _Out_  LPVOID lpBuffer,  _In_   DWORD dwNumberOfBytesToRead,  _Out_  LPDWORD lpdwNumberOfBytesRead); ...
by Antonio Linares
Sun Jan 04, 2015 10:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrando de FWH 32 a FWH 64 - windows.h
Replies: 79
Views: 19187

Re: Tftp - Directory no retorna la hora - Funciona a Medias

... FTPGETFILESIZE ) { DWORD nFileSizeHigh; hb_retnl( ( LONG ) FtpGetFileSize( ( HINTERNET ) hb_parnl( 1 ), &nFileSizeHigh ) ); } HB_FUNC( INTERNETREADFILE ) { DWORD nBytesRead; BOOL lSuccess = InternetReadFile( ( HINTERNET ) hb_parnl( 1 ), ( LPVOID ) hb_parc( 2 ), hb_parclen( 2 ), &nBytesRead ...
by Verhoven
Mon Jun 24, 2013 5:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tftp - Directory no retorna la hora - Funciona a Medias
Replies: 5
Views: 1434

Re: moving to MSVC 32 bits

Lucas, These functions are duplicated in ftp.prg or ftp.c. There is no ftp.* in FWH neither in Harbour, unless I miss something: fiveh32.lib(WININET.obj) : warning LNK4006: _HB_FUN_INTERNETOPEN ya se definió en ftp.obj; segunda definición omitida fiveh32.lib(WININET.obj) : warning LNK4006: _HB_FUN_I...
by Antonio Linares
Sun Mar 03, 2013 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: moving to MSVC 32 bits
Replies: 44
Views: 8234

webservice desde FWH

... METHOD OpenWS(url) CLASS TdWebService local hFile,ret,xml hFile = InternetOpenUrl(::hOpen, url,"",0,,0) xml:=space(::sbuffer) InternetReadFile(hFile, @xml, ::sbuffer, @Ret) return XML * return subst(alltrim(xml),1,len(alltrim(xml))-5) ***************************** METHOD End() ...
by rterraz
Sat May 12, 2012 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: webservice desde FWH
Replies: 0
Views: 800

Re: No puedo acceder a mi FTP

... FTPGETFILESIZE ) { DWORD nFileSizeHigh; hb_retnl( ( LONG ) FtpGetFileSize( ( HINTERNET ) hb_parnl( 1 ), &nFileSizeHigh ) ); } HB_FUNC( INTERNETREADFILE ) { DWORD nBytesRead; BOOL lSuccess = InternetReadFile( ( HINTERNET ) hb_parnl( 1 ), hb_parc( 2 ), hb_parclen( 2 ), &nBytesRead ...
by mgsoft
Wed Aug 03, 2011 1:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo acceder a mi FTP
Replies: 4
Views: 989

Warning W8075

... I compile: Warning W8075 c:\\myapp\\test\\FTP.PRG 645: Suspicious pointer conversion in function HB_FUN_INTERNETREADFILE Line is: BOOL lSuccess = InternetReadFile( ( HINTERNET ) hb_parnl( 1 ), hb_parc( 2 ), hb_parclen( 2 ), &nBytesRead ); And whole function ...
by ukservice
Sun May 29, 2011 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W8075
Replies: 13
Views: 3222

Re: Compile Error

... hb_parc( 1 ), cbInQueue, cbOutQueue ) ); hb_retl( InternetFindNextFile( ( HINTERNET ) hb_parnl( 1 ), ( char * ) hb_parc( 2 ) ) ); BOOL lSuccess = InternetReadFile( ( HINTERNET ) hb_parnl( 1 ), ( char * ) hb_parc( 2 ), hb_parclen( 2 ), &nBytesRead );
by Antonio Linares
Sat Oct 30, 2010 6:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error
Replies: 12
Views: 2751

Re: Compile Error

... pointer conversion in function HB_FUN_ INTERNETFINDNEXTFILE Warning W8075 ezsat.prg 23588: Suspicious pointer conversion in function HB_FUN_ INTERNETREADFILE Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland * Application successfully built * In the older version I had no warnings ...
by Jeff Barnes
Sat Oct 30, 2010 12:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error
Replies: 12
Views: 2751

Compile Error

... pointer conversion in function HB_FUN_ INTERNETFINDNEXTFILE Warning W8075 EzSat.prg 23588: Suspicious pointer conversion in function HB_FUN_ INTERNETREADFILE Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Fatal: Too many DEF file names: \bcc582\lib\wininet.LIB * Linking errors *
by Jeff Barnes
Fri Oct 29, 2010 8:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error
Replies: 12
Views: 2751

Re: Help to access Web Service

Hi James,

Thanks for your hint. I'm playing with WinInet for some days, but instead InternetReadFile(), I think that I need InternetWriteFile(), but it is not so easy to use, please see at msdn and another problem, I need use SOAP protocol, or ws will reject my request...

Regards,

Toninho.
by toninhofwi
Tue Sep 29, 2009 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help to access Web Service
Replies: 11
Views: 3968

... C:\FWH\SAMPLES\TESTFTP .OBJ Error: Unresolved external 'FtpGetFileSize' referenced from C:\FWH\SAMPLES\TESTF TP.OBJ Error: Unresolved external 'InternetReadFile' referenced from C:\FWH\SAMPLES\TES TFTP.OBJ Drücken Sie eine beliebige Taste . . .
by Otto
Sun Feb 10, 2008 9:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ftp and tprogress
Replies: 24
Views: 3598

You have to use InternetWriteFile() instead of InternetReadFile(). Study my sample and improve it accordingly.

EMG
by Enrico Maria Giordano
Sun Feb 10, 2008 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ftp and tprogress
Replies: 24
Views: 3598

FiveWin / Internet use Wininet.dll

... from a PHP program. Unfortunately I cannot pick the values out. Someone already solved the problem regards, Carsten sbuffer = empty function InternetReadFile( hFile ,sBuffer,lNumBytesToRead,lNumberOfBytesRead ) local hDLL := iIf( ValType( xdll ) == "N", xdll, LoadLib32( "xdll" ) ) local uResult ...
by cgraeber
Tue Sep 04, 2007 11:35 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: FiveWin / Internet use Wininet.dll
Replies: 1
Views: 1863

Antonio, I received the new update, but now it appears the following error: FiveCE.lib(TFTPFILE.obj) : error LNK2001: unresolved external symbol HB_FUN_INTERNETSETFILEPOINTER FiveCE.lib(TFTPFILE.obj) : error LNK2001: unresolved external symbol HB_FUN_INTERNETREADFILE FiveCE.lib(TFTPFILE.obj) : error...
by vilian
Tue Jan 23, 2007 2:23 pm
 
Forum: FiveWin for Pocket PC
Topic: tftp class
Replies: 62
Views: 25027

... If empty(hFile) ? "Não foi possivel conectar." else //InternetWriteFile(hFile, @sBuffer, 3200, @Ret) sBuffer:= Space(3200) InternetReadFile(hFile, @sBuffer, 3200, @Ret) InternetCloseHandle(hFile) InternetCloseHandle(hOpen) If Empty(sBuffer) MsgStop("Erro conectar servidor ...
by clemerson
Wed Apr 05, 2006 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SOAP message
Replies: 3
Views: 2037

Return to advanced search