C++Builder 5.0 WinNT 4.0
ChangeLog 2010-01-18 17:52 UTC-0800 Pritpal Bedi (Rev. 13639)
I get the following warnings:
---
Warning W8004 ../../../ppcore.c 4273: 'szSwitch' is assigned a value that is
never used in function hb_pp_proce
Revision: 13639
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13639&view=rev
Author: vouchcac
Date: 2010-01-19 02:03:23 + (Tue, 19 Jan 2010)
Log Message:
---
2010-01-18 17:52 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
* contrib/hbqt/hbqt_base.cpp
Hi, in a almost plain vanilla Debian Lenny doesn't run:
Paquete: libqt4-dev
Estado: instalado
Instalado automáticamente: no
Versión: 4.4.3-1
Prioridad: opcional
Sección: libdevel
Desarrollador: Debian Qt/KDE Maintainers
Tamaño sin comprimir: 23,4M
Depende de: libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1
Hi Przemek,
I understand these, but these are WinCE _OS_ calls,
not RTL ones, so even if they are present in some
buggy headers shipped with some compilers, the OS doesn't
provide them, regardless of compiler. (there may be
exceptions, but this should be clearly documented
f.e. in MS headers)
Revision: 13638
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13638&view=rev
Author: vszakats
Date: 2010-01-18 23:41:57 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-19 00:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
*
On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
> I understand this, but since in 95% of cases we're
> doing well with simple #if guards, I'm not sure all
> of these exceptions are valid one. F.e. the ones
> I mentioned are solely used in GTWVT and GTWVG, pretty
> easy to guard them, although f.e. i
great, i´ll report this
i´ll try
Thanks,
Fernando
De: Viktor Szakáts
Para: Harbour Project Main Developer List.
Enviadas: Segunda-feira, 18 de Janeiro de 2010 11:44:40
Assunto: [Harbour] SET PRINTER TO
Hi All,
Above extension works in xhb but is not suppor
WIch version of mingw have this capability (direct linking with .DLL)?
I remember a post (pritpal??) where mingw lack on microsoft visual c++ on
follow point
dll integration,Multiple resource file rc
2010/1/18 Przemysław Czerpak
> Please also remember that new MinGW compilers
> support direct
Revision: 13637
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13637&view=rev
Author: vszakats
Date: 2010-01-18 19:37:26 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 20:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extrap.c
* src/r
> On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
>> Is there any particular reason to define stubs
>> for non-WinCE winapi calls in hbwince.c, like
>> Ellipse(), Arc(), FrameRect(), FloodFill(),
>> FreeResource()?
>> Looks like these could be simply handled by
>> HB_OS_WIN_CE guards, just like we d
> On Mon, 18 Jan 2010, vszak...@users.sourceforge.net wrote:
>> 2010-01-18 19:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
>> * src/common/hbwince.c
>>- Deleted definition of FreeResource(). It's noe used anywhere
>> in Harbour, and its declaration was also missing.
>
> See contrib/
On Mon, 18 Jan 2010, vszak...@users.sourceforge.net wrote:
> 2010-01-18 19:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
> * src/common/hbwince.c
> - Deleted definition of FreeResource(). It's noe used anywhere
> in Harbour, and its declaration was also missing.
See contrib/gtwvg/w
Revision: 13636
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13636&view=rev
Author: druzus
Date: 2010-01-18 19:09:05 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 20:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin
On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
> Is there any particular reason to define stubs
> for non-WinCE winapi calls in hbwince.c, like
> Ellipse(), Arc(), FrameRect(), FloodFill(),
> FreeResource()?
> Looks like these could be simply handled by
> HB_OS_WIN_CE guards, just like we do for al
Revision: 13635
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13635&view=rev
Author: vszakats
Date: 2010-01-18 18:58:02 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 19:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbwince.c
Hi All,
With gtwin, in non-UNICODE build, HB_GTI_WINTITLE
encodes the strings wrongly, as it uses OSCODEPAGE,
which is set to ANSI for proper encoding, while in
this case it should use OEM codepage because that's
what console API requires.
Any idea what is the proper fix here?
Brgds,
Viktor
Hello, I generate 64-bit EXE from my WinXP SP3 Harbor (SVN) + inGW (all
32bit)?
If yes, how?
TIA
BestRegards
GVS
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbo
Hi Pritpal,
- Right-click GPF is gone. Thank you.
This was again the case where a GPF had to be corrected on
.prg level, so IMO we should explore the possibilities
to avoid such .prg level error to cause a GPF in the first place.
An RTE is a much friendlier behavior in this case.
- The
>> Should be HB_TRUE and HB_FALSE, since they are
>> passed to hb_retl() which is a Harbour API.
>>
>>
>>
>>
>>> + object->setProperty( prop, ( int ) listBlock.size() );
>>> +
>>> + return HB_TRUE;
>>> }
>>> + return HB_FALSE;
>>
>> Should be true and false, since the return val
> With an earlier version 13549 compiled 100% for BCC. With the latest
> releases from Harbor began to appear that these errors. If I can fix it for
> me to continue to use BCC ?
>
>
> Franček Prijatelj wrote:
>>
>> I use mingw and MSVC8 with minigui extended (distribution by Grigory
>> Filatov)
Hello Franček Prijatelj,
With an earlier version 13549 compiled 100% for BCC. With the latest
releases from Harbor began to appear that these errors. If I can fix it for
me to continue to use BCC ?
Franček Prijatelj wrote:
>
> I use mingw and MSVC8 with minigui extended (distribution by Grigor
Hi
Viktor Szakáts wrote:
>
>> +HB_FUNC( HBQT_ISEMPTYQTPOINTER )
>> +{
>> + QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 );
>> +
>> + if( p && p->ph )
>> + hb_retl( false );
>> + else
>> + hb_retl( true );
>> +}
>
> Should be HB_TRUE and HB_FALSE, since the
Revision: 13634
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13634&view=rev
Author: vouchcac
Date: 2010-01-18 18:01:06 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 09:55 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
* contrib/hbide/hbide.prg
*
Hi Pritpal,
On 2010 Jan 18, at 18:54, vouch...@users.sourceforge.net wrote:
> Revision: 13633
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13633&view=rev
> Author: vouchcac
> Date: 2010-01-18 17:54:15 + (Mon, 18 Jan 2010)
>
> Log Message:
> ---
Revision: 13633
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13633&view=rev
Author: vouchcac
Date: 2010-01-18 17:54:15 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 09:14 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
* contrib/hbqt/hbqt.h
* con
> Thank You.
> I see in hbdefs.h:
>
> /* Include windows.h if applicable and requested */
> #if defined( HB_OS_WIN_USED ) && defined( HB_OS_WIN )
>
> #include
> #if defined( __GNUC__ )
> #define HB_DONT_DEFINE_BASIC_TYPES
> #endif
>
> But I'am compiling daily minigui extended with mi
Hi
Thank You.
I see in hbdefs.h:
/* Include windows.h if applicable and requested */
#if defined( HB_OS_WIN_USED ) && defined( HB_OS_WIN )
#include
#if defined( __GNUC__ )
#define HB_DONT_DEFINE_BASIC_TYPES
#endif
But I'am compiling daily minigui extended with mingw and MSVC8.
Thank you.
Is there any particular reason to define stubs
for non-WinCE winapi calls in hbwince.c, like
Ellipse(), Arc(), FrameRect(), FloodFill(),
FreeResource()?
Looks like these could be simply handled by
HB_OS_WIN_CE guards, just like we do for all
other similar case.
Brgds,
Viktor
On
> I use mingw and MSVC8 with minigui extended (distribution by Grigory
> Filatov)
> and I have no problems with any compiler.
> Because minigui uses win32 appi, You have to #include
You have to _request_ windows.h using HB_OS_WIN_USED
(formerly HB_OS_WIN32_USED).
That's all. MINIGUI code wasn't
> Hi
>
> You have to insert #include "windows.h" in every *.c file. (after #include
> "hbapi.h")
> I did it localy and it works.
No, it's wrong solution. It's one of the most
popular misconceptions about using windows API
with Harbour.
Instead, see these:
2010-01-13 15:10 UTC+0100 Viktor Sz
Hi
I use mingw and MSVC8 with minigui extended (distribution by Grigory
Filatov)
and I have no problems with any compiler.
Because minigui uses win32 appi, You have to #include
BRGS
Rossine wrote:
>
> Hello Horodyski,
>
> I use minigui extended. Currently I use Borland BCC. What is the adv
Hi
It's a consequence of . and commenting out #include "windows.h"
Franček Prijatelj wrote:
>
> Hi
>
> You have to insert #include "windows.h" in every *.c file. (after #include
> "hbapi.h")
> I did it localy and it works.
> It's a consequence of latest replacements of X types wit
Hi
You have to insert #include "windows.h" in every *.c file. (after #include
"hbapi.h")
I did it localy and it works.
It's a consequence of latest replacements of X types with HB_ in
Harbour trunk.
Anyhow I think that Grigory Filatov will have to change it.
BRGS
Rossine wrote:
>
>
Revision: 13632
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13632&view=rev
Author: druzus
Date: 2010-01-18 16:03:09 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 17:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwin
On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
Hi,
> Shouldn't we just delete them?
> We can retrieve them from old SVN revisions anytime.
Yes, we should.
I'll remove them in next commit.
best regards,
Przemek
___
Harbour mailing list (attachment size lim
Shouldn't we just delete them?
We can retrieve them from old SVN revisions anytime.
Brgds,
Viktor
On 2010 Jan 18, at 15:41, dru...@users.sourceforge.net wrote:
> Revision: 13629
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13629&view=rev
> Author: druzus
> Dat
Revision: 13631
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13631&view=rev
Author: vszakats
Date: 2010-01-18 15:36:56 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 16:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbcompdf.h
* s
Hi!
Still can not print graphics for example, chr(178).
#include 'hbwin.ch'
REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PTISO
Procedure Main ()
aPrn := GetPrinters()
HB_CDPSelect( "PTISO" )
HB_LANGSELECT( 'PT' )
If empty(aPrn)
MsgStop("Error")
return .f.
EndIf
oPrn := win_prn():New(GetDefau
Hello All,
Thanks for the tips and explanations but for now I want to continue using
the borland. Today I tried to compile with the 13627 release and the errors
continue. Using the 13549 release everything works OK.
Below I list some of the errors:
[ERRORS]
MiniGui.lib
Borland C++ 5.5.1 for
wapi won't work for sure in linux
In linux, to have a really detached process I usually do a:
at -f "/path/to/a/shell/script" now
In this way I'm sure stdout,stderr,stdin are "free"
at returns immediately and the daemon atq runs the detached job.
Another way is to use:
nohup /path/to/a/shell/scr
Revision: 13630
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13630&view=rev
Author: druzus
Date: 2010-01-18 14:54:31 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 15:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hb
Hi All,
Above extension works in xhb but is not supported
in Harbour. Actually for good reason, so my intent
is not to propose it for inclusion, but I still wonder
what is the easiest way (least code change) to achieve
the same result in Harbour.
[ NOTICE: This feature can only work if printe
Revision: 13629
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13629&view=rev
Author: druzus
Date: 2010-01-18 14:41:12 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 15:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwin
On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
> It works alright on both Win95 and Win98. (also on Win7)
Thank you.
In my WINE version it returns IDOK even if I choose "CANCEL" so :create()
method also returns .T.
best regards,
Przemek
___
Harbour mailing
francesco perillo escribió:
wapi_shellexecute(,,::pdfFileName ) DID WORK !
Hi francesco !
I have one more question to add to your interesting post...
What is the linux equivalent to that ?
I want to achieve exactly the same but on linux.
TIA
Angel
Revision: 13628
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13628&view=rev
Author: vszakats
Date: 2010-01-18 14:31:20 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 15:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/testp
It works alright on both Win95 and Win98. (also on Win7)
Brgds,
Viktor
On 2010 Jan 18, at 14:57, dru...@users.sourceforge.net wrote:
> Revision: 13627
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13627&view=rev
> Author: druzus
> Date: 2010-01-18 13:57:04 +
Hi Maurilio,
> I've never used tprn, but given a .png file you need to read it so that you
> have a DIB or BITMAP in memory.
>
> I think that using freeimage you can achieve such a result.
>
> I hope this can, at least, point you in the right direction.
Thanks for the suggestion, and this may i
Revision: 13627
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13627&view=rev
Author: druzus
Date: 2010-01-18 13:57:04 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 14:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi
Revision: 13626
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13626&view=rev
Author: vszakats
Date: 2010-01-18 13:37:42 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 14:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* hbwin/hbwapi.h
* hbwin/
On Mon, 18 Jan 2010, vszak...@users.sourceforge.net wrote:
> 2010-01-18 13:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
> * contrib/hbwin/win_prn1.c
> * contrib/hbwin/hbwapi.h
> * Renamed static GC related functions.
> ! WIN_SETPEN() fixed to retrieve pointer from _2nd_ param.
>
> Now I found 2 problem with letodb.
> error LNK2019: unresolved external symbol _hb_cdpnTranslate referenced in
It's an obsolete function since 1.0.1, it must be
fixed like I did recently on SVN. Pls see those
entries and diffs for details.
> function _letoKeyToStr
> error LNK2019: unresolved
Revision: 13625
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13625&view=rev
Author: vszakats
Date: 2010-01-18 12:30:26 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 13:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn1.c
Now I found 2 problem with letodb.
error LNK2019: unresolved external symbol _hb_cdpnTranslate referenced in
function _letoKeyToStr
error LNK2019: unresolved external symbol _GetComputerNameA referenced in
function _leto_NetName
2009-09-11 20:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.p
On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
> > I can implement it but the tests will cause problem for me due to
> > limited access to MS-Windows machines.
> > Can I ask other users to make them?
> I can make tests on Win9x.
Thank you, I'll commit modifications ASAP.
best regards,
Przemek
___
>>> Win9x systems at all. This way at least users are
>>> free of surprises. ]
>> According to this:
>> http://msdn.microsoft.com/en-us/library/dd183576(VS.85).aspx
>> "If the function does not display the property sheet and is successful, the
>> return value is IDOK."
>> This is not terribly h
On Mon, 18 Jan 2010, Szak�ts Viktor wrote:
Hi,
> >> :AskProperties
> >> which allow to activate DocumentProperties dialog from :Create() method
> >> so user can make interactively his own settings. Below is xHarbour
> >> ChangeLog entry which introduced this feature.
> >> Question to windows use
Hi!
> It is strange. Qt documentation does not tell about Ctrl+W
> behavior with QPlainTextEdit() and I have not implemented it.
> Anybody has some clue.
This is a shortcut from the File menu. Remember the idea of letting
these and other settings in a custom file?
Regards,
Vailton Renato
___
Hi
Rodrigo Machado wrote:
>
> At open a file, in the OpenDialog set the default path equal the opened
> file.
>
Fixed to respect last opened path.
First time it will be hb_dirBase() + "projects".
Regards
Pritpal Bedi
--
View this message in context:
http://old.nabble.com/HBIDE-tp27132880
Hi
Rodrigo Machado wrote:
>
> - At press ESC is closed the file, equals CTRL+W.
> See this ScreenCast. http://www.teleguia.com.py/hbide/esc_bug.ogv
>
It is strange. Qt documentation does not tell about Ctrl+W
behavior with QPlainTextEdit() and I have not implemented it.
Anybody has some cl
Hello
Przemysław Czerpak wrote:
>
>> What is the syntax to pass self as pointer to a function
>> from withing C++ class.
>
> 'this'
>
Damm.
It goesin front of eyes in numerous examples, and I...
Thank you.
Regards
Pritpal Bedi
--
View this message in context:
http://old.nabble.com/C%2B
Viktor,
I've never used tprn, but given a .png file you need to read it so that you
have a DIB or BITMAP in memory.
I think that using freeimage you can achieve such a result.
I hope this can, at least, point you in the right direction.
Maurilio.
Viktor Szakáts wrote:
> Hi All,
>
> Can someo
Hi Przemek,
>> :AskProperties
>> which allow to activate DocumentProperties dialog from :Create() method
>> so user can make interactively his own settings. Below is xHarbour
>> ChangeLog entry which introduced this feature.
>> Question to windows users:
>> Do you think it's valuable extension?
>-Original Message-
>From: Massimo Belgrano [mailto:mbelgr...@deltain.it]
>Sent: Saturday, January 16, 2010 3:18 PM
>To: Harbour Project Main Developer List.
>Subject: [Harbour] How harbour create Multi Tier application?
>
...
>What is rpc protocol?
RemoteProcedureCall :
http://it.wikipe
Revision: 13624
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13624&view=rev
Author: vszakats
Date: 2010-01-18 10:40:16 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 11:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
Hi David,
>> I did notice it and thanks for these tests, but I'd suggest
>> to patch (or send patches for) existing .hbc files, after you
>> tested them with hbmk2 successfully using OS/2 specific 3rd
>> party lib names. It's rather inefficient if I edit them without
>> testing and we iterate it e
On Mon, 18 Jan 2010, Pritpal Bedi wrote:
Hi,
> What is the syntax to pass self as pointer to a function
> from withing C++ class.
'this'
best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://li
Revision: 13623
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13623&view=rev
Author: druzus
Date: 2010-01-18 10:21:26 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 11:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbinf
Hi All
What is the syntax to pass self as pointer to a function
from withing C++ class.
void some_c_function( PHB_ITEM a, SomeType * some )
{
}
MyClass::MyClass()
{
return some_c_function( hb_param( 1, HB_IT_ANY ), ( MyClass * ) MyClass
);
}
Regards
Pritpal Bedi
--
View this message in c
Viktor, thanks:
For example, nobody have response for my recent messages about
hbcurl, hbcairo, hbqt because are considered as irrelevant in this
moment
I did notice it and thanks for these tests, but I'd suggest
to patch (or send patches for) existing .hbc files, after you
tested them with h
Revision: 13622
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13622&view=rev
Author: vszakats
Date: 2010-01-18 10:04:53 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 11:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprn.pr
Revision: 13621
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13621&view=rev
Author: vszakats
Date: 2010-01-18 10:00:41 + (Mon, 18 Jan 2010)
Log Message:
---
2010-01-18 10:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprn.pr
The same with
HPDF_Page_GetMiterLimit
Best regards,
Saulius
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
I've integrated Harupdf in my program. Haru creates a file and I
wanted to open the satndard, system defined pdf viewer.
I opted to the simplest command:
run( ::pdfFileName )
This worked flawlessy in my XP pro development notebook, opening the
Acrobat Reader window while the Harbour program was
74 matches
Mail list logo