Search found 64 matches: declarations

Return to advanced search

Re: 3rd party c wrapper functions for harbour

... : I understand this is all you will need to build and test. Again, I believe the problem is with my wrapper functions or the structure declarations. The GPF happens when executing TOCRDoJob2(). Here is my new source: request hb_gt_win   //needed for console mode app.#define TOCRJOBTYPE_TIFFFILE ...
by reinaldocrespo
Sun Mar 26, 2017 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7561

Re: Upload to FTP

... to be available in WinINet.dll. The function I need is FtpSetCurrentDirectory(). My question is how do you know how to write the "DLL32" declarations. DLL32 Function FtpSetCurrentlyDirectory( hFtp AS LONG, cDirName AS LPSTR ) AS BOOL PASCAL FROM " FtpSetCurrentDirecotry " LIB ...
by Enrico Maria Giordano
Tue Feb 02, 2016 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Upload to FTP
Replies: 7
Views: 2102

Re: Upload to FTP

... to be available in WinINet.dll. The function I need is FtpSetCurrentDirectory(). My question is how do you know how to write the "DLL32" declarations. DLL32 Function FtpSetCurrentlyDirectory( hFtp AS LONG, cDirName AS LPSTR ) AS BOOL PASCAL FROM " FtpSetCurrentDirecotry " LIB ...
by byron.hopp
Fri Jan 29, 2016 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Upload to FTP
Replies: 7
Views: 2102

Re: PUBLIC var declaration issue

... at the top of the file, then I would only get warnings for undeclared locals. Once I got all those declared, then I could remove the MEMVAR declarations and get warnings for all the publics. What's your plan? PUBLIC => STATIC and PRIVATE => LOCAL? SublimeText and xEdit has wonderfull ...
by Carlos Mora
Tue Sep 01, 2015 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6525

Re: PUBLIC var declaration issue

... strings of letters with no meaning. I presume this was done since when I first worked with this code many years ago, there were no variable declarations, so everything was private. Thus every variable name had to be unique across the entire program. Maybe I actually could do both. First ...
by James Bott
Mon Aug 31, 2015 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6525

Re: PUBLIC var declaration issue

... the code. However it's hard to maintain 100% concentration on such a massive project. Ultimately I'll be able to eliminate 100% of any automatic declarations, and have everything super fine tuned ... but it is a massive project. It's one thing to convert the shell of a program, but yet another ...
by TimStone
Sun Aug 30, 2015 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6525

Re: PUBLIC var declaration issue

... from my computer when I last responded. Now that I have been able to lookup the /a, I remember why I don't use it. I don't want automatic memvar declarations since I am trying to document all vars used in each function. This is mainly so I can look for locals and privates that may be overriding ...
by James Bott
Sun Aug 30, 2015 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6525

PUBLIC var declaration issue

I never use PUBLICs, but today I am working on someone else's code and there are PUBLIC declarations. I kept getting "ambiguous reference" warnings for the PUBLICs. I finally figured out that it was only for those PUBLICs that are also initialized in the PUBLIC ...
by James Bott
Sat Aug 29, 2015 4:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6525

Re: FISAVEIMG() FILOAD() str 0 error

Nageswaragunupudi,
Delete dll declarations , run OK!
TKS!
Shuming Wang
by ShumingWang
Mon Apr 27, 2015 3:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FISAVEIMG() FILOAD() str 0 error
Replies: 2
Views: 531

Re: FISAVEIMG() FILOAD() str 0 error

I do not thing bas.prg and FIGETFILETYPE() function are not from FWH. If you just rely on DLL declarations inside Image.prg without any modifications, there should be no problem. For example, this small sample works well. function test()   local cSrc ...
by nageswaragunupudi
Sat Apr 25, 2015 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FISAVEIMG() FILOAD() str 0 error
Replies: 2
Views: 531

Re: CSV to DBF

... .t., .t. ) } )USE DESTINATION.DBF NEW ALIAS DSTDST->( FW_ArrayToDBF( aData ) )  function headers, variable declarations can be added. This logic preserves CRLFs and commas with in double quoted strings.
by nageswaragunupudi
Fri Aug 23, 2013 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CSV to DBF
Replies: 22
Views: 9392

Re: compile error. TO : Antonio.

... <---- error The C++ language allows that, but not the C language. So take that line under the above variables declarations: LONG lStatus; DWORD dwLastError; WINTRUST_FILE_INFO FileData; GUID WVTPolicyGUID = WINTRUST_ACTION_GENERIC_VERIFY_V2; <---- error ... ...
by Antonio Linares
Mon Jul 29, 2013 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: compile error. TO : Antonio.
Replies: 4
Views: 864

Re: Building FWH

... at 'STATIC'" classes\dialog.prg(526) Error E0030 Syntax error "syntax error at 'STATIC'" 3 errors These are due to the following declarations. As it is a syntax error I'm assuming it is another improperly referenced .ch file. But, as I am compiling this with msvc, I am not sure ...
by rhlawek
Fri Jul 26, 2013 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Building FWH
Replies: 11
Views: 3964

Re: Problems with an application using ADO

Nothing important but there are still two METHOD Refresh declarations in tmsgitem.prg. :-)

EMG
by Enrico Maria Giordano
Wed Jun 12, 2013 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with an application using ADO
Replies: 63
Views: 10500

Re: Converting DBFCDX to SQL (ADO)

... much of the same information you already know or currently use .. Also, I have found that you should try to use Locals for your oRs variable declarations and pass them as parameters to your various functions. If you do use Statics .. you may run into situations where you get variable creep ...
by Rick Lipkin
Tue May 14, 2013 1:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting DBFCDX to SQL (ADO)
Replies: 21
Views: 6145
PreviousNext

Return to advanced search