Re: [Harbour] hbvpdf: how set the Page Size?

2010-05-22 Thread Jarosław Kądzioła
Hi,




> function main()
>local oPdf
>oPdf := tPdf():New( 'test.pdf' )
>oPdf:NewPage( "A4", "P", 6 )
>oPdf:Center("Test")
>oPdf:Close()
> return nil

> The "test.pdf" file has always the same size: 8,5 in. x 11 in.,  althoug
> replacing "A4" by "LETTER", "A3"...etc

I'm using :

HPDF_Page_SetHeight()
HPDF_Page_SetWidth()


-- 
Regards,
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[14488] trunk/harbour

2010-05-15 Thread Jarosław Kądzioła
Hi Viktor,


> + Readded hbsms lib.

Thanks a lot !! I'll try it at monday (access to phohe plugged to PC).

-- 
Regards,
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error building WinCE

2010-02-20 Thread Jarosław Kądzioła
Hi,


> Since there is no visible error in above log, I can 
> just guess it's an installation problem. INSTALL says 
> you need Cygwin in PATH, probably it's missing.

Cygwin added to path and full log is :

! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
! MAKE: win-make 3.81 D:/hb20/cygwin/bin/sh.exe clean install  
! HB_INSTALL_PREFIX: D:\LASTHB\HARBOUR\
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: wce (arm) (autodetected)
! HB_COMPILER: mingwarm (autodetected: D:/hb20/comp/mingwarm/opt/mingw32ce/bin/)
! HB_BIN_COMPILE: D:\LASTHB\HARBOUR\bin
! Component: 'zlib' found in D:/LASTHB/HARBOUR/external/zlib (local)
! Component: 'pcre' found in D:/LASTHB/HARBOUR/external/pcre (local)
! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL.
! Component: 'gpm' not supported on wce platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not found. Configure with HB_WITH_CURSES.
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on wce platform
! 'gtcrs' library skipped (component not found)
! 'gtdos' library skipped (platform not supported)
! 'gtos2' library skipped (platform not supported)
! 'gtsln' library skipped (component not found)
! 'gttrm' library skipped (platform or compiler not supported)
! 'gtwin' library skipped (platform not supported)
! 'gtxwc' library skipped (component not found)
! 'gtwvg' library skipped (platform not supported)
! 'gtalleg' library skipped ('allegro' not supported with mingwarm compiler)
! 'hbblat' library skipped (platform not supported)
! 'hbcairo' library skipped ('cairo' not found. Configure with HB_WITH_CAIRO.)
! 'hbcurl' library skipped ('libcurl' not found. Configure with HB_WITH_CURL.)
! 'hbfbird' library skipped ('firebird' not found. Configure with 
HB_WITH_FIREBIRD.)
! 'hbfimage' library skipped ('freeimage' not found. Configure with 
HB_WITH_FREEIMAGE.)
! 'hbgd' library skipped ('libgd' not found. Configure with HB_WITH_GD.)
! 'hbmysql' library skipped ('mysql' not found. Configure with HB_WITH_MYSQL.)
! 'hbpgsql' library skipped ('postgresql' not found. Configure with 
HB_WITH_PGSQL.)
! Using QT 'moc' executable: D:\Qt\4.5.3\include\..\bin\moc.exe (autodetected)
! 'hbssl' library skipped (component not found)
! 'rddads' library skipped ('ads' not found. Configure with HB_WITH_ADS.)
! 'sddmy' library skipped ('mysql' not found. Configure with HB_WITH_MYSQL.)
! 'sddpg' library skipped ('postgresql' not found. Configure with 
HB_WITH_PGSQL.)
! 'sddfb' library skipped ('firebird' not found. Configure with 
HB_WITH_FIREBIRD.)
! Skip install, destination dir 'D:\LASTHB\HARBOUR\\doc' is the same as source
! Skip install, destination dir 'D:\LASTHB\HARBOUR\\doc/en-EN' is the same as 
source
! Skip install, destination dir 'D:\LASTHB\HARBOUR\\include' is the same as 
source
arm-mingw32ce-gcc   -I. -I../../../../../include -O2 -fomit-frame-pointer 
-DHB_LEGACY_TYPES_OFF -DUNICODE  -D_WIN32_WCE  -osqlite3.o -c ../../../sqlite3.c
win-make[3]: *** [sqlite3.o] Error 1
win-make[2]: *** [descend] Error 2
win-make[1]: *** [sqlite3.inst] Error 2
win-make: *** [external.inst] Error 2


-- 
Regards,
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error building WinCE

2010-02-20 Thread Jarosław Kądzioła
Hi,


>> I'm trying build WinCE-HB and i get :
>> 
>> gcc   -I. -I../../../../../include -Wall -W -O2 -fomit-frame-pointer 
>> -DHB_LEGACY_TYPES_OFF -DUNICODE   -ohbpp.o -c ../../../hbpp.c
>> gcc  -L../../../../../lib/wce/mingwarm   -o 
>> ..\..\..\..\..\bin\wce\mingwarm\hbpp.exe hbpp.o -lhbnortl -lhbcommon 
>> -lcoredll -lws2 
>> d:/qt/4.5.3/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
>>  cannot find -lcoredll
>> collect2: ld returned 1 exit status
>> mingw32-make[3]: *** [hbpp.exe] Error 1
>> rm hbpp.o
>> mingw32-make[2]: *** [descend] Error 2
>> mingw32-make[1]: *** [pp.inst] Error 2
>> mingw32-make: *** [src.inst] Error 2
>> 
>> Waht's wrong ?
>> 
>> My batch :
>> 
>> SET PATH=D:\Qt\4.5.3\mingw\bin;%PATH%
>> SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin
>> SET HB_PLATFORM=wce
>> SET HB_COMPILER=mingwarm
>> SET HB_WITH_QT=D:\Qt\4.5.3\include
>> SET HB_DIR_QT=D:\Qt\4.5.3
>> SET HB_QT_STATIC=yes 
>> SET HB_INSTALL_PREFIX=%~dp0
>> win-make clean install %1 %2 > log-%HB_COMPILER%.txt 2>&1


> You will need the CEGCC version of mingw to create 
> WinCE Harbour build, the Win32 edition won't do. 
> See INSTALL for links and examples.

After modifications :

SET PATH=D:\hb20\comp\mingwarm\opt\mingw32ce\bin;%PATH%
SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin
SET HB_WITH_QT=D:\Qt\4.5.3\include
SET HB_DIR_QT=D:\Qt\4.5.3
SET HB_QT_STATIC=yes 
SET HB_INSTALL_PREFIX=%~dp0
mingw32-make clean install %1 %2 > log-%HB_COMPILER%.txt 2>&1

! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
! MAKE: win-make 3.81 sh.exe clean install  
! HB_INSTALL_PREFIX: D:\LASTHB\HARBOUR\
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: wce (arm) (autodetected)
! HB_COMPILER: mingwarm (autodetected: D:/hb20/comp/mingwarm/opt/mingw32ce/bin/)
! HB_BIN_COMPILE: D:\LASTHB\HARBOUR\bin
.
.
.
arm-mingw32ce-gcc   -I. -I../../../../../include -O2 -fomit-frame-pointer 
-DHB_LEGACY_TYPES_OFF -DUNICODE  -D_WIN32_WCE  -osqlite3.o -c ../../../sqlite3.c
win-make[3]: *** [sqlite3.o] Error 1
win-make[2]: *** [descend] Error 2
win-make[1]: *** [sqlite3.inst] Error 2
win-make: *** [external.inst] Error 2

And what's wrong now ?


-- 
Regards,
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error building WinCE

2010-02-20 Thread Jarosław Kądzioła
Hi,

I'm trying build WinCE-HB and i get :

gcc   -I. -I../../../../../include -Wall -W -O2 -fomit-frame-pointer 
-DHB_LEGACY_TYPES_OFF -DUNICODE   -ohbpp.o -c ../../../hbpp.c
gcc  -L../../../../../lib/wce/mingwarm   -o 
..\..\..\..\..\bin\wce\mingwarm\hbpp.exe hbpp.o -lhbnortl -lhbcommon -lcoredll 
-lws2 
d:/qt/4.5.3/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: 
cannot find -lcoredll
collect2: ld returned 1 exit status
mingw32-make[3]: *** [hbpp.exe] Error 1
rm hbpp.o
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [pp.inst] Error 2
mingw32-make: *** [src.inst] Error 2

