[Harbour] HBQT - Sub Classification - Makefile(s)

2009-10-21 Thread Pritpal Bedi
Hello Viktor, All I am done with separating the source files in respective folders. contrib/contrib/hbqt/qtwebkit contians these files filelist.mk Makefile QWebFrame.cpp QWebHistory.cpp QWebHistoryInterface.cpp QWebHistoryItem.cpp QWebHitTestResult.cpp QWebPage.cpp QWebPluginFactory.cpp QWebSec

Re: [Harbour] SF.net SVN: harbour-project:[12721] trunk/harbour

2009-10-21 Thread Mindaugas Kavaliauskas
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 me

[Harbour] harbour_cvs + bcc 5.8.2

2009-10-21 Thread Fernando Athayde
error in compilation with bcc 5.8.2 E:\harbour_cvs>mingw32-make.exe ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org ! MAKE: mingw32-make.exe 3.81 sh.exe ! HB_INSTALL_PREFIX: e:\harbourhb58 ! HB_BUILD_DLL: yes ! HB_HOST_PLAT: win (x86) HB_SHELL: nt ! HB_PLATFORM: win (x8

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Mindaugas Kavaliauskas
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 A

Re: [Harbour] SF.net SVN: harbour-project:[12721] trunk/harbour

2009-10-21 Thread Mindaugas Kavaliauskas
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

Re: [Harbour] HbQt and Connect Events

2009-10-21 Thread Massimo Belgrano
Good news started Reliability for QT & XHB 2009/10/21 CarozoDeQuilmes : > Hi Pritpal, after I add the two functions to my project, it run fine > > I left the two changes into hbqt_slots.cpp indicated in previous mails. > > Thanks a lot > CdQ > > > On Tue, Oct 20, 2009 at 11:58 PM, Pritpal Bedi

Re: [Harbour] HbQt and Connect Events

2009-10-21 Thread CarozoDeQuilmes
Hi > > > > Hi Pritpal, after I add the two functions to my project, it run fine > > > > Good. Do you receive the events also ? > > > Yes, I receive the keypress event. > > > I left the two changes into hbqt_slots.cpp indicated in previous mails. > > > > By next commit these will be in SVN. > O

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Pritpal Bedi wrote: Hi, > > Looks that it's a time to extended our GC and add support for references > > between GC blocks. I'll try to make it soon before we release 2.0. > Thank you that you thought this way. > A must needed feature of VM. > I always wondered why I am unabl

Re: [Harbour] HbQt and Connect Events

2009-10-21 Thread Pritpal Bedi
Hi CarozoDeQuilmes wrote: > > Hi Pritpal, after I add the two functions to my project, it run fine > Good. Do you receive the events also ? > I left the two changes into hbqt_slots.cpp indicated in previous mails. > By next commit these will be in SVN. Regards Pritpal Bedi -- View thi

Re: [Harbour] HbQt and Connect Events

2009-10-21 Thread CarozoDeQuilmes
Hi Pritpal, after I add the two functions to my project, it run fine I left the two changes into hbqt_slots.cpp indicated in previous mails. Thanks a lot CdQ On Tue, Oct 20, 2009 at 11:58 PM, Pritpal Bedi wrote: > > Hi > > #include "common.ch" > > STATIC qApp > > INIT PROCEDURE Qt_Start() >

Re: [Harbour] SF.net SVN: harbour-project:[12721] trunk/harbour

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Mindaugas Kavaliauskas wrote: Hi, > >Technically you can use any non empty string as cPass. Bytes from > >cPass are used cyclically to create 32bit values used to xor keys > >in p-array. The implementation I committed does not follow the original > >BlowFish description but r

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Pritpal Bedi
Hi Przemek Przemysław Czerpak wrote: > > Looks that it's a time to extended our GC and add support for references > between GC blocks. I'll try to make it soon before we release 2.0. > Thank you that you thought this way. A must needed feature of VM. I always wondered why I am unable to free

Re: [Harbour] SF.net SVN: harbour-project:[12721] trunk/harbour

2009-10-21 Thread Mindaugas Kavaliauskas
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? is the key from above description which is transformed to used in encryption/decryption algorithm by hb_blowfishIn

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Alex Strickland wrote: > I must explicitly call oMSCal:Close() to set ::oOLE to NIL, or else > it will GPF. Is that expected behaviour? > I cannot make the DESTRUCTOR work, it is simply not called, can you > see why? I tried it in the three commented lines above. And this is t

Re: [Harbour] HB_ReadIni() Problem

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Mario H. Sabado wrote: Hi, > >It may happen if EOL is missing in the last line of .ini file. > >I'll add protection against such situations in a while. > >Thanks for the information. > Thank you so much for the fix. It now works as expected but when > the last line of my ini

Re: [Harbour] SF.net SVN: harbour-project:[12741] trunk/harbour

2009-10-21 Thread Alex Strickland
vszak...@users.sourceforge.net wrote: 2009-10-21 17:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbwin/tests/testax.prg + Added self-contained AX example created by Alex Strickland. (plus some formatting and warning fix) When I test with a URL - www.google.com, I do n

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Alex Strickland
Viktor Szakáts wrote: Hi Alex, BTW, is there any AX control which works out of the box on XP? On my system even current example doesn't work. I'd guess it needs office, which not every ppl have. So, is there anything built-in? Oh dear, I was using it because I assumed it *was* out of the box

Re: [Harbour] HB_ReadIni() Problem

2009-10-21 Thread Mario H. Sabado
Hi Przemek, Message: 7 Date: Wed, 21 Oct 2009 13:49:49 +0200 From: Przemys?aw Czerpak Subject: Re: [Harbour] HB_ReadIni() Problem To: "Harbour Project Main Developer List." Message-ID: <20091021114948.ga28...@linux-8af1.home.aster.pl> Content-Type: text/plain; charset=utf-8 On Wed, 21

Re: [Harbour] HB_ReadIni() Problem

2009-10-21 Thread Mario H. Sabado
Hi Przemek, Date: Wed, 21 Oct 2009 13:44:54 +0200 From: Przemys?aw Czerpak Subject: Re: [Harbour] HB_ReadIni() Problem To: "Harbour Project Main Developer List." Message-ID: <20091021114454.ga25...@linux-8af1.home.aster.pl> Content-Type: text/plain; charset=utf-8 On Wed, 21 Oct 2009, Mario H

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Viktor Szakáts
Hi Alex, BTW, is there any AX control which works out of the box on XP? On my system even current example doesn't work. I'd guess it needs office, which not every ppl have. So, is there anything built-in? Brgds, Viktor On 2009 Oct 21, at 15:16, Alex Strickland wrote: Przemysław Czerpak wrot

[Harbour] SF.net SVN: harbour-project:[12741] trunk/harbour

2009-10-21 Thread vszakats
Revision: 12741 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12741&view=rev Author: vszakats Date: 2009-10-21 15:10:06 + (Wed, 21 Oct 2009) Log Message: --- 2009-10-21 17:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbwin/tests/testa

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Alex Strickland
Hi all I have also got the code to handle alternative "dispinterface" events interfaces working. I had to edit the SVN version of axfunc.prg to add support for cID: FUNCTION WIN_AxGetControl( hWnd, bHandler, cID ) LOCAL oAx := WIN_OleAuto() oAx:__hObj := __AxGetControl( hWnd ) IF bHa

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Alex Strickland
Przemysław Czerpak wrote: It should be easy to fix it if you can create such example but I do not know if it will be easy to create such self contain example. If it's not Harbour problem then it's impossible to create it :) It will be good if you can make this example as simple as possible reduc

