Hi,
On 2010.05.28 14:28, Horodyski Marek (PZUZ) wrote:
Mindaugas, I link APP with MinGW and use CAIRIO with libcairo-2.dll.
What compiler made this dll ?
MinGW latest TDM build (if you are talking about lib build by me, from
www.dbtopas.lt/hrb
Regards,
Mindaugas
Hi,
+ contrib/xhb/hbcompat.prg
+ Added equivalent function wrappers for all hbcompat.ch
translations where such was possible (everywhere besides
dirty extensions of original Clipper functions)
FUNCTION SubscribeNow( ... )
RETURN {| mtx, nTimeOut, lSubscribed |
Hi,
We have also debuged the cdp-lower and cdp-upper members and they are
empty, so it is not a matter of hb_storvc usage.
Can somebody check if we are missing something or if it is a harbour bug?
Nothing missing nor bug. UPPER(CHR(0)) ir CHR(0), and CHR(0) is end of
string symbol.
Hi,
On 2010.05.19 19:40, Horodyski Marek (PZUZ) wrote:
In c:\harbour\contrib\hbhpdf\ is class :
pdf := HPDF_New()
and in this class is :
page := HPDF_AddPage( pdf)
Cairo is nice, but in cairo we are do not can make this (adds page).
Why not to look at lightning.prg that produces 20
Hi,
On 2010.05.18 10:11, Viktor Szakáts wrote:
What is the reason you want to handle line
selection separately from stream selection?
Line selection looks like a stream which ends
and begins at column zero.
Could be much simpler with two modes: stream and block.
Yes, line mode is a similar
Viktor,
So, I never in the last 15 years missed this feature.
Stream handles the matter just fine:
Home, Shift+Up/Down,copy, PgUp/PgDn/Up/Down
to proper place,paste, bingo.
That's because you've never tried line selection mode. After you'll try
it, you'll miss it. I promise you :)
On 2010.05.18 11:12, Viktor Szakáts wrote:
That's because you've never tried line selection mode. After you'll try it,
you'll miss it. I promise you :)
I'm copying lines by the thousands since long time
using stream method, and it causes no perceivable
overhead, so most probably I will not
Hi,
3 similar samples with different error, so, perhaps we have memory
corruption here.
Regards,
Mindaugas
C:\cawi32\sample\testcat test203.prg
STATIC indexBlocks := {}
PROC MAIN()
DBCREATE(test203.dbf, {{F, C, 1, 0}}, DBFCDX, .T.)
FERASE(tmp.cdx)
AADD(indexBlocks, {|| FIELD-F})
On 2010.05.18 14:04, Horodyski Marek (PZUZ) wrote:
To test this lib, I had to download from internet following dlls :
...
These dlls are incompatybile. Has anyone links to correct dlls or may
send on priv these dlls (on WinXP) ?
Some time ago I've compiled .dlll that does not depend on other
Hi,
On 2010.05.18 15:00, Przemysław Czerpak wrote:
3 similar samples with different error, so, perhaps we have memory
corruption here.
This is expected and documented few times on this list behavior.
Of course it's a bug but it cannot be well fixed without very serious
modifications in RDD
Hi.
+ Finalized: all the three modes of selection programatically.
::toggleStreamSelection()No Key
::toggleColumnSelection()No Key
::toggleLineSelection() == F11
::clearSelection()== Sh+F11
If a selection mode is initiated by
On 2010.05.18 20:06, Mindaugas Kavaliauskas wrote:
Hi.
+ Finalized: all the three modes of selection programatically.
::toggleStreamSelection() No Key
::toggleColumnSelection() No Key
::toggleLineSelection() == F11
::clearSelection() == Sh+F11
If a selection mode is initiated by above three
Hi,
Not this time. We do not have any protection against closing WA
from any user code (i.e. key/for/filter/relation expressions or
from error handler) when it's used by RDD code :-(
Yes, I understand the problem. I've used to call DBCLOSEAREA() in my
error block. This exploits the problem
On 2010.05.18 21:12, Pritpal Bedi wrote:
This itiration has caused by not compiling hbQT.
Hmm... Some problem on my side, though recompiling hbqt did not helped.
Recompiling all Harbour helped. I'm not sure that was the reason of
this... Sorry.
Some more tests:
1)
On 2010.05.18 21:55, Pritpal Bedi wrote:
Some more tests:
1)
...
Once selection process is okayed, I will concentrate on the positioning
of cursor, which, in column selection mode specifically, is out or
order right now.
Please confirm that selection process, programatically and visually,
is
Hi,
I still can. Screencast at www.dbtopas.lt/hrb/f11.avi
f11.avi clearly indicates that your claim is valid.
But for mysterious reasons I cannot reproduce
it on my machine.
Can you so test after hbQT rebuild ?
It seems hbqt clean rebuild helped. Thank You.
I want implement the
Hi,
On 2010.05.17 14:37, dru...@users.sourceforge.net wrote:
+ added to C functions:
int hb_dynsymToNum( PHB_DYNS pDynSym );
PHB_DYNS hb_dynsymFromNum( int iSymNum );
which can be used to make conversion between dynamic symbols and
numbers
It is
Hi,
On 2010.05.17 17:05, Pritpal Bedi wrote:
Please examineKeyboad MappingsPublic Methods.
Alternatively you can look into ideshortcuts.prg.
Let me know it more constructs are needed.
I do not find:
::startSelection()
::stopSelection()
::toggleColumnSelectionMode()
Regards,
Mindaugas
On 2010.05.17 17:43, Pritpal Bedi wrote:
Mindaugas Kavaliauskas wrote:
I do not find:
::startSelection()
::stopSelection()
::toggleColumnSelectionMode()
There are three methods:
::toggleColumnSelectionMode()
::toggleLineSelectionMode()
::clearSelection()
toggle
Hi,
It is interesting, what new code is behind this modifications? :)
Remote function/method execution or that? :)
Yes. I've wrote inproc OLE server for Harbour and it uses above
functions to convert function/method/memvar symbols to DISPID in
GetIDsOfNames() dispatch method and they are
Hi,
On 2010.05.15 11:32, dru...@users.sourceforge.net wrote:
* use hb_oleDispInvoke() - please test if activex controls still work
correctly
I do not use ActiveX, so no chance to test, but line olecore.c#1091
could be changed to:
if( pParams-rgvarg[ iCount - i ].n1.n2.vt
Hi,
On 2010.05.15 00:36, vouch...@users.sourceforge.net wrote:
% Many artifacts belonging to horizontal scroll while
text is selected. Also few aspects are optimized.
To me it appears as if selection protocol in hbIDE is OK.
Please post your experiences if something is
Hi,
Can you please check after r14491.
3) Block forget about makting mode on paste
Test (continuation of previous test):
Ctrl+C (one line copied to clipboard)
move cursor to the middle of any line
Ctrl+V (line is pasted in a stream mode instead of line mode - bad)
Now line
Hi,
On 2010.05.16 02:13, Pritpal Bedi wrote:
4) Persistent selection does not work if a use a mouse to position
cursor. Test:
F11
Down
Down
F11
Position cursor before the block using mouse
Position cursor after the block using mouse
(block is not
Hi,
On 2010.05.12 03:27, dru...@users.sourceforge.net wrote:
+ harbour/src/rtl/hbcom.c
+ added Harbour multiplatform serial port C API (hb_com*() functions).
implemented code for *nixes, MS-Windows and OS2. DOS is not supported
yet. Please make test on different
Hi,
perhaps this is a known issue, but looks like a strange limitation of
__enumKey() message. This code could not be compiled because of:
test202.prg(5) Warning W0031 Invalid variable 'XVALUE' for enumerator
message
FUNC main()
LOCAL xValue
FOR EACH xValue IN {'a'='A', 'b'='B'}
?
Hi,
On 2010.05.12 16:04, Przemysław Czerpak wrote:
I has a code that seems does not fit under the new code. I have a
simple button (well, there is a RS-latch to avoid contact bouncing)
and I need to record time when the button is pressed. Button is
connected to DSR (or CTS), so I need some way
Hi,
On 2010.05.12 16:21, Mindaugas Kavaliauskas wrote:
I've very surprised :( I expected to be some way to wait for line change
event in POSIX/UNIX/Linux. I just guessed that there is a way to make
line change to emit error condition, ex.,
ioctl(fd, TIO_ERROR_ON_CHANGE, TIO_DSR));
Looking
Hi,
On 2010.05.12 17:11, Horodyski Marek (PZUZ) wrote:
When I try mix link ODBC and OCI i one app ( via ODBC still connet to
MSSqlServer) :
REQUEST SDDODBC, SDDOCI, SQLMIX
libs=sddoci sddodbc
Have I :
Generating C source output to 'C:\TEMP\test1.c'... Done.
Hi,
Please could you tell me how to create the index in memory and then
flush to disk?
OrdCreate(mem:file.ext, ...)
I've sent C code for copying file from/to memory a few days ago.
These crea() threads do not help to do any valuable job. Function
aCreateIndexe() starts a separate crea()
Hi,
On 2010.05.11 18:52, rafa wrote:
Second;
A question
What advantages are there in using indexes MEMORY?
Rafa, you've completely changed the original idea:
OrdCreate(mem:file.ext, ...)
I've sent C code for copying file from/to memory a few days ago.
Ok, thanks!
I add MEMORY a command
Hi,
On 2010.05.10 12:20, rafa wrote:
Well, times;
1 thread= 29 minutes THE WINNER!
4 threads = 93 minutes WoW!
7 threads = 68 minutes
5 Threads = 64 minutes
It seems disk io is the bottle neck. You can try to use memio driver to
create index in memory, and later write it back to disk.
Hi,
On 2010.05.06 21:46, Pritpal Bedi wrote:
I need your valuable input exactly how must these behave in
different circumstances. You also update me if the selection behavior is
upto expectations or not. Also please check for all three variants
I committed r14440.
Also explain a little why
Hello,
+ Implemented: line selection mode. Designated key is F11.
It is still a work in progress but a working prototype is there and
currently selection is available and paste behaves the standard way.
Mindagaus, please explore as the artifacts are OK.
My name is
Hi,
On 2010.05.04 13:35, Viktor Szakáts wrote:
but not change the clipboard !
I agree.
Though it's even better to make the error text selectable and
copiable. This is how it's done in all modern tools. No need
to reinvent anything here.
Do you know that Windows' MessageBox has copy
Hi,
I have just realized that blocks are not copyable to other file.
Will fix in a while. Moving the block is something new to me and is easy.
Which key should be designated to move, Ctrl+M ?
I do not know the correct key mappings for various operations. It is a
question of mappings, but I
Hi,
On 2010.05.04 16:31, Pritpal Bedi wrote:
+ Implemented: persistent blocks and cut/copy/paste operations
across files and locations within the same file.
Perhaps this is implemented in .cpp level only yet. I can not find a way
to switch persistent block mode on.
If I am
Hi,
On 2010.05.04 16:58, Pritpal Bedi wrote:
After any cursor movement, block is not marked any more :( I've rebuild
the whole contrib, and hbide. Maybe I have to do something more?
This is valid for block selection mode.
Stream selection does not have it.
If it is block selection mode, it is
On 2010.05.04 18:02, Pritpal Bedi wrote:
Line Block: does it pertains to a single line always ?
Yes, if I understand your question. Starting and ending line selection
mark (without any cursor movement), marks current line.
If DOWN (or UP) is pressed between start mark and end mark, then two
Hi,
On 2010.05.04 17:30, Alex Strickland wrote:
Maybe this small test will help someone to see how easy it is to read
and write non DBF files using netio RPC.
The primary purpose of NETIO was file sharing, so, it supports this
functionality even without RPC and without any Harbour level
Hi,
thanks for this feature. It made me try to compile hbide after long
time, but:
---
Run-time Error!
---
Error BASE/1132 Bound error: array access
Called from HBQTUI:Q_TABLEFUNCLIST(0)
Called from IDEFUNCTIONS:BUILDHEADER(210)
Called from
Hi,
This error can only be there if hbide/resources/funclist.uic
is missing. I know your uncanny attention to details and hence
assume that you have compiled hbIDE at its standard location.
OR you are executing hbIDE from location without resources
subfolder and contents to from hbIDE.exe.
Hi,
On 2010.05.04 00:07, Pritpal Bedi wrote:
Thanks, for column blocks! Do you have plans for doing blocks persistent
and implementing line blocks? :)
Can you please explain a little about your idea of persistency and line
blocks.
Persistent blocks remains marked after you move a cursor to
Hi,
I see no problem for Win 3.x and Win32s, we still have customers with
Win9x. Many of the projects are contained in the only .exe file, so
requirement of extra .dll is not nice. One more thing is that my
libraries are non-UNICODE, but I do not see a big reason to do rewrite a
working
Hi,
On 2010.04.30 12:39, dru...@users.sourceforge.net wrote:
+ added support for communication streams/channels which allow to
send asynchronously data from server to client.
The following client side functions had been added:
NETIO_OPENDATASTREAM(cStreamFuncName
Hi,
On 2010.04.23 20:45, Pritpal Bedi wrote:
I am just asking, which ChangeLog entry after 15 Mar
highlighted this difference.
Any. Any entry can change code size, this affect memory allocation,
addresses of functions, and makes bug be visible or hidden.
Based on this alone, I am about
Hi,
thanks for suggestion. The previous code was based on ADS documentation.
It does not mention that VFP supports D,4 fields.
Regards,
Mindaugas
ADS should support in DBF (at least in VFP mode) julian date fields
as 32bit little endian integer values {D, 4, 0} which do not use
string
On 2010.04.08 12:56, Horodyski Marek (PZUZ) wrote:
I continue to test sddodbc with mysql for adding a BIGINT field ...but
error comes out :
*-
Hi Shum,
I too have trouble with new type in MS SQl.
Advice from Mindaugas, try change in
I try to test dBUseArea() with DBFCDX RDD and SQLMIX RDD ...
Since I cannot test the test2.prg under \hb20\contrib\rddsql\sddodbc\tests
I modify test2.prg into tstmysql.prg as follow:
However the line: ? dBUseArea( .T., sqlmix, SELECT * FROM country,
country, .T., .F.)
with error comes out :
Mindaugas any chance that you can check the code generated by MSVC
which access thread local variables for wi...@32 and Win64?
I do not have any Win64 disassembler, but I think I can do some reverse
engineering by hand (and brain) :)
http://en.wikipedia.org/wiki/X86-64
Instead of FS segment
Rossine wrote:
Is possible converter wmf to pdf through the harbour ?
Hi,
Two ways comes to my mind, though non of it is directly related to
harbour and requires more or less C knowledge:
1) You can try to play metafile on PDFCreator printing device (perhaps
can be done in Harbour or a
You can also try to reduce the optimization level, i.e. you can use -Os
in MinGW flags. It should reduce the compilation time and final binaries
will be slower then the one created by BCC though still faster.
I'm trying another approach :) Upgrading from Celeron to Core i5. It
should help a
Przemysław Czerpak wrote:
This option enables simultaneous compilation of different files.
It means that it will not change the compilation of single file
at all but when many files have to be compiled and -jn is passed
as GNU make parameter then it creates upto n processes and each
of them is
Hi,
I suggest to start with small test to check the code produced by
MS for thread local variables. Knowing MS I will not be very surprised
if it's already well tuned code which does not call internally TlsGetValue()
at all so there is not place for noticeable improvement.
I think that we need
Hi,
Przemysław Czerpak wrote:
It's important only if you have to often recompile very big C files
which can be hardly optimized.
It happens if you develop and compile Harbour itself, but not the final
application only.
You can also try to reduce the optimization level, i.e. you can use
Hi,
snaipe...@users.sourceforge.net wrote:
2010-03-23 12:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sddfb/sddfb.c
I've committed, but some requested things does not work, i.e. sddfb.
isc_start_transaction( status, hTrans, 1, hDb, 0, NULL
Viktor Szakáts wrote:
Can you test if hbfbird works with similar SQL command?
They are using the same API, so if that one works, it's
only a matter of finding the difference.
Hi,
I have not noticed we have one more firebird contrib. Samples of hbfbird
do not work for me.
---
Alexandr Okhotnikov wrote:
Can an example of effective solutions?
And why this decision is not effective?
FieldGet (fieldnum ()) - a very cumbersome
example:
1. ALIAS1- ( NAME1) + = ALIAS2- ( NAME2)
2. ALIAS1- (FIELDPUT (FIELDNUM ( NAME1), FIELDGET (FIELDNUM (
NAME1) + ALIAS2- (FIELDGET
Jacek Kubica wrote:
Any chance for it on this weekend ??
Almost finished. Compiles without error, but have not tested any SQL
backed yet.
Regards,
Mindaugas
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
Alexandr Okhotnikov wrote:
These are more clear without :
1) alias1-NAME1 += alias2-NAME2
2) alias1-(NAME1 := NAME1 + alias2-NAME2)
(I assumed FIELDNUM() means FIELDPOS())
NAME1 - is a variable, not a field name
therefore, this example is invalid
So, all discussion about ALIAS2- (FIELDGET
Massimo Belgrano wrote:
Hello Mindaugas
What dou you think of integrate a ORM mapper to allow programm written
using sqlmix to be indipendent from sql string
Hi,
I suggest you to write down your idea in C or PRG code and share it on
mailing list.
Regards,
Mindaugas
Saulius Zrelskis wrote:
Before returning, CreateWindow sends a WM_CREATE message to the window
procedure.
So this message _never_ processed in hb_gt_wvt_WndProc, because window handle
is still unknown for hb_gt_wvt_Find.
This also appends to messages WM_GETMINMAXINFO, WM_NCCREATE and
Saulius Zrelskis wrote:
I try to use CreateWindow(Ex) parameter LPVOID lpParam.
There can be address of memory or any value
( LPVOID ) 0x12345678
and messages WM_NCCREATE, WM_CREATE receives in lParam
structure CREATESTRUCT address, where member lpCreateParams
have value passed through
Hi,
vszak...@users.sourceforge.net wrote:
- external/bzip2/bzip2.c
- Deleted accindentally included bzip2 tool.
Thank, You. Now I'm able to test bzip2 library.
PROC main()
LOCAL nResult
? Len:, HB_BZ2_UNCOMPRESSLEN(HB_BZ2_COMPRESS(), @nResult)
? nResult:, nResult
RETURN
prints:
Hi,
the following sample generates IE9104:
===
PROC MAIN()
DBCREATE(bandom.dbf, {{NR, N, 8, 0}, {TEXT, C, 8, 0},
{TEXT2, C, 4, 0}}, DBFCDX)
DbUseArea(.T., DBFCDX, bandom.dbf, pirma, .T., .F.)
OrdCreate(bandom.cdx, pirmas, STR(NR)+TEXT)
OrdCreate(antras.cdx,
Hi,
* harbour/src/rdd/dbfcdx/dbfcdx1.c
! fixed bad copy and past typo which could cause internal error when
new index using existing order (subindex) was created without ADDITIVE
clause. Bug reported by Mindaugas - many thanks for the information.
Thanks! Actually, you've
Hi,
Lorenzo Fiorini wrote:
I've successfully implemented MT in my httpserver and the results are
great, but http apps are made to be ( almost ) stateless while desktop
apps are full of vars that remember selections, global and user
setting, preferences and so on.
Following the CL5 guidelines
Hi,
Shum wrote:
It possible to implement the database connection number as a class ...
like the DacSession class in Xbase++ ...??
I know nothing about DacSession, but I guess it could be implemented on
the top of current code.
Regards,
Mindaugas
Hi,
Support for ZEROSPACE in WorkSpaceList() is trivial but can be implemented
only in C. I can add it in necessary. BTW please check above two example
with xbase++.
Would you please implement the WorkSpaceList() with ZEROSPACE ...
I need to obtain all alias within ZEROSPACE
Or any
Hi,
../../../sddfb.c: In function ‘fbDisconnect’:
../../../sddfb.c:181:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../../sddfb.c: In function ‘fbOpen’:
../../../sddfb.c:209:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Hi,
Przemysław Czerpak wrote:
I have a proposal to move ads error value to osCode and leave
subCode zero, if we do not return a dbf compatible error. This
change also allows to get more precise error description by using
AdsGetErrorString(), since we will know ads error in all cases.
Any
Hi,
Przemysław Czerpak wrote:
Perhaps we must leave this hack, or... extend default error handler
Here is the problem with custom user code using own error handlers.
I'm afraid it's hard to change it because it may introduce very serious
bugs to valid Clipper code.
I also do not like it but
Hi,
Viktor Szakáts wrote:
The only thing I wonder is why all this is important
for a normal user application...? Perhaps because I never
needed such thing, but if the goal is to check the
arguments involved in an RTE, we have oError:args
(just like Clipper).
I find it also very useful. I
Hi,
Viktor Szakáts wrote:
The _default_ Harbour build will need unicows.dll.
Anyone, anytime may create a non-UNICODE Harbour build
by using HB_BUILD_UNICODE=no.
Is UNICODE the default setting now? Ups! I haven't noticed this fact.
Many of our customers still use Win95.
Regards,
Hi,
Viktor Szakáts wrote:
Is UNICODE the default setting now? Ups! I haven't noticed this fact. Many of
our customers still use Win95.
I've been asking about this on this list and waiting
for opinions. There was none, so I made the step.
Sorry. I haven't noticed. Perhaps it's too much
Hi,
Itamar Lins wrote:
Can you create examples of creating,
RDDINFO( RDDI_EXECUTE, CREATE TABLE test (id int, txt char(20)))
adding,
RDDINFO( RDDI_EXECUTE, INSERT INTO test (id,txt) VALUES(1,'abc'), (2,
'def')))
modifying fields of the tables via rddsql.
RDDINFO( RDDI_EXECUTE,
Hi,
But if I for example use:
My Browse() function and modify a field?
Because I change only in temporary cache query.
How to proceed for commit?
In my code on edit dialog OK button, o do both actions: execute query
and set field values.
There is also my primary idea to store dirty flag
Hi,
Bruno Luciani wrote:
May be could you post a working sample using this mix way of work
using a browse etc etc
Sorry, I do not use browse(). I use our own GUI.
Regards,
Mindaugas
___
Harbour mailing list (attachment size limit: 40KB)
Bruno Luciani wrote:
well , some code sample would be usefull
This sample is 73 files with implementation of all GUI app development
environment. It will not work together, if you delete one file. I can
send some 20 lines sample, but it gives nothing to you. But I won't
share the whole code
Itamar Lins wrote:
Yes, I understand.
Another problem we consider a table with 3Gib for example how to work
with it via browse? because my system is 100% via browse style excel.
This is syntaxe below is impraticable.
DBUSEAREA(, select * from my_table)
How to calculate end of query and run
Hi,
Jacek Kubica wrote:
May be could you post a working sample using this mix way of work
using a browse etc etc
MK Sorry, I do not use browse(). I use our own GUI.
OK, but how do you reaslise datacommits to database ??
Using RDDINFO( RDDI_EXECUTE, UPDATE ...)
Using ODBC, native client
Hi,
the following sample prints:
C:\cawi32\sample\testhbrun test194.prg
ORDNAME(0), ORDKEY(0): F F
--- code
REQUEST DBFCDX
PROC MAIN()
RDDSETDEFAULT(DBFCDX)
DBCREATE(test194, {{F, C, 10, 0}},, .T.)
OrdCreate(test194x, F, F)
DBCLOSEALL()
DBUSEAREA(.T.,, test194,, .T.,
Hi,
Przemysław Czerpak wrote:
the following sample prints:
C:\cawi32\sample\testhbrun test194.prg
ORDNAME(0), ORDKEY(0): F F
Looks correct for me.
What is the bug?
As far as I understand zero order means no order, and should return an
empty key and empty order name.
Code:
FOR nI := 0
Hi,
Przemysław Czerpak wrote:
As far as I understand zero order means no order, and should return
an empty key and empty order name.
0 given as tag number in above ord*() functions means current index.
It's Clipper compatible behavior. Just test your code with Clipper.
I do no think I can
Hi,
vszak...@users.sourceforge.net wrote:
+ contrib/rddsql/sddoci/sddoci.c
+ contrib/rddsql/sddsq3/sddsq3.c
Thank You, for you new SDD. I've started Oracle development some time
ago, but never fixed because lack of time, motivation (I do not need it
for my own projects), and test
Hi,
It seems sddodbc.c line #603 should be changed to:
pItem = O_HB_ITEMPUTSTRLEN( NULL, ( O_HB_CHAR * ) val, ( HB_SIZE
) iLen - 1 );
otherwise test1.prg returns chr(0) in the end of every string.
Regards,
Mindaugas
P.S. I see we have some serious problems with mailing list.
Horodyski Marek (PZUZ) wrote:
I use Harbour 2.0.0beta3 (Rev. 12489) on WinXP SP3 and both ODBC client
(Oracle and Microsoft).
I could not use the current version, as I have in the GPF.
How this can somehow improve in the sqlrdd?
Hm, mostly I have in harbor\odbc zero when count(*) or sum( ...)
Hi,
Przemysław Czerpak wrote:
In class implementation we are using:
_HB_CLASS className [,classFuncName] // new class
_HB_MEMBER messageName [ AS type ]
_HB_MEMBER { [ AS type ] varName,... }
Of course this is also [x]Harbour only extension and it's hidden for
users by PP rules in
Hi,
smu johnson wrote:
With a Roll-your-own index open, when you use a dbgoto(), the record
pointer is moved to the correct row in the table but the pointer in the
index file is not positioned to the corresponding row, even though the
record is in the index. With a regular cdx index, the
Viktor Szakáts wrote:
Thanks, so the same extension exist as in xhb.
I'll update SVN.
IFAIR, xHarbour allows off-limit indices to return an empty string. That
was the main drawback, that does not help to find buggy code by RTE.
F.e. 'abc'[1, 2, 3, 4, 5, 6] does not RTE.
Regards,
Mindaugas
Hi,
Subsystem is a very difficult thing to decide on.
...
My definite vote to avoid this confusion and use
simple beginning of filename scheme. It IMO cannot
be simpler, cleaner than that.
Do you suggest to use the same scheme for C functions? I think
extend.txt, item.txt (or
Hi,
$HEADERSFILES$ = Only names separated with ,
= if it depends on many or only one with
primary dependance
This is already included in $SYNTAX$ section, I
think it's fine as it is:
---
* $SYNTAX$
* C Prototype
*
* #include hbapifs.h
*
Hi,
+ added new C function:
PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases );
it returns array with existing interfaces description.
This code was added for non MS-Windows based platforms only.
Support for MS-Windows has to be added yet.
Xavi has
Hi,
Maurilio Longo wrote:
Testing hb_InetAddress() on a listening socket I get back 0.0.0.0 while
hb_InetPort() works as expected.
hb_InetAddress() works when called on a connected socket where it returns the
caller IP address.
Is this the correct behavior?
Perhaps, yes. I guess you have
Hi,
Przemysław Czerpak wrote:
memo file size and block offset. For relatively small memo files it
may help to early detect corruption but it will not help for big files
and for sure in all cases it will cause performance reduction because
we will have to add additional IO call to check current
Hi,
David Arturo Macias Corona wrote:
Now that you are safe, why these FPT corruption happen ?
( ... corrupted .ftp blocks contains huge size values ... )
Perhaps it was file system crash because power supply lost or something
like this. We can find HTML, Javascript code in .fpt file.
Hi,
few times per year we find corrupted .fpt files in databeses of our
customers. The problem is that this corruption is not detected by driver
and causes strange behavior. For example, application hangs-up, but do
not GPFs. After some tests we found, that it hangs-up because it uses
a
Hi,
Alex Strickland wrote:
USHORT uiField = hb_parni( 1 );
ULONG ulBlock, ulSize, ulType;
BOOL bDeleted;
Viktor will kill you if he sees these :)
I have alibi. This code is created half year ago :)
Regards,
Mindaugas
___
Harbour mailing list
Hi,
Viktor Szakáts wrote:
Or, we can keep HB_BYTE and HB_SCHAR. (and drop
HB_CHAR and HB_UCHAR)
Any further elaboration?
I'm a little lost on the whole idea of type name change. I guess we have
two purposes:
1) drop Windows specific defines, like LONG, ULONG, BYTE, etc.
2) solve some
Hi,
* contrib/hbmzip/hbmzip.c
; QUESTION: Is there any reason why we're not using the hb_fs*() functions
in hb_zipGetFileInfo()?
Can not find a reason.
Regards,
Mindaugas
___
Harbour mailing list (attachment size limit:
1 - 100 of 618 matches
Mail list logo