Search found 190 matches

by Davide
Fri Jul 08, 2011 11:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Printing Arabic Text
Replies: 4
Views: 1213

Re: Printing Arabic Text

Dear Rao,
hua wrote:#define ARABIC_CHARSET 178

oFnt := TFont():New( "Courier New", 0, -11,,,,, 700,,,, ARABIC_CHARSET, 3, 2, 1, oPrn )
thank you. Would this work even for 2-bytes languages, such as chinese for example ?

Tnx,
Davide
by Davide
Thu May 26, 2011 11:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to print on a previous page
Replies: 4
Views: 856

Re: How to print on a previous page

Robert, I have problems with read in Spanish too, but if I good understood point is that you have to use WMF file to put number of page. not exactly. Tprinter itself creates an EMF for each page. Their names are in ::aMeta The technique in that post, after creating the EMF's, loops them and adds the...
by Davide
Wed May 18, 2011 1:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Smtp help needed
Replies: 13
Views: 3237

Re: Smtp help needed

Randal,
Randal wrote:Do you have IIS installed? If you do a google search for CDO + Windows 7 you can find plenty of information to verify that CDO is not install on Win 7 computers by default.
just tested my Win7 professional 64bit and CDO works good without having me to install anything special.

Hi,
Davide
by Davide
Wed May 18, 2011 12:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: OT c:\windows\winsxs folder under in WINDOWS 7
Replies: 3
Views: 533

Re: OT c:\windows\winsxs folder under in WINDOWS 7

Marco,

in my Win7 Professional 64 bit in winsxs I have 46426 files, 11840 folders, 7,56Gb

Hi,
Davide
by Davide
Wed May 18, 2011 12:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Recompiling mapi.c
Replies: 11
Views: 3712

Re: Recompiling mapi.c

I'm trying to recompile the MAPI.C from Daniel at http://forums.fivetechsupport.com/viewtopic.php?f=6&t=19428&p=107611&hilit=mapi.c#p107611 , but: Compiling... Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland mapi.c: Warning W8017 \xharbour\include\hbapi.h 206: Redefinition of ...
by Davide
Tue May 17, 2011 5:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Recompiling mapi.c
Replies: 11
Views: 3712

Re: Recompiling mapi.c

Lapsus: How do I recompile a C module with xH/Bcc5.5 (FWH 9.05) ?

Tnx,
Davide
by Davide
Tue May 17, 2011 2:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Recompiling mapi.c
Replies: 11
Views: 3712

Re: Recompiling mapi.c

James,

I meant leaving the default behaviour if the array has only 2 elements (for backward compatibility) and adding the specific type only if there's the third element in the array.

Hi,
Davide
by Davide
Tue May 17, 2011 1:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Recompiling mapi.c
Replies: 11
Views: 3712

Re: MAPI

Hi, it would be nice in a future FWH version that instead of:          #ifdef KOCUM             target[ w ].ulRecipClass = _parnl( -1, 3 ) ;          #else             target[ w ].ulRecipClass = IF( w == 0, MAPI_TO, MAPI_CC ); // _parnl( -1, 3 ) ;          #endif   it would automatically check if th...
by Davide
Sat May 07, 2011 12:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket Bug
Replies: 21
Views: 4361

Re: Tsocket Bug

Dear Hakan,
Horizon wrote:I have 11.01. When I try to run SockCli.prg as an example without running SockSer.prg, Tsocket runs to bConnect. I think it should say can not connected.
unfortunately I never solved the problem above, and I'm still on 9.05

Hi,
Davide
by Davide
Sat Mar 05, 2011 1:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SetFTime() conversion error
Replies: 8
Views: 2190

Re: SetFTime() conversion error

Dear Badara, See below the actual state of my function SETFDATI(). You can see here where was the problem. thank you. I finally found out that GetFTime() retrieves the same date/time of SetFTime(), so I solved my problem that way. To retrieve the difference in hours (GMT+/-) you can just compare the...
by Davide
Sat Mar 05, 2011 2:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: SetFTime() conversion error
Replies: 8
Views: 2190

Re: SetFTime() conversion error

Dear Badara, I think i have found the problem, it was in my code. I used DTOS() to pass the date parameter to SetFTime() I too have have the problem that the Time is GMT, so it's different when you look at the file with DIRECTORY (or just with a DIR from the Command Prompt) Could you please explain ...
by Davide
Wed Aug 18, 2010 10:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: Checking for a Windows 64-bit
Replies: 20
Views: 5832

Re: Checking for a Windows 64-bit

Daniel, we can not change IsWin64() functionality, maybe other user use this function you're right, but if someone did you use it as advertised in the Wiki (like I did), they've already found it doesn't work that way. I would suggest: 1) Rename IsWin64() as IsMyPrg64() (including all the calls to Is...
by Davide
Tue Aug 17, 2010 10:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Checking for a Windows 64-bit
Replies: 20
Views: 5832

Re: Checking for a Windows 64-bit

Daniel, the applications built in 64bit no run in 32bits this is the point. If I'm using FHW64 I have no need for a IsWin64() function because my program would not run on any other platform. If I'm using FWH32 instead (like I am), then I need IsWow64() to know whether the host OS is a 32 or 64 bit o...
by Davide
Tue Aug 17, 2010 1:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: Checking for a Windows 64-bit
Replies: 20
Views: 5832

Re: Checking for a Windows 64-bit

Daniel, The function IsWin64 return .T. / .F. if the application was built under 64 Function IsWow64 return .T. / .F. if the application was built in 32bit and run over 64 HB_FUNC( ISWIN64 ) // Check if Windows 64 is running   Yes. I believe that the comment should be: HB_FUNC( ISWIN64 ) // Check if...
by Davide
Tue Aug 17, 2010 12:53 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH32 cannot read 64bit Registry Keys
Replies: 12
Views: 1714

Re: FWH32 cannot read 64bit Registry Keys

Daniel, What version do you use...?? one year ago the class and function was modified I'm still on FWH905 but, unless you've already provided that optional flag, the need is independent by the programming language/version. As you can see at http://msdn.microsoft.com/en-us/library/aa384129%28v=VS.85%...