Re: [Harbour] HB_ReadIni() Problem

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Przemysław Czerpak wrote: > > I have encountered the value being returned by HB_ReadIni() was > > being truncated by one char at the last. I have the following > > function and sample ini file. > It may happen if EOL is missing in the last line of .ini file. > I'll add protect

[Harbour] SF.net SVN: harbour-project:[12740] trunk/harbour

2009-10-21 Thread druzus
Revision: 12740 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12740&view=rev Author: druzus Date: 2009-10-21 11:47:22 + (Wed, 21 Oct 2009) Log Message: --- 2009-10-21 13:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbini

Re: [Harbour] HB_ReadIni() Problem

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Mario H. Sabado wrote: Hi, > I have encountered the value being returned by HB_ReadIni() was > being truncated by one char at the last. I have the following > function and sample ini file. It may happen if EOL is missing in the last line of .ini file. I'll add protection ag

[Harbour] HB_ReadIni() Problem

2009-10-21 Thread Mario H. Sabado
Hi, I have encountered the value being returned by HB_ReadIni() was being truncated by one char at the last. I have the following function and sample ini file. Example: Calling IniFileVal("sample.ini","DOWNLOAD_SRC") would return "d:\tes" instead of "d:\test" Thanks for any help. Regar

Re: [Harbour] SF.net SVN: harbour-project:[12721] trunk/harbour