Waht's wrong ?
  
My batch :

SET PATH=D:\Qt\4.5.3\mingw\bin;%PATH%
SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin
SET HB_PLATFORM=wce
SET HB_COMPILER=mingwarm
SET HB_WITH_QT=D:\Qt\4.5.3\include
SET HB_DIR_QT=D:\Qt\4.5.3
SET HB_QT_STATIC=yes 
SET HB_INSTALL_PREFIX=%~dp0
win-make clean install %1 %2 > log-%HB_COMPILER%.txt 2>&1

-- 
Regards
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[2]: [Harbour] Sending SMS

2010-02-13 Thread Jarosław Kądzioła
Witam,

W liście datowanym 13 lutego 2010 (15:22:33) można przeczytać:


> Hello Jaroslaw,


> Jarosław Kądzioła wrote:
>> 
>> Local cPort := "\\.\COM28"
>> Local phone_number := '123456789'
>> Local sms_text := 'This is SMS'
>> 
>> sms_Send( cPort, phone_number , sms_text , .T. )
>> 

> When trying to use the ports COM1 or COM3 is returned -3, to use COM2 me is
> returned .F.

> What can be wrong ? I have to have some program installed on a door ?

My configuration : Nokia phone plugged to USB port, driver for nokia
USB modem on port COM28 and Nokia PC Suite (i don't know whether it's
necessary). And it works perfectly.

-- 
Regards
Jaroslaw Kadzioła


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Sending SMS

2010-02-12 Thread Jarosław Kądzioła
Hi,


> Hello, 

> Is possible send an SMS from within an application made in harbour ? 

Yes

> An example ?

Local cPort := "\\.\COM28"
Local phone_number := '123456789'
Local sms_text := 'This is SMS'

sms_Send( cPort, phone_number , sms_text , .T. )


Compile with lib : hbsms, hbtpathy
-- 
Regards,
Jaroslaw Kadzioła


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[2]: [Harbour] OLE in WINCE

2009-08-22 Thread Jarosław Kądzioła
Hi,

> BTW have you made some tests with different fonts for console window
> in WinCE?
> I forgot to tell you about one important switch.
>hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS )
> disables automatic font resizing to screen dimensions.

I've use modificated wcecon.prg from harbour/tests :

+++
#include "hbgtinfo.ch"
proc main()
   altd()
   REQUEST HB_CODEPAGE_PL852
   cls
   hb_setCodePage( "PL852" )
   hb_setTermCP( "PL852" )   
   hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS )
   SetMode(40,25)
   For  i = 6 To 18
hb_gtInfo( HB_GTI_FONTSIZE, i )   
? "Fontsize"
? Str(i) + "Test : abcdefgh ABCDEFGH" 
? "Test : Ą˜ˆ©˘ľ«†ä ¤—ť¨ŕ˝ŤŹă" // polish characters like in attachment
? "rows =", ltrim( str( maxrow() + 1 ) )
? "cols =", ltrim( str( maxcol() + 1 ) )
inkey( 0 )
clear
   Next 
   Quit
+++

1.I don't see any difference between each size from 6 to 18 (see
attachment).
2.App's window is not on 'full screen'
3.Windows Keyboard is visible on bottom of screen
4.In string "Test : abcdefgh ABCDEFGH" char 'H' is cut
5.Not exists any kerning

-- 
Regards,
Jaroslaw Ksdziola

<>___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[2]: [Harbour] SF.net SVN: harbour-project:[12253] trunk/harbour

2009-08-22 Thread Jarosław Kądzioła
Hi,


> These symbols don't exist in any WinCE libs I have access to
> so OLE code will have to be fixed probably to not use them,
> or use some alternatives.

These symbols exist in my libhbwin.a. I use last nightly and
not any other sources.

---
Regards,
Jaroslaw Kadziola

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[12253] trunk/harbour

2009-08-22 Thread Jarosław Kądzioła
Hi,

> Revision: 12253

After this rev. i can build WinCE harbour but still i get :

$ hbmk2 testole
hbmk: Processing local make script: hbmk.hbm
 
hbmk: Processing configuration: F:\msys\1.0\hb-mingw\bin\hbmk.cfg   
 
hbmk: Processing: hbwin.hbc 
 
Harbour 2.0.0beta2 (Rev. 12247)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'testole.prg'...
Lines 429, Functions/Procedures 12
Generating C source output to 'testole.c'... Done.
F:/msys/1.0/hb-mingwarm/lib/libhbwin.a(olecore.o):olecore.c:(.text+0x18ec): 
undefined reference to `GetActiveObject'
F:/msys/1.0/hb-mingwarm/lib/libhbwin.a(oleinit.o):oleinit.c:(.text+0x14): 
undefined reference to `OleInitialize'
F:/msys/1.0/hb-mingwarm/lib/libhbwin.a(oleinit.o):oleinit.c:(.text+0x50): 
undefined reference to `OleUninitialize'
collect2: ld returned 1 exit status
hbmk: Error: Running linker. 1  
 
"F:/msys/1.0/opt/mingw32ce/bin/\arm-wince-mingw32ce-gcc.exe" testole.o 
hbmk_aeh7rj.o-lhbwin -lsms
-lCellCore -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi 
-lgtpca -lgtstd -lgtwvt -lgtgui
-lhbrdd -lhbusrrdd -lhbhsx -lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall 
-lrddnsx -lhbrtl -lhbvm -lhbmacro
-lhbcplr -lhbpp -lhbcommon -lhbpcre -lhbzlib -lcoredll -lws2 -lceshell -luuid 
-lole32 -loleaut32 -lwininet
-lcommdlg -lcommctrl  -otestole.exe -L"F:/msys/1.0/hb-mingwarm/lib"




Regards,
Jaroslaw Kadziola


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[2]: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jarosław Kądzioła
Witam,

W liście datowanym 14 sierpnia 2009 (19:36:43) można przeczytać:

> [piątek, 14 sierpień 2009], Jaroslaw Kadziola napisał(a):

> Hi,

>> > Thanks. In such case I'll update __run() and hb_run() in a while
>> > so you can test also them.
>> Unfortunately the same errors -1/87 after download hbproces.c from SVN
>> and build all libraries for WinCE.

> I hope that you haven't tested hb_processOpen() which I haven't updated
> for WinCE builds.

> If current hb_processRun() fails then please try to change in
> hbproces.c[219]:

>fError = ! CreateProcess( NULL,   /* lpAppName */
>  lpCommand,  /* lpCommandLine */

> to:

>fError = ! CreateProcess( lpCommand,  /* lpAppName */
>  NULL,   /* lpCommandLine */

This shot was OK, now hb_processRun() is OK. Thanks


-- 
Regards,
Jarosław Kądzioła


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[4]: [Harbour] SF.net SVN: harbour-project:[11892] trunk/harbour

2009-08-01 Thread Jarosław Kądzioła
Witam,

W liście datowanym 1 sierpnia 2009 (20:26:46) można przeczytać:

> [sobota, 01 sierpie� 2009], Jarosław Kądzioła napisa?(a):

> Hi

>> > Have you rebuild libraries for WinCE too?
>> Yes, all libraries from zero.

> Thank for the info.
> I've just check the whole code and it was disabled also in hbsetup.h.
> MT support in WinCE needed some additional modifications.
> Please try after:
>2009-08-01 20:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

Ok, i'll try at monday. Thanks for Your time.



--
Regards,
Jaroslaw Kadziola


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[2]: [Harbour] SF.net SVN: harbour-project:[11892] trunk/harbour

2009-08-01 Thread Jarosław Kądzioła
Hi

W liście datowanym 1 sierpnia 2009 (18:16:53) można przeczytać:


>> Unfortunately  after  [Harbour]  SF.net  SVN:  harbour-project:[11949]
>> the same error :
>> $ hbmk2 tstrcv -mt -b
>> hbmk: Processing configuration: G:\msys\1.0\hb-mingw\bin\hbmk.cfg
>> 
>> Harbour 2.0.0beta2 (Rev. 11949)
>> Copyright (c) 1999-2009, http://www.harbour-project.org/
>> Compiling 'tstrcv.prg'...
>> Lines 108, Functions/Procedures 4
>> Generating C source output to 'tstrcv.c'... Done.
>> Error Base/3012 Argument error : HB_THREADJOIN

> Have you rebuild libraries for WinCE too?

> best regards,
> Przemek

Yes, all libraries from zero.

-- 
regards
Jaroslaw Kadziola
kom. +48 504 575 451

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[2]: [Harbour] SF.net SVN: harbour-project:[11892] trunk/harbour

2009-07-31 Thread Jarosław Kądzioła
Witam,

W liście datowanym 31 lipca 2009 (13:22:44) można przeczytać:

> [pi�tek, 31 lipiec 2009], Jaroslaw Kadziola napisa?(a):

> Witam,

>> >> > BTW I'm interesting in Windows results for above code so if possible
>> >> > please I would like to ask desktop windows and WinCE/WinMobile users
>> >> > to send here "total client time" for above test code executed in both
>> >> > modes.
>> >> After compiling with Msys+mingw and running on Mio P550 with WinMobile
>> >> 5.0 i get :
>> >> Error Base/3012 Argument error : HB_THREADJOIN
>> >> line 17: hb_threadJoin( hb_threadStart( @cli(), !empty( xPar ) ) )
>> > You have to link this code with hbvmmt library instead of hbvm.
>> > If you are using hbmk or hbmk2 please use -mt switch to force
>> > MT mode.
>> It was with -mt switch.
>> $ hbmk2 tstrcv -mt -b
>> hbmk: Processing configuration: G:\msys\1.0\hb-mingw\bin\hbmk.cfg
>> 
>> Harbour 2.0.0beta2 (Rev. 11919)
>> Copyright (c) 1999-2009, http://www.harbour-project.org/
>> Compiling 'tstrcv.prg'...
>> Lines 109, Functions/Procedures 4
>> Generating C source output to 'tstrcv.c'... Done.

> Ups. MT support is still disabled for WinCE. Sorry.
> Please rebuild Harbour after:
>2009-07-31 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
>  * harbour/include/hbthread.h
>! unblocked MT compilation for WinCE

> and then compiler tstrcv again.

Ok, I'll try later. Thanks for replay and clarification.

-
Regards,
Jaroslaw Kadziola


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Release packages: 1.1.0dev [20090530]

2009-05-30 Thread Jarosław Kądzioła
Hi Viktor,

Saturday, May 30, 2009, 8:37:59 AM, you wrote:

VS> Hi All,

VS> I've updated the unified release to the latest Harbour version:

VS> http://www.syenar.hu/harbour/harbour-11-win-20090530.7z (36MB)
VS> http://www.syenar.hu/harbour/harbour-11-win-20090530.exe (38MB)
VS> Installed size: 167MB (37MB - 250MB)

VS> Changes since previous release:
VS> - Harbour updated to r11179 (from r10819)
VS> - Full and now standalone 'examples'
VS> - 'tests' with subdirs included.
VS> - No longer included pocc/pocc64/poccarm libs.
VS> - QT updated to 4.5.1
VS> - MinGW updated to 4.4.0

VS> The default installation will install MinGW compiler + x86 static and
VS> shared libs, MSVC and BCC x86 libs and examples.

VS> Options: x86 shared tools, x64 shared tools, MinGW x64 and WinCE-ARM libs,
VS> MSVC x64 libs, Open Watcom x86 libs, shared x64/WinCE-ARM libs.

Very good job ! All in one place - thanks so much Viktor.

-- 

Regards
Jaroslaw Kadziola


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re[8]: [Harbour] SF.net SVN: harbour-project:[11104] trunk/harbour

2009-05-27 Thread Jarosław Kądzioła
Hi Viktor,

Wednesday, May 27, 2009, 10:50:01 AM, zou wrote:


VS> I'm not sure what's happening here, I've tried this from the command line
VS> and it didn't give the error, so I guess it has something to do with some
VS> properties of the embedded compiler. Or maybe I'm missing something
VS> obvious.

VS> Przemek, do you have an idea what this could be or how to prevent it?

VS> I'll try to create a workaround until then.

After SVN 11149 i can build hbsuper.lib with msys + mingw.
Tomorrow i'll try compile my app with this library.
Thanks so lot.

-- 
Regards,
 Jaroslaw Kadziola


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour