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.
---
C
2010-03-23 15:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
+ added HB_SPINLOCK_TRY(l)
+ added support for recursive spin locks
Hi,
I'm interested why sl parameter in hb_spinlock_try_r() (hbatomic.h#486)
is used in brackets. It's a function, it
Hi,
PROC main()
LOCAL t
SET(4, "-MM-DD")
/* Trying to generate timestamp with time part only */
? HB_NTOT(0.12345) // OK
? HB_DTOT(CTOD("")) + 0.12345 // OK
? t"-00-00" + 0.12345 // Wrong: no time part printed
? VALTYPE(t"-00-00") // Prints "T". OK
? VALTYPE(t"-00-
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 -O
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 lit
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 -j is passed
as GNU make parameter then it creates upto processes and each
of them is used
Maurilio Longo wrote:
as I wrote earlier I did not see any difference as well unless i just call it
with -j (without number), in this case I see both of my cores doing work.
Hi,
thank You. That helps in my case also. -j4, -j5, -j99 do nothing, but -j
makes build harbour more than twice fast
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 fe
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 d
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 o
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 fil\harbour\contrib\rddsql\sddodbc\odbcdd.
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 re
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 t
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 piec
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( [,] )
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 IDEF
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 a
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 functio
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 takin
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 p
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 overh
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 M
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 the
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,
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 12:22, rafa wrote:
Of cause. Did you expect your code to behave in a different way?...
I thought he reindex all at once ;-)
The reason is because only one index reindex a table, while the others
wait, I do not know.
The reason is hb_dbdetach(), hb_dbattach(). Workarea is at
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 co
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 platforms.
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));
Looki
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.
c:/harbour/lib/win/mingw/libsddo
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 & 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 no
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 blo
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 select
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 follo
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 interest
Hi,
On 2010.05.17 17:05, Pritpal Bedi wrote:
Please examine.
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()
"t
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 late
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
lin
ADME_MINGWARM.
From the point you have this installed, just follow the example
in INSTALL to create a build.
Brgds,
Viktor
On Thu, Jun 25, 2009 at 10:24 AM, Mindaugas
Kavaliauskas wrote:
Hi,
I'm trying to find a way to compile WinCE executable on WinXP. It is not
very clear for me, what
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? (
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=173455&package_id=198682&release_id=559788
Hi,
thank
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 2>&1
---
log.
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, b
Viktor Szakáts wrote:
- If you feel unconfortable with Cygwin shell, you can
use gzip and GNU Tar to unpack it from Windows command
line, using these commands:
> gzip -d cygwin-cegcc-mingw32ce-0.51.0-1.tar.gz
> tar -xvf cygwin-cegcc-mingw32ce-0.51.
Hi,
C:\cawi32\sample\test>cat test172.prg
PROC main()
SET(4, "-MM-DD")
? CTOD("2009-06-25 Hello")
? CTOD("2009-06-25 12:13:14")
RETURN
C:\cawi32\sample\test>TEST172.EXE
2009-06-25
2009-06-25
C:\cawi32\sample\test>hbrun test172.prg
2009-06-25
- -
Regards,
Mindaugas
___
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\test>cat test172.prg
PROC main()
SET(4, "-MM-DD")
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 Fio
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, HB_ULONG,...
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 loo
+ 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:
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,,
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 use
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 li
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 an
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
http://lists.harbour-project.o
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
understan
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 withou
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,
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
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 := oExcel:Active
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
http://l
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)? W
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( HB
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 available
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,
2009-09-03 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/axcore.c
! removed the hack I added in previous commit with interface enumeration
which was accepting any interface without validation its ID.
+ added 3-rd parameter to __AXREGISTER
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, WIN
Actually if I try a console app:
static oMSCAL:="fred"
static oBPTI
memvar oMainWindow
public oMainWindow
function Main()
? "Hello world!"
? oMSCAL
return nil
It also fails on the second ? line.
Is this a regression, or am I being thick?
Use -n compiler switch.
Regards,
Minda
/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 cau
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
begi
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 mailin
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,
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 a
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
rep
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 .
Using Chr( 13 )
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 co
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
t
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 a
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)
501 - 600 of 736 matches
Mail list logo