2009-10-21 Thread Massimo Belgrano
I better undestrand your sample and i pray you write "trivial peace of code" that help me to right undestrand 2009/10/21 Przemysław Czerpak : > On Tue, 20 Oct 2009, Massimo Belgrano wrote: > > Hi, > >> Possible a sample > > You have everything in ChangeLog file: > >    + added PRG functions for

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Viktor Szakáts
Yes, I understand why. however, we have WAPI_CREATEWINDOWEX() in hbwin. I've added is specifically to allow self-contained AX tests. I don't know how to use it without a message loop, there is no "hook" to hang anything on (or perhaps I am too dumb to see one). I am using WAPI_CREATEWINDOW

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Alex Strickland
Viktor Szakáts wrote: No, and exposing it wouldn't be a very good idea, Yes, I understand why. however, we have WAPI_CREATEWINDOWEX() in hbwin. I've added is specifically to allow self-contained AX tests. I don't know how to use it without a message loop, there is no "hook" to hang anythi

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Viktor Szakáts
It should be easy to fix it if you can create such example but I do not know if it will be easy to create such self contain example. If it's not Harbour problem then it's impossible to create it :) It will be good if you can make this example as simple as possible reducing any additional cod

Re: [Harbour] ActiveX and GPF

2009-10-21 Thread Alex Strickland
Przemysław Czerpak wrote: It should be easy to fix it if you can create such example but I do not know if it will be easy to create such self contain example. If it's not Harbour problem then it's impossible to create it :) It will be good if you can make this example as simple as possible reduc

Re: [Harbour] SF.net SVN: harbour-project:[12721] trunk/harbour

2009-10-21 Thread Przemysław Czerpak
On Tue, 20 Oct 2009, Massimo Belgrano wrote: Hi, > Possible a sample You have everything in ChangeLog file: + added PRG functions for BlowFish encryption: hb_blowfishKey( ) -> hb_blowfishEncrypt( , ) -> hb_blowfishDecrypt( , ) -> so the example seems the be

[Harbour] SF.net SVN: harbour-project:[12739] trunk/harbour

2009-10-21 Thread druzus
Revision: 12739 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12739&view=rev Author: druzus Date: 2009-10-21 10:12:14 + (Wed, 21 Oct 2009) Log Message: --- 2009-10-21 12:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddad

Re: [Harbour] Data Dictionary Support

2009-10-21 Thread Massimo Belgrano
Great I suggest write a little sample for better discover this strong way 2009/10/21 Przemysław Czerpak : > On Wed, 21 Oct 2009, Alex Strickland wrote: > > Hi, > >> That is pretty cool. Thank you. What is the difference between _FIELD >> and FIELD? > > Both forms have exactly the same meaning for

Re: [Harbour] Data Dictionary Support

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Alex Strickland wrote: Hi, > That is pretty cool. Thank you. What is the difference between _FIELD > and FIELD? Both forms have exactly the same meaning for compiler. You can use FILED if you like it more ;-) BTW It's yet another example where some dummy token significant f

Re: [Harbour] Web Services in Harbour

2009-10-21 Thread Massimo Belgrano
http://xharbour.cvs.sourceforge.net/viewvc/xharbour/xharbour/tests/service.prg?revision=1.13&view=markup Non seem a soap server, but it can start a soap server? This program demonstrates how to use signal (error) handlers and what to do to start services. 2009/10/21 Horodyski Marek (PZUZ) : >>---

RE: [Harbour] Web Services in Harbour

2009-10-21 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Viktor Szakáts [mailto:harbour...@syenar.hu] >Sent: Thursday, October 15, 2009 10:01 AM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] Web Services in Harbour > >Hi Marek, > >Is there any sort of existing library or other sort of >external pac

Re: [Harbour] Data Dictionary Support

2009-10-21 Thread Alex Strickland
Przemysław Czerpak wrote: You can make it yourself using PP: #ifndef FIELD_NAMESPACE_OFF /* declare WORKAREA1 fields */ #xtranslate WORKAREA1->=> ;; #error WORKAREA1 does not have field: # #xtranslate WORKAREA1->name => WORKAREA1->(

RE: [Harbour] Web Services in Harbour

2009-10-21 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Massimo Belgrano [mailto:mbelgr...@deltain.it] >Sent: Thursday, October 15, 2009 12:01 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] Web Services in Harbour > >Here is a very simple soap server >http://www.vivtek.com/wftk/doc/code/python/so

Re: [Harbour] SF.net SVN: harbour-project:[12737] trunk/harbour

2009-10-21 Thread Przemysław Czerpak
On Wed, 21 Oct 2009, Massimo Belgrano wrote: > http://devzone.advantagedatabase.com/dz/content.aspx?key=47 > Enhancements in Upcoming Releases > 64-bit ODBC Client and OLE DB Client > Other > Add support for Visual FoxPro binary indexes > Unicode Field Type Does it mean that 64bit ADS local serv

Re: [Harbour] SF.net SVN: harbour-project:[12737] trunk/harbour

2009-10-21 Thread Massimo Belgrano
http://devzone.advantagedatabase.com/dz/content.aspx?key=47 Enhancements in Upcoming Releases 64-bit ODBC Client and OLE DB Client Other Add support for Visual FoxPro binary indexes Unicode Field Type 2009/10/20 Przemysław Czerpak : > On Tue, 20 Oct 2009, vszak...@users.sourceforge.net wrote: