Hi,
Viktor Szakáts wrote:
While I'm comfortable at the command line, I couldn't yet
find an alternative for Far Manager on *nix systems.
Midnight commander is equivalent on Linux.
Regards,
Mindaugas
___
Harbour mailing list (attachment size
Hi,
#ifdef FIRST1
oPdfApp:cOption( UseAutoSave ) := 1 // Compiler error
#endif
#ifdef FIRST2
oPdfApp:cOption( UseAutoSave , 1 ) // runtime error
#endif
//
I've used OleView.exe to see PDFCreator methods. It shows:
[id(0x68030009), propget]
HRESULT cOption([in] BSTR PropertyName,
Hi,
Viktor Szakáts wrote:
It's supposed to be, but in practice it's just can't
work nearly that smoothly. F.e. even PgUp/PgDn died
(or maybe it never worked) to navigate, I have to
press Esc twice to exit a View/Edit window, Insert
key doesn't work, the editor is quite limited in
Hi,
In Harbour I can:
? object:cOption(property) and have the correct value
but I don't know how to set that value !
Do you have any self contained sample?
object:cOption(property) := .T.
is not accepted by the compiler,
Just like STR(7) := .T.
object:cOption(property, .T.) is a
Hi,
does HB_GT_*_DEFAULT request forces HB_GT_* request? Or we should add both?
Regards,
Mindaugas
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
Hi,
Chen Kedem wrote:
I'm testing Rev12864 with Borland C++Builder 5.0 on a WinNT 4.0.
A normal build run just fine, but when I try to build it with CodeGoard
I get an error.
process_begin: CreateProcess(NULL, ../../../../../bin/win/bcc/hbpp.exe
../../../../../include/hbstdgen.ch -opptable.c
Hi,
AGAIN
To open a table concurrently in multiple work areas, you can do one of
the following:
Select another work area and issue USE with the table name and the AGAIN clause.
Issue USE with the table name and the AGAIN clause, and specify a
different work area with the IN clause.
When you
Hi,
Now you are writing:
Menu.o:Menu.c:(.data+0x12e8): undefined reference to `HB_FUN_NETIO'
In a last letter it was:
Menu.o:Menu.c:(.data+0x12e8): undefined reference to `HB_FUN_HB_NETIO'
Don't you think these are a different things? Why have you changed
REQUEST HB_NETIO
as suggested
Hi,
gvarona wrote:
I'm just testing of 2 ways:
REQUEST HB_NETIO
REQUEST NETIO
but with no work for me
What could be missing?
If you've added NETIO, you forgot to write your own IO driver, that
exports such name.
Regards,
Mindaugas
___
Harbour
Hi,
gvarona wrote:
(DOS Error 123)
Any TIP?
REQUEST HB_NETIO
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
gvarona wrote:
Menu.o:Menu.c:(.data+0x12e8): undefined reference to `HB_FUN_HB_NETIO'
Any idea?
hbnetio.lib
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
Hi,
in the beginning I was going to write a private email to Przemek and ask
about CDX detail, but more deep test gave me an answer.
The problem of the customers was that sometimes browse does not show
records (in scoped alias), but records for sure exist in database. We
found that
Hi,
ToninhoFWi wrote:
I had this problem in the past and I change ads1.c to trap it:
2008-09-22 16:19 UTC-0300 Antonio Carlos Pantaglione
toni...@fwi.com.br
* harbour/contrib/rddads/ads1.c
* using AdsCreateIndex61 when ADS_LIB_VERSION = 610. This
functions use ADS_DEFAULT as index page
Hi,
+ added XHB_AINS(), XHB_ADEL() functions which accept negative indexes.
Warning I haven't replicated xHarbour bugs in AINS() so it's not
exactly the same. Sooner or later someone will fix AINS() code in
xHarbour CVS.
Such changelog entries always makes me smile. But
Hi,
Alex Strickland wrote:
Is it expected behavior that this program does not output Destructor?
...
If I set oMSCAL to nil it does work of course.
I've not looked to destructor execution order on exit. But try to change
? Destructor
to
HB_MEMOWRIT(debug.log, Destructor)
It is possible,
Hi,
FRANČEK PRIJATELJ wrote:
When I copy simple program ,which is using hbmemio, to USB key
and then run it from USB, it crashes with DOS error 123.
The same program is workin fine from hard disk.
Sounds like different executables. Can you send a self contained source,
or executable, that
Hi,
http://www.schneier.com/blowfish.html says: It takes a
variable-length key, from 32 bits to 448 bits ...
Is cPass parameter a key? Or key is computed using this password?
cPass is the key from above description which is transformed to bfKey
used in encryption/decryption algorithm by
Hi,
I've looked to key length encoding in Harbour level functions. Is it
some standard way to encode length of 8byte unaligned data?
I guess you are talking about .prg functions.
No, it's not a standard. I implemented it only for these functions.
I guess your padding IS standard ANSI X.923
Hi,
1. we can add additional mark function which will be registered
with GC block together with cleanup function by hb_gcAlloc().
... We can implement it
without additional memory overhead and even increasing a little
bit speed of existing GC core code but it will be necessary
As
Hi,
4. pad only strings shorter then 8 bytes. For longer strings encode
encode all full 64bit blocks then encode last 64bits (decode in
reveresed order)
But the 4th is the most interesting :) I've not understood your idea,
can you describe it it more detail?
Ok, I've understood. You
Hi,
1. A compiler option to declare a data dictionary declaration so that
statements of the form:
workarea-fieldname
could be validated.
Some time ago I had another idea. The letter of Alex just made me to
remember and share it. Sometimes it is useful to have a virtual field.
On field
Hi,
+ added PRG functions for BlowFish encryption:
hb_blowfishKey( cPass ) - bfKey
hb_blowfishEncrypt( bfKey, cData ) - cCryptedData
http://www.schneier.com/blowfish.html says: It takes a variable-length
key, from 32 bits to 448 bits ...
Is cPass parameter a key? Or
Hi,
DBUSEAREA(..., nConnection1)
In dbUseArea nConnection can be on 8 item/position.
That is nowhere in the documentation
Yes, nConnection is the 8th parameter. The most precise documentation is
source :)
RDDI_ERROR, RDDI_ERRORNO after query execution.
Its return 1, but records
Hi,
Yes, of cause. You just have to pass a connection parameter to
RDDINFO(), DBUSEAREA(), etc. Or select current connections
using RDDI_CONNECTION.
Do not understand :(
For example I have 2 databases :
1 - oracle
2 - sqlserwer
nConnection1 := RDDINFO(RDDI_CONNECT, ...)
nConnection2 :=
Hi,
I'm trying to test hbmemio with RDDADS but I can't. Is it possible?
No, ADS server is not a part of Harbour code, so, it can not use
hbmemio.lib :)
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
Horodyski Marek (PZUZ) wrote:
Hi database community.
dbCreate in this code :
dbUseArea( .t., 'DBFCDX', 'POSREDNK.dbf', 'POSREDNIK', .f., .f.)
? 'Połączenie ', RDDINFO( 1001, { ODBC, DSN=WPIS;SERVER=KAN;PWD=pass;UID=MyAcc
}, 'SQLMIX' ) // 1
? dbCreate( 'POSREDNK', Posrednik-(
Hi,
Horodyski Marek (PZUZ) wrote:
Mindaugas, RDDSQL/SQLMIX ignored CP parametr in function :
dbUseArea( .nw., rdd, (db), (a), if(.sh. .or. .ex., !.ex.,
NIL), .ro. [, cp] )
Can you add support for this parameter?
the question is: How this CP parameter should be passed to SQL? If SQL
Hi,
I have one question:
rdd_info does connect to a particular database.
How to make a call simultaneously to 2 or 3 bases, and juggle
connections (Oracle, SQLServer and DB2).
Now I have to copy the DBF file and do the other, a new connection.
When I need to read the previous database, I do
Hi,
2009-10-05 15:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmemio/memio.c
! fixed memory corruption on hb_memfsTruncAt() call
! added required memory clear on hb_memfsTruncAt() call
+ implemeted file handles different from internal structure pointers
Hi,
I am not around my dev-environment so cannot test.
Is this fix has to do anything with memory consumption
I had reported ?
Since this is related to memory corruption, it can also be related to
memory consumption, GPF and anything else. But no memory leaks were found.
Regards,
Hi,
DBEVAL({|| QOUT(F1)})
? alias(), used(), dbInfo( 10 )
? dbDrop() =, DBDROP(mem:\test) // Free memory resource
? alias(), used(), dbInfo( 10 ) // This SHOULD
PRODUCE ERROR
It should not, because workarea is not closed. File entry is
Hi,
Revision: 12628
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12628view=rev
Author: vszakats
Date: 2009-09-30 12:04:58 + (Wed, 30 Sep 2009)
Log Message:
---
2009-09-30 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
So, who is
Hi,
Now I am puzzled a bit.
It means DbDrop() only removes file entry from the directory
but does nothing with file contents. Am I right ?
OR if DbCloseArea() is issued prior to calling DbDrop(), it
removes the file entry as well as file contents.
To me it appears logical that DbDrop() must
Hi,
DBUSEAREA( .T., SQLMIX, select * from klient, KLIENT)
DBUSEAREA( .T., SQLMIX, select p.*, nazwa from PRODUKT p, klient k where p.id_klient =
k.id_klient and jed = '1234' and system = 1, KLI_PROD)
And have error in second query :
oErr:severity_ 2
oErr:osCode___ 0
Hello,
Hello Mindagaus, All
My name is Mindaugas.
I have finished porting some parts of my appln's
report-generation of routines to take advantage of
MEMIO instead of disk files and have found the following.
One of reports creates a table, say, rpa80025.dbf and
associated index,
Hi,
Sounds like syntax error. Try to execute this query using some
ODBC utility, or try to reduce query to find out a supported syntax.
Probably no. This is a serious problem with SQLMIX.
For example work :
dbUseArea( .
Browse()
dbCloseAll()
But when I use my_old_tBrowse_function() in
Hi,
Anyway how you and other programmers create PDF files ? is there any
other library
better than HBVPDF ?
I use cairo.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Bruno Luciani wrote:
Mindaugas LibHPDF is manteined actually ?
Sorry, I do not know anything about libhpdf. Just answered a question
how you and other programmers create PDF files.
Regards,
Mindaugas
___
Harbour mailing list
and client runs locally. Sound like something is wrong
wit our socket layer.
Regards,
Mindaugas
Alexandr Okhotnikov wrote:
Hi
DBFCDX (server WIN2003, client XP, net 100Mb)
There are so many delays (in multiplayer mode) that I did not even
recorded the results :)
2009/9/25 Mindaugas
Hi,
The local disk tests in WinXP and Harbour using DBFCDX with native IO
took ~2.50 seconds. It means that in above test Harbour consumes less
then 1% and rest is the cost of network overhead.
but this test clearly shows that to reach real speed improvement it's
necessary to create RDD
Hi,
Warning W8075 test.prg 7: Suspicious pointer conversion in function somefunc
The same warning is generated for HB_CRITICAL_LOCK( s_mtx ) and
HB_CRITICAL_UNLOCK( s_mtx ).
HB_CRITICAL_NEW() creates structure which does not need any initialization
and can be used with
Hi,
I can not check because I do not have MS SQL, but to make
error more informative, I've passed field type to :osCode. You
error log shows it is value 65527. Since it is USHORT value,
it can also mean -9, if it is signed. I can not find nor -9
neither 65527 field type sql.h. Varchar is
Hi,
to:
case SQL_CHAR:
case SQL_VARCHAR:
case SQL_LONGVARCHAR:
case -9:
pFieldInfo.uiType = HB_FT_STRING;
break;
in odbcdd.c.
This helped, but only on nvarchar.
When I make select * problem still :
oErr:severity_ 2
Hi,
I can read all fields from this table :)
Maybe this solution should be make in svn ?
/*
case SQL_CHAR:
case SQL_VARCHAR:
case SQL_LONGVARCHAR:
case -8:
case -9:
pFieldInfo.uiType = HB_FT_STRING;
break;
*/
Using such arbitrary
Hi,
NETIO
locally (two processes)
adding 10 entries - 80 seconds
Read all entries - 10 seconds
Update Records - 35 seconds
the network (two computers)
adding 10 records - 320 seconds
Read all entries - 60 seconds
Update Records - 420 seconds
And all of this, any interruption of the
Saulius Zrelskis wrote:
One small thing. Example below produces hb_out.log file:
Application Internal Error - D:\ERROR\test.exe
Terminated at: 2009.09.23 10:17:04
Unrecoverable error 9008: hb_xrealloc called with an invalid pointer
Hi,
I want to share more test results after using memory FS in real project.
Report generation time (min:sec):
Local disk database 3:07
Network database25:52
Local disk database and MemFS2:22 + 0:03 (copying to memory FS)
Network database and MemFS
Hi,
And most importantly thanks for this contribution, I think
it's a very nice one and can easily replace any temp tables
created on disk. I'll now go and convert my app to use it.
the primary idea was more a toy I/O driver than the really useful
addition to harbour. Linux users can reach
Hi,
Przemyslaw Czerpak wrote:
Ups, I see you were replying to Mindaugas message with test code.
I haven't tested it yet by I guess you did not remove tables and
indexes created in memory. Use dbDrob() before application exit.
I'll add automatic memory file system cleanup on application exit.
Hi,
Viktor Szakáts wrote:
My very first problem towards implementing hbmemio
as a replacement for temp tables is that I'd need
to create *unique* filenames.
BTW the same problem goes to hbnetio, where I sometimes
need to create unique temp files (which later get renamed
to final table name)
Hi,
Horodyski Marek (PZUZ) wrote:
I'm try to connect to MS SQL Serwer with code :
And app crash in dbusearea() with :
oErr:severity_ 2
oErr:osCode___ 65527
oErr:subsystem()__SDDODBC
oErr:subCode__ 1902
oErr:description__Invalid field type
oErr:filename_
Saulius Zrelskis wrote:
Now in previous sample dbDrop() returns .F. for Mem I/O.
Is this expected?
Hi,
should be fixed now. Thank You.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
code:
PROC main()
#pragma begindump
#include hbthread.h
static HB_CRITICAL_NEW( s_mtx );
void somefunc( void )
{
HB_CRITICAL_INIT( s_mtx );
}
#pragma enddump
causes warning on BCC:
Warning W8075 test.prg 7: Suspicious pointer
Viktor Szakáts wrote:
In first test on darwin, I'm getting this:
(with clang, but similar errors happened when trying with gcc)
---
/Developer/usr/bin/clang -I. -I../../../../../include -DHB_CC_CLANG
-fno-common -Wall -W -O3-o iodmem.o -c ../../../iodmem.c
../../../iodmem.c:686:4: warning:
Viktor Szakáts wrote:
Is there any particular reason you choose a name
without 'hb' prefix?
I'd like to add make files and rename it to hbmemio,
if possible. I'm not sure we should start a new special
prefix to store IO replacement libs yet.
Or, maybe we could rename both this lib and hbnetio
Lorenzo Fiorini wrote:
In contrib/hbtip/sendmail.prg these lines:
...
the standard requires Cr+Lf and servers like QMail reject messages
with ONLY Lf reporting:
451 See http://pobox.com/~djb/docs/smtplf.html
while others like Postfix accept them but report:
354 End data with CRLF.CRLF
Using
Hi,
oWord = CREATEOBJECT( Word.Application )
oWord:Documents:Add()
oWord:Visible = .T.
RETURN NIL
stops with
Error TOleAuto/65535 : TOLEAUTO:NEW
Called from THROW(0)
Called from TOLEAUTO:NEW(0)
Called from CREATEOBJECT(0)
Called from MAIN(5)
It works fine using xHarbour. What am
Hi,
Przemyslaw Czerpak wrote:
FUNCTION MAIN()
LOCAL oWord
oWord = WIN_OLECREATEOBJECT( Word.Application )
I have a question here.
In your previous example you used:
oWord = CREATEOBJECT( Word.Application )
I'm interesting if using WIN_OLECREATEOBJECT() resolved the problem you
Hi,
Lucas De Beltrán wrote:
In Harbour, is there a RDD for SQL, so I keep the same code (such as SELECT
(INFO), SET FILTER, PACK, etc).
RDDSQL gives possibility to obtain SELECT query result via RDD API, but
it does not support PACK. There is no PACK query in SQL.
Regards,
Mindaugas
Hi,
Do you think it is worth having a function to manually shut down the
connection point, as HWGUI does? It seems that Release() is never
called, for whatever reason.
I'm really sorry, but I have nothing to do, if you are talking about
HWGUI. SELF CONTAINED samples would help to solve the
Hi,
Oci is like a dream. I managed in test app to get through the OCI into
the base of pure C code, but in C I not know how to write users
application.
Unfortunately, ODBC, despite many attempts I was not able to connect
to the database, and through ADO, you can easily connect. Problems
Hi,
../../../sqlmix.c:1110:22: warning: Dereference of null pointer
if ( pNode-Leaf )
static void hb_mixTagSkip( PMIXTAG pTag, LONG lSkip )
{
PMIXNODE pNode, pNode2;
unsigned int uiPos, uiPos2;
pNode = pTag-CurNode;
uiPos = pTag-CurPos;
if ( lSkip 0 )
{
Tomaž Zupan wrote:
You can try ORACLE 10g Express Edition, which is much smaller.
http://www.oracle.com/technology/products/database/xe/index.html
Minimal install file is 165MB. Perhaps, I'll wait for Viktor. :)
Regards,
Mindaugas
___
Harbour
Hi,
Oracle has let Oracle XE as free database server for commercial users
with limited (one procesor, 4Gb quota for data files etc.).
This Express database is good for test and has only 150Mb.
It is like 10g version.
I can send it for you via normal post on CD.
Thank, You. I can download it,
Hi,
Alex Strickland wrote:
To debug, in axcore.c I put:
if( cID )
{
wchar_t* wCLSID = hb_mbtowc( cID );
MessageBox(NULL, cID, cID, MB_OK);
lOleError = CLSIDFromString( wCLSID, rriid );
hb_xfree( wCLSID );
}
MessageBox(NULL,
/When I need to compile a harbour code in console mode and need to use
//MultiThreads, I use -mt nodifier to include
//libhbvmMT.a instead libhbvm.a
I like to know what problems or disadvantages could be generated if I
use this by default , in programs that not use //MultiThreads
MT
Hi,
Looking at the code I see one important difference between our new AX
code and GTWVG/HWGUI.
New AX code calls
lOleError = HB_VTBL( pCPC )-FindConnectionPoint( HB_THIS_( pCPC )
HB_ID_REF( IID_IDispatch ), pCP );
to take connection point but GTWVG
... and yet somehow, it works ... I just tested with this rather weird
EFT ActiveX I have been given to talk to, and Przemyslaws new code.
Unless the GPF you warn of is on the last event :)
Can you debug: what interface you connect to (value of rriid after
connection point enumeration loop)?
If I understand you well then we should remove the rriid ISink member
and modifiy this code:
for( ;; )
{
lOleError = HB_VTBL( pEnumCPs )-Next( HB_THIS_( pEnumCPs ) 1,
pCP, NULL );
if( lOleError != S_OK )
break;
if(
My BPTI ActiveX uses EnumConnectionPoints and GetConnectionInterface as
FindConnectionPoint fails. It seems to work fine, I get events that I
expect. But, like MSCAL it GPF's on exit.
Can you enumerate and print all available BPTI connection interfaces and
try if these interfaces are
This is all well and good again, but begs another question: How does a
client know the IID it wants to connect to? Excellent question! There
are two possible answers:
Actually, the first method is known and implemented, but the second is
not clear for me.
From OLE View bundled with VB6:
Hi,
Horodyski Marek (PZUZ) wrote:
I try modify opened excel sheet, but this code :
Local oExcel, oAs
if ( oExcel := win_oleCreateObject( Excel.Application )) == Nil
ok( 'Error ...')
Return
end
cls
* oExcel:WorkBooks:Add() // -- when I uncommet this line, all is ok
oAS :=
Hi,
+ added new library: HBNETIO.
Great! :)
s_netio_exit:
if( s_fInit ) // should be ! s_fInit
{
hb_socketCleanup();
s_fInit = TRUE;
}
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
I have problems with OLE and variables by reference, exemple:
---cut---
oOle = Win_OleCreateObject( NFe_Util_PL005a.Util )
cName =
cMess =
oOle:PegaNomeCertificado( @cName, @cMess )
? cName,cMess
---cut---
I have not implemented references in OLE because of a simple reason: I
was not
Hi,
What is correct way to initialize handler?
isc_db_handle db = NULL; // wrong on 64bits
isc_db_handle db = 0; // wrong on 32bits
Probably some clever macros :) Maybe there is something
already defined in FB headers. After all they should also
need something like this.
I've tried
2009-08-09 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/rat.c
! HB_RAT() fixed to not ignore nEnd parameter if it's out of bound.
In such case it will now return zero (not found).
Mindaugas, please verify if this is what you proposed.
Hi,
yes. Thank You.
Hi,
x86_64-w64-mingw32-gcc -I. -I../../../../../../include -Wall -W -O3
-fomit-frame-pointer -IC:\devl\Firebird-2.1.2-x64\include
-ofbirddd.o -c ../../../fbirddd.c
../../../fbirddd.c: In function 'fbConnect':
../../../fbirddd.c:166:26: warning: initialization makes integer from
pointer
Hi,
after a month break I'm back from N42.2217 E78.4485 and back on the
list. I'll try to read mail and answer some questions.
2009-08-26 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
* harbour/source/rtl/filebuf.c
+ added hb_fileExists() and
Hi,
after a month break I'm back from N42.2217 E78.4485 and back on the
list. I'll try to read mail and answer some questions.
Wow, that is a remote part of the world! Did you camp at 4200m?
The highest camping place was at 4150m. Highest peak reached at 4721m
(coordinates above are for
Hi,
That's quite nice. Why peaks were these?
These are peaks with Lithuanian names in Tian Shan mountains: Akstinas,
Zalgiris, Mazvydas, etc.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
BTW, I guess some
MT lock should be moved from s_file*() to hb_file*(). s_fileMtx and
s_openFiles are static variable, and it is not possible to implement for
example MT safe file close function for additional file protocols. Perhaps
additional functions to insert/delete items into/from
Hi,
2009-08-21 19:19 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
* contrib/hbwin/axcore.c
+ __AXDOVERB(), a very important function for in-process active-x controls
There are a few things I do not like in this:
1) Passing of the message is not supported in this function. I
Hi,
I haven't check details of the recent xHarbour modifications but ChangeLog
and short look at .diff suggests that the same effect can be reached by
adding support for above virtual file handles and implementing dedicated
for Harbour trivial file server so using existing DBF* RDDs Harbour
Hi,
should be hb_parnidef(). Thank You.
Regards,
Mindaugas
Jaroslaw Kadziola wrote:
hbmk2 uhttpd.hbp
Error E2227 socket.c 238: Extra parameter in call to hb_parni in function
HB_FUN_SOCKET_SEND
*** 1 errors in Compile ***
___
Harbour mailing
troff is nice. Also pdf would be it. I can recommend hbhpdf in contrib, it's
a very nice (and portable) pdf generation lib, all components are there
ready to use.
Hi,
if LaTeX output will be available, I can promise a .dvi, .ps, and .pdf :)
Regards,
Mindaugas
Hi,
HB_RAT(cToken, cString, nStart, nEnd) ignores nEnd, if it is out of
bound. I feel is more natural out of bound string be an empty string.
Example: I want to iterate over all / characters from right to left.
cPath := /aaa/bbb/ccc
nI := LEN(cPath)
DO WHILE(nI := HB_RAT(/, cPath,, nI)) 0
+ implemented OS independent task switching system
Have a fun with new toy ;-)
Hi,
great! I found my 11 years old assembler code implementing such thing
for Turbo Pascal, but I could not imagine, this can be done in a
platform independent, compiler independent, and portable way.
Here is the (not very long) list of UINT Windows type usage
in non-Windows Harbour source code. I'd like to ask developers
to take a look at it and change to use some ANSI C types
wherever possible.
---
contrib/rddsql/hbrddsql.h:167: UINT Leaf;
contrib/rddsql/hbrddsql.h:168:
2009-07-02 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
+ Added new hbBool type.
Hi,
just on type name convention... If we have HB_ULONG, perhaps it should
be HB_BOOL. Though, HB_ULONG has a different meaning than native ULONG.
HB_INT, HB_BOOL,
Hi,
Take a look inside hbdefs.h, there is a new type name
system under development, it uses hbType naming convention
and the plan is to replace currently used basic types
which use inconsistent naming schemes and have many
collisions with Windows and other systems / libs.
Oh, I've never
Hi,
I'm not sure if I'm not off topic, but demoqt.prg uses QWebView(), this
makes to include QtWebKit and QtNetwork. I've deleted this part of demo
and also STATIC FUNC Dummies(), and I was able to run demoqt.exe with
QtCore4, QtGui and mingwm10 .dlls only.
Regards,
Mindaugas
Lorenzo
Hi,
Thank You! I'm still very impressed about the level of your
compatibility tests
Regards,
Mindaugas
Przemyslaw Czerpak wrote:
On Thu, 25 Jun 2009, Mindaugas Kavaliauskas wrote:
Hi,
C:\cawi32\sample\testcat test172.prg
PROC main()
SET(4, -MM-DD)
? CTOD(2009-06-25 Hello
Hi,
I'm trying to find a way to compile WinCE executable on WinXP. It is not
very clear for me, what compilers/tools should be installed to do this?
I prefer MinGW CE, but googling does not give an answer, that mingw CE
is. Are mingwce and cegcc the same thing? (It seems cegcc is for
Hi,
thank you! It would be very useful to have this info in INSTALL. But I
still unable to compile:
set path=c:\mingw32ce\bin
set HB_ARCHITECTURE=wce
set HB_COMPILER=mingwarm
cd c:\harbour
call make_gnu.bat
...
mingw32-make[3]: Entering directory
Hi,
Przemyslaw Czerpak wrote:
I'm trying to find a way to compile WinCE executable on WinXP. It is not
very clear for me, what compilers/tools should be installed to do this? I
prefer MinGW CE, but googling does not give an answer, that mingw CE is.
Are mingwce and cegcc the same thing? (It
Hi,
--
PROC main()
LOCAL tNow, cNow
tNow := HB_DATETIME()
cNow := HB_TTOC(tNow, -MM-DD, HH:MM:SS.FFF)
? cNow
? HB_CTOT(cNow, -MM-DD, HH:MM:SS.FFF)
RETURN
--
prints:
Chen Kedem wrote:
(opps sent too early)
group_id 173455 is http://sourceforge.net/projects/cegcc
and the file can be found in the download section for Package cegcc Release
0.51.0
http://sourceforge.net/project/showfiles.php?group_id=173455package_id=198682release_id=559788
Hi,
thank You!
Hi,
Please try with the INSTALL example as is.
I've already did it, before writing the letter but without success... :/
The same 193 error.
INSTALL already contains a large amount of information
which needs to be maintained, so I've intentionally left
out anything which is related to C
Viktor Szakáts wrote:
Ops, fixed:
---
set PATH=C:\mingw32ce\bin
rem
set HB_BIN_COMPILE=C:\hb-mingw\bin
set HB_PPGEN_PATH=%HB_BIN_COMPILE%
rem
set HB_INSTALL_PREFIX=C:\hb
call make_gnu.bat %1 %2 log.txt 21
---
Hi,
Please try with the INSTALL example as is.
I've already did it, before writing the letter but without success... :/ The
same 193 error.
I think I'm on a good road. All this time I was thinking, how can
windows can complain about bad executable format (error 193) for gcc
executable,
201 - 300 of 618 matches
Mail list logo