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
Hi,
C:\cawi32\sample\testcat test172.prg
PROC main()
SET(4, -MM-DD)
? CTOD(2009-06-25 Hello)
? CTOD(2009-06-25 12:13:14)
RETURN
C:\cawi32\sample\testTEST172.EXE
2009-06-25
2009-06-25
C:\cawi32\sample\testhbrun test172.prg
2009-06-25
- -
Regards,
Mindaugas
Thank you for your tests. Maybe someone else can say sth more about it.
Hi,
I guess XBase++ users would like to have a compatible behaviour in
Harbour, but I see a lot wrong behaviour in these tests. I prefer the
right implementation in Harbour.
Regards,
Mindaugas
Hi,
The race condition in this case is not hardware problem (we do not need
additional synchronization mechanism to protect pMutex-waiters at least
on machines for which Harbour can be ported) but logical one.
OK. I was afraid , that accessing pMutex-waiters could cause garbage on
some
Hi,
Now in Harbour *nix builds reopened tables and indexes share file handles
and lock queues. So far I haven't added shared IO buffers and pseudo
exclusive mode with internal locking and I do not know when I will work
on it.
Don't worry, I was looking only at MT functions, instead it would
I'm getting this with MSVC 2005 / 2008 / 2010b1:
socket.c(245) : error C2065: 'SD_BOTH' : undeclared identifier
also with POCC6rc2:
socket.c(245): error #2048: Undeclared identifier 'SD_BOTH'
In BCC in found it in winsock2.h:
#define SD_BOTH 0x02
I know in Linux it is called SHUT_RDWR, I do
Hi,
I left uhttpd demo server running for weekend. It was working OK for 24
hours until 13/Jun/2009 18:37:04 (the time of last query). It seems,
that all 50 thread (maximum number of threads) are blocked in some
operation like port read. I do not know the exact bug yet. I'll try to
find it
Hi,
2009-06-15 20:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
* source/vm/thread.c
+ Added HB_MUTEXWAITERSCOUNT() to core.
(slightly rewritten using local functions)
Such function by definition cannot return valid result so it should
be marked as
Hi,
Probably a local variable container array could solve that,
so only one quasi-object needs to be passed around.
Variables are post, get, session, server, etc. I do not think I like to
use a single on variable and write: variable[get][value] or
variable[2][value]. Or I've misunderstood
Hello,
I want to share some more ideas (and code) about uhttpd development.
All pro and cons, and any brainstorming is very welcome.
Sources can be obtained from:
http://www.dbtopas.lt/hrb/uhttpd-0.2.zip
You can test running demo application at (I'll try to keep it running
for some time):
Hi,
DBCREATE(test170, {{F, T, 8, 0}},, .T., test)
? HB_VALTOEXP(DBSTRUCT())
prints:
{{F, @, 8, 0}}
Is it intentional or bug? What is the difference between T,8 and @,8
fields? Which one is more correct to use?
Regards,
Mindaugas
P.S. if HB_FT_DAYTIME has exactly TIMESTAMP meaning,
Hi,
Xavi wrote:
oB:aaa := ALLOCAAA(oC); oC:aaa := ALLOCAAA(oB) // If you remarque this
line,
// oB:aaa := oC; oC:aaa := oB // please, remove this remarque,
ASize(oB, 0); ASize(oC, 0) // remarque this line.
oB := nil; oC := nil
HB_GCALL()
Wait
...
oB:aaa := NIL is much more
Hi,
Przemyslaw Czerpak wrote:
- hb_gc[Un]Lock() is used only by hbregexc.c module. Why this
module is so
different?
because I made it safe for asynchronous GC activation.
In other modules I used to avoid any memory allocation between hb_gcAlloc()
and attaching the block to well known
Viktor Szakáts wrote:
Looks quite strange:
---
C:\work\harbour\harbour\_hbinst\hb200\binHBMK2.EXE speedtst.prg
Harbour 2.0.0beta1 (Rev. 11292)
Copyright (c) 1999-2009, http://www.harbour-proje
ct.org/
Compiling 'speedtst.prg'...
speedtst.prg(141) Error F0029
Viktor Szakáts wrote:
Here we have this one:
http://apps.sourceforge.net/phpbb/harbour-project/
Hmmm... How can I logout from phpBB? :)
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Guy Roussin wrote:
I suppose this is not a bug but a pointer behavior.
I try to create a 2D array and this is what i get :
#!/usr/bin/hbrun
function main()
local aArray:={}
asize(aArray,20)
afill(aArray,{})
aeval(aArray,{|x|asize(x,5)})
aArray[5,2]:=test
? aArray[4,2] // test !
return (NIL)
Horodyski Marek (PZUZ) wrote:
Else // Oracle
Hi, Marek,
have you managed to use sddodbc on Oracle?
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
Hi,
I have a question/problem/discussion about garbage collection for chance
made of collectible pointer.
The code below prints:
Test1
oB is NIL
bbb destructor
After GC
Test2
oB is NIL
After GC
aaa destructor
How can we fix it? I see the
BTW, why bbb destructor is not printed in Test2? Is GT system down at that time?
While I have no particular insight, I am so pleased with the ease of
running small tests with hbmk2, I tried it and got (with MSVC):
Test1
oB is NIL
bbb destructor
After GC
Test2
oB is NIL
After GCaaa destructor
Przemyslaw Czerpak wrote:
How can we fix it? I see the only solution: collectible pointers should
have not only Destroy method, but also Mark. This is something like a
little move toward method support for collectible pointers.
Yes it is. In the past Ryszard added support for registering
Hi,
well a little out of topic, I'm talking about QT compiling on Windows.
But I see guys having problem here. So, I'll try to share my hot (10min
old) first QT compile experience.
MinGW 4.4.0 from
http://downloads.sourceforge.net/tdm-gcc/tdm-mingw-1.905.0-4.4.0-2.exe
QT 4.5.1 from
Hi,
Viktor Szakáts wrote:
Or, RDDSQL itself may track these changes and automatically generate
the UPDATE/INSERT requests to SQL server. Given that the recordset
can be the result of any kind of queries, this doesn't seem to be doable
(seemed a good idea for a few minutes though :).
The
+ ChangeLog-old
+ Created ChangeLog-old which currently holds entries
belonging to 1.0.1 and older versions, moved from main
ChangeLog. From time to time we should move additional
entries there from main ChangeLog to not let main
ChangeLog grow too large. Updating
vszak...@users.sourceforge.net wrote:
Revision: 11267
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11267view=rev
Author: vszakats
Date: 2009-06-08 09:11:25 + (Mon, 08 Jun 2009)
Log Message:
---
2009-06-08 11:05 UTC+0200 Viktor Szakats (harbour.01
Any opinions on remerging ChangeLog? I don't
insist on it, as it became huge enough to
cause a delay on each open/save sessions.
I had no problem with large ChangeLog (using Far Manager to edit), and
it was a nicer solution, than multiple files.
I'll report the results with --deltas
Hi,
Przemyslaw Czerpak wrote:
There is one trick which can be used to optimize your code.
Instead of allocating new item hb_itemNew() and releasing them by
hb_itemRelease() you can use item on HVM stack.
Just simply add at the beginning of your function:
pKey = hb_stackAllocItem();
You can
Hi,
Viktor Szakáts wrote:
Teo offered the his wxHarbour source tree for inclusion
in our repository (/examples/wxh) and we agreed to retain
the revision history of it.
And unfortunately there is no other way to do this in
SVN. I'm not happy to make such rounds to accomplish
a simple task like
Viktor Szakáts wrote:
No, the dump of Harbour SVN is needed to re-import it to sf.net site.
At this point I'm unsure if they accept --deltas or not. I think the only
sure way to find out is to try, but I don't want to do this on Harbour
repository. If someone could try on another repo it'd be
Of course it's a hack though it's safe in current implementation.
It's possible that if we change core code then this hack will have to
be updated so such tricks should not be used by 3-rd party code.
In fact we can also add to HB_EXECMSG()
hb_stackBaseItem()-item.asSymbol.paramcnt =
Przemyslaw Czerpak wrote:
I plan to add to classy code such default error handler function so
it can be used in this class as:
ERROR HANDLER FUNCTION funcName
and HB_HASHOBJECT() to RTL. It's very nice solution which cleanly
adds OOP interface to hash arrays without reducing other
is possible compile with hbmk2 a project with static and another with dynamic?
Having qt installed twice for example one for commercial licenze and
one for lglp
Yes, I'll commit some stuff quite soon which will address that.
But if you word the question like that, I'm again not convinced that
* harbour/source/vm/eval.c
! replaced hb_vmFunction() calls by hb_vmSend()
+ added .prg function hb_execMsg( sFuncSym, object, [params,...] )
which executes sFuncSym with object set as QSELF() value.
Mindaugas, you can use it in your HashObject to execute functions
Pritpal Bedi wrote:
! replaced hb_vmFunction() calls by hb_vmSend()
+ added .prg function hb_execMsg( sFuncSym, , [params,...] )
which executes sFuncSym with set as QSELF() value.
Can you provide more insight how this can be used in PRG code.
A small example will be nice. I can
Hi,
Massimo, you are making things more confusing (as it happens many times).
sqlrdd from harbour com can be used as complete replacement for an
application written using dbfcdx
These is no such thing harbour com, there is xharbour.com. Please,
feel the difference between harbour and
Hi,
Horodyski Marek (PZUZ) wrote:
hbmk2 test_sql_sdd.prg -lrddado.lib -lhbwin.lib
-lC:\harbour-11\lib\win\mingw\librddsql.a
-lC:\harbour-11\lib\win\mingw\libsddodbc.a
Why do you include rddado and hbwin?
C:/harbour-11/lib/win/mingw/libsddodbc.a(odbcdd.o):odbcdd.c:(.text+0xc4)
: undefined
Horodyski Marek (PZUZ) wrote:
No. Did you try ?
Hi,
yes, I've tried, but actually there is nothing to try. There is no file
test1.prg in this folder. Perhaps you have an old version of SVN, please
do a fresh checkout.
Regards,
Mindaugas
___
Hi,
The object in XPP is not an array, at
least it cannot be accessed using [] operator and IMHO it's quite good
idea because it introduce some encapsulation which allows to eliminate
some code used to validate object structure at runtime.
Maybe we should also think about adding such
In BCC it is defined in oaidl.h and included in import32.lib.
C:\WATCOM\h\nt\oaidl.h
523│EXTERN_C const IID IID_IDispatch;
524│EXTERN_C const IID IID_IEnumVARIANT;
Problem with GUID_NULL :
Hi,
GUID_NULL is exported from uuid.lib in BCC.
Regards,
Mindaugas
Now you can use LetoDB, SqlLite, Postgress, MySql, Firebird ...
(
but Oracle still not :(, in work I have only Oracle. With ADO I not can
try because reported
Do you have possibility to try sddodbc and Oracle?
Regards,
Mindaugas
___
Harbour
Massimo Belgrano wrote:
Hi mindgaus
Can you reorganize tests subdir to one unique tests so the next
distribution we can have
same user that will test rddsql
No, because you'll need client libraries for all databases supported by
sdd* installed on your system, even if you want to test only
Have you any small exeample how can I use 'select * from table' via
sddodbc ?
\harbour\contrib\rddsql\sddodbc\tests\test1.prg
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Mindaugas Kavaliauskas wrote:
is there a way to call function as a method? Ex.:
Hi,
I found one, it's HB_EXECFROMARRAY(), but it's GPF. Here is the whole idea:
#include hbclass.ch
PROC MAIN()
LOCAL hValue := HashObject()
hValue:VAR1 := 123.45
hValue:VAR2 := DATE()
? hValue:VAR1
c:/harbour/mingw/lib/libsddmy.a(mysqldd.o):mysqldd.c:(.text+0xd9):
undefined ref
erence to `mysql_i...@4'
libmysql is missing.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Massimo Belgrano wrote:
i not found mysql so try add lib hbmysql but without success
So, you should have to install mysql client, if you do not have libmysql.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Viktor Szakáts wrote:
uuid lib is linked by hbmk2, and these symbols are present in
that lib, so it's probably some symbol declaration problems on
C level, but I don't know the answer.
Mindaugas, can you improve olecore.c ?
To be precise in pointing at the faulty in my guess, this
is IMO
Massimo Belgrano wrote:
wich rdd support dbexist()?
rddsql,rddado,rddads,letodb
I've not implemented it in RDDSQL. Please use a standard SQL queries to
test existance.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
I use approach listed below. And I suggest... not to use it! :)
And this code is NOT the one I want to see in Harbour. It's Windows
32bit only, code is on data segment, etc.
Syntax:
CallProc( ptrFunc, param1, param2, ... )
or
cStackFrame := L2BIN(something) + L2BIN(something) + ...
Viktor Szakáts wrote:
I use approach listed below. And I suggest... not to use it! :)
And this code is NOT the one I want to see in Harbour. It's Windows 32bit
only, code is on data segment, etc.
Well, I agree :) Przemek had some good suggestions how to
make this clean by adding stubs for
Only one more hint: if you want access hashes with : like oHash:cName,
you need compile Harbour with:
set HB_USER_CFLAGS=-DHB_HASH_MSG_ITEMS
Instead of recompiling whole Harbour code I suggest to simply create
custom HASH class with such functionality, f.e.:
#include hbclass.ch
PROC
Hi,
is there a way to call function as a method? Ex.:
HB_EVALWITHSELF( @AAA(), oSomeObject, xParam )
...
STATIC FUNC AAA( xParam )
? QSELF():ClassName, xParam
RETURN xParam
Regards,
Mindaugas
___
Harbour mailing list
Sorry I misplace this email :'( This is your output with MinGW .-
0.0
0.0
** N .F.
Ok.. On BCC and Clipper is GPF, Excell handled exception, OW and MingGW work
correctly.
I think of a start-up too MinGW
Viktor Szakáts wrote:
Hi All,
Is there anything against going rc1?
I also like to propose to change our version number,
as we've definitely done more that 0.1 is worth, also
xhb is now at 1.2, while feature-wise we're ahead.
Any opinions on these?
1.) 1.1.0rc1 (next logical)
2.) 1.2.0rc1
Hi,
Well, the main reason is that users cannot really grasp the difference
between Harbour and xhb. Many of them think they are the same thing.
Now, if we don't adapt / react to that, and always keep low profile, the
notion will be that we're not doing anything, as our version number
suggest
NOTE: CPP mode generates a GPF when ole is unloaded due to refcount.
Mindaugas can you fix it.
I can just repeat myself: can you give self containing sample?
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
I have a question about practical usage of autoincrement fields (+).
My friend wants to start use it, but he found a simple problem on first
attempt. The question is: how to convert database column from manual
autoincrement to true + type field? Another similar problem is ALTER
TABLE of
Hi,
My question is whether to rename__AXGETCONTROL() to
WIN_AXATLGETCONTROL() ? Is this such a function which
users will want to (and can safely) use in their final apps?
If the return value is an obscure one, useful only for AX extensions
dealing with internals, I think we should keep the
Hi,
I see a few new features under GCC: hbvmall, I see a new discussions
about HB_STRICT_ALIGNMENT, etc. So, I decided to do some new speed tests
BCC vs GCC. BCC was winning long time ago (before dlmalloc).
Test conditions:
- SVN 11150
- WinXP SP2
- default build + -DHB_FM_STATISTICS_OFF
-
IMO is right having P for Project instead Parameter
sound very good Hbp for traditional project file
and hbl,(hbc,hbx) for Library and other Common eXternal parameter
.hbc doesn't tell much about the purpose (common
what?).
I do not know what common is, but it could be HarBour Config.
Hi,
But then I created windows binaries of speedtst.exe for both compilers
also compiled with -gc2:
1) BCC:
size:600576
execution time: 33.38 / 33.60
2) MinGW:
size:882688 (striped)
execution time: 21.99 / 22.15
So BCC gives ~50
Hi,
Thank you, binaries in attachment sent to your private mail.
Please inform me if you received them.
Yes, I've received. But I can not test it. It do nothing (0% CPU usage)
if I do not keep [Enter] key pressed. If I keep [Enter] pressed, tests
are performed. The same for all 3 your
Xavi wrote:
I don't have test this version. Have you tried to -Os and linker with -s?
It's like I get better results in size with 3.4.5
http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
What parameters are you using for compiler speedtest?
I have not tried or used any
Hi,
I do not think it's a fair test condition for your executables by
flooding it with [Enter], but here are the times:
C:\harbour\__tst__spd-bcc-gc2.exe 64.44 / 67.44
C:\harbour\__tst__spd-mgw-gc2.exe 53.03 / 55.47
C:\harbour\__tst__spd-mgw-gc2-Os.exe65.92 / 69.02
and my:
One more time:
speedtst_bcc_gc2.exe 64.97 / 68.08
speedtst_gcc_gc2_strip.exe 55.44 / 56.44 (old .exe, no -l option)
speedtst_bcc_gc3.exe 68.13 / 71.20
...
Should be:
speedtst_bcc_gc2.exe 64.97 / 68.08
speedtst_gcc_gc2_strip.exe 55.44 / 56.44
Hi,
Why I do need to stuff GTSTD with keyboard events, to make application
work?
Probably there is sth wrong with this code:
#elif defined( HB_IO_WIN )
if( !pGTSTD-fStdinConsole ||
WaitForSingleObject( ( HANDLE ) hb_fsGetOsHandle( pGTSTD-hStdin ), 0
) == 0x )
{
Hi,
WaitForSingleObject() works OK for a few calls, but later it says we
have data...
We are not alone. These seems to be useful:
http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2006-07/msg00320.html
http://tech.groups.yahoo.com/group/zepp/message/819
This fixes the
Hi,
Sometimes I return in my mind to more general solutions, like changing
compiler to generate expression tree instead of code, typed variables, etc.
The last nice source of ideas I found is Lua virtual machine. In Lua 5.0,
VM was rewritten from stack based machine to register-based machine.
Hi,
* contrib/hbwin/axcore.c
+ __XAXREGISTERHANDLER()
An extension of __AXREGISTERHANDLER() where connection points are
enumerated instead of finding - many OLE's have more than one interface -
a practical discovery. Mindaugas please check if it can be the default.
Pritpal Bedi wrote:
Hello Mindaugas, All
Here is a MSDN - VB Documentation below. Can we have this type of function
in Harbour?
GetObject Function
Returns a reference to an object provided by a COM component.
Public Function GetObject( _
Optional ByVal PathName As String = Nothing, _
* harbour/source/compiler/gencc.c
! fixed -gc3 code generated for switch statement - thanks to Marek and
Xavi for information and self contain example
TODO: add missing RT error in -gc3 output when wrong (non integer
and non string value) is used in SWITCH statement
All compilers are broken in C++ mode for hbwin / axcore.c, this means
msvc and owatcom in default builds.
Any chance fixing these?
Hi,
fixed a few errors. The main problem of interface virtual function table
definition still exists. Trying to find a solution (and learn C++)...
Regards,
Viktor Szakáts wrote:
I can confirm. owatcom is broken as well, pbly also all other C++ mode.
C:\harbour\contrib\gtwvg-#MSVC#if not exist ..\..\lib\win\msvc\. md
..\..\lib\win\msvc
make.exe[3]: Entering directory `C:/harbour/contrib/gtwvg/win/msvc'
cl.exe -nologo -I. -I../../../../include -Gs
Viktor Szakáts wrote:
Here there is no hbwinole.h in /include. To me it looks like the
usual C vs. C++ compilation problem with OLE related stuff.
Should be fixed. There was some strange C/C++ mixture in wvgsink.c.
CINTERFACE was always defined, but HB_ID_REF() was defined in C++ way
(not
Hi,
I'm not sure if it is optional or not, but sometimes it could be helpful
for clever translator to find context of original text, etc.
If we want to remove it, I suggest to add hbi18n switch, instead of
compiler switch. hbi18n has much more free switch namespace. Translation
line
Hi,
Since these kind of lines may appear in mass, such optimization
may result in code size reduction and speed increase.
Some more optimization ideas from the past: SUBSTR(), ASC( SUBSTR() ),
RETURN .T., RETURN .F., RETURN NIL
This is easy to do, but I guess it would increase speed very
; TOFIX: These errors are shown when trying to compiler in UNICODE mode:
../../odbcdd.c(168) : error C2664: 'SQLDriverConnectW' : cannot convert
parameter 3 from 'SQLCHAR *' to 'SQLWCHAR *'
../../odbcdd.c(204) : error C2664: 'SQLExecDirectW' : cannot convert
parameter 2 from 'SQLCHAR
Hi,
Here are few queries:
1. You have left CreateWindowEx() for obivious reasons.
But I think it should be a part of the code as a separate function
because it uses ATL specific constructs. The function could be like
__AXCREATEWINDOW() - pointerHWND.
In this case I was thinking
* harbour/contrib/rddsql/sddodbc/odbcdd.c
! added dummy unicode conversion macros to fix compilation in
non windows builds
* harbour/contrib/hbwin/olecore.c
! casting
* harbour/contrib/hbwin/axcore.c
! fixed unicode and WinCE compilation
! casting
Hi,
a few
Pritpal Bedi wrote:
I was experimenting and got to this point : olecore.c line # 231
case HB_IT_OBJECT: /* or ARRAY */
if( HB_IS_OBJECT( pItem ) )
{
// if( hb_stricmp( hb_objGetClsName( pItem ), HB_OLEAUTO ) == 0 )
Massimo Belgrano wrote:
How create sdd*.lib during harbour compilation?
sddfb.lib, sddmy,sddodbc.lib,sddpg.lib
SET HB_COMPILER=mingw
sh make_gnu.sh clean install
I'm using:
set HB_DIR_FIREBIRD=c:\firebird
set HB_INC_FIREBIRD=c:\firebird\include
set HB_DIR_MYSQL=c:\mysql-4.1.7-win
set
Massimo Belgrano wrote:
Where found odbc dir/HB_INC_ODBC for mingw,msvc8?
Hi,
for mingw it is c:\mingw\include
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
Hi,
Where found odbc dir/HB_INC_ODBC for mingw,msvc8?
This envvar isn't needed for Windows systems.
Doesn't?
HB_INC_ODBC_OK += $(foreach d, $(HB_INC_ODBC), $(if $(wildcard
$(d)/sql.h),$(d),))
ifneq ($(strip $(HB_INC_ODBC_OK)),)
HB_USER_CFLAGS += $(foreach
+ added ActiveX support.
Hi,
my ActiveX test code is three additional lines in Hello World GUI sample:
WIN_AxInit()
hWndAx := CreateWindow(ATLAXWin, http://sf.net;, ...
oAx := WIN_AxGetControl( hWndAx, @SomeEventLogFunc() )
here SomeEventLogFunc() logs events to file, to be sure
Hi,
Massimo Belgrano wrote:
for msvc
set HB_INC_ODBC=???
do you know where general/common include files of msvc is? ODBC is the
part of windows, there is no need to look for another include folder.
Regards,
Mindaugas
___
Harbour mailing list
Szakáts Viktor wrote:
Where found odbc dir/HB_INC_ODBC for mingw,msvc8?
This envvar isn't needed for Windows systems.
Doesn't?
No, because sql*.h are present in usually one of the
compiler's include dir (next to windows.h), which is by
default on the include dir list.
I never had to use
Hi,
I hear you, but, does anyone *develop* systems on those devices etc.
I was. Though, it was C application, I did not know anything about
Harbour that time.
Regards,
Mindaugas
___
Harbour mailing list
Harbour@harbour-project.org
Hi,
nAddr := MakeWndProc( {|X,Y,Z,T| WndProc( X,Y,Z,T ) } )
Can you make this function public. Probably this may pave the
way to clean a non-portable part of GTWVG, whio knows.
This function is not 64bit compatible. So, I do not want to propose it
for the masses. The source of it was
Hi,
I have tried to search for it but could not.
can you point-out the link, or to be easier, post on this list again.
I just want to compare with contrib/gtwvg/wincallb.c.
I'd rather say wvg's is better. It uses VirtualAlloc() to allocate page
having the correct (read/write/execute)
Hi,
HB_VALTOEXP() works bad if object overloads enum operator. F.e., if I
pass HB_OleAuto object, it gives RTE, since the specified class is not a
collection and enum is overloaded. Using FOR and array access instead of
FOR EACH seams to be bad solution, since array access can also be
Hi,
I've successfully implemented ActiveX notification event support from
scratch. All code is 200 lines of C. I want to talk about names for all
OLE/ActiveX things. What prefixes should be used for objects, methods,
functions, etc?
--- Question 1: Minimal method namespace polution ---
Hi,
oCal := hb_ActiveX( ... )
..
..
oDialogs := CreateObject( Codejock.CalendarDialog.11.2.2 )
? valtype( oDialogs ) // O
oDialogs:calendar := oCal -Here it GPF's
I do not know the reason for without a deeper debugging. What is result of:
? oCal:ClassName
Current code converts only
Hi,
Alex Strickland wrote:
* harbour/contrib/rddsql/Makefile
+ implemented ODBC driver for RDDSQL
Thank you for these major contributions.
Out of interest, and in your opinion, does using ODBC instead of native
libraries make a big performance difference?
The only ODBC application
Hello Pritpul,
I've put my hands a to change gtwvg to be compatible with OLE
implementation, but I'm unable to test changes. Does anyone have gtwvg
sample with working (or GPFing) ActiveX controls. I've tried to use
contrib/gtwvg/tests samples. They do not give any error, but demowvg
window
Hi,
Pritpal Bedi wrote:
Mindaugas Kavaliauskas wrote:
The middle part of mail window is not redrawn, but I get no error.
It means ActiveX is not initialized even.
I will apply your changes and will do some tests todays.
Till then...
wvgax.prg wvgsink.c if full of commented out code
Hi,
I've tried to add ActiveX to my plain WinAPI Hello world sample. I
needed to add *TWO* lines (marked by /* !!!*/) below and #pragma
begindump/enddump. THAT'S ALL! I understand that event handler is
missing and OleAutomation object should be created, but this is not so
much code. I have
Francesco Saverio Giudice wrote:
Are these two different things the same ActiveX?
I will look at Pritpal's upload, but, as I wrote before, I would like to
have an independent (from gtwvg) version.
I've extended my previous sample by:
Pritpal Bedi wrote:
Hi Mindaugus
Hi Pritpal,
my name is Mindaugas. I've tried to joke a few times writing Pritpul,
but it seems you are not enough sharp-eyed to notice the difference
neither in spelling of my name nor in yours.
Regards,
Mindaugas
Anyhow I've now read messages from Przemek and Mindaugas targeting
your specific AX problem, I hope it will be committed and we
can move on to next issues. IMO your GTWVG AX code can also quite
easily changed to use real pointers, or call an API.
Hi,
I've put my hands a to change gtwvg to be
Viktor Szakáts wrote:
Now the sf.net http://sf.net logo is the new one, however I still
cannot click on it to go
to our sf.net http://sf.net page. Can you add a link for the logo to
http://sourceforge.net/projects/harbour-project/ ?
Hi,
Is it ok that, nominate link redirects to different
Hi,
so, perhaps, you've not compiled sddfb. But I do not see why do you need
Firebird, test1.prg depends on MySQL only.
Regards,
Mindaugas
Massimo Belgrano wrote:
Compiling with hbmk2 test1.prg the file sqlrdd\tests\test1.prg
i receive error cannot find -lsddfb?
2009/5/15 Mindaugas
Hi,
Massimo Belgrano wrote:
Can you share more sample regarding rddsql?
Bruno Luciani wrote:
could you send to me
a sample more complete of using RDDSQL ?
The sample in the contrib is very little and I' dont understand
the full use of this library
I have a few applications using
301 - 400 of 618 matches
Mail list logo