Re: [Harbour] Harbour ecosystem

2010-05-18 Thread Alex Strickland
Viktor Szakáts wrote: In this case I tend to think for Harbour it's enough to create a page with all the links pointing to different projects, but more importantly (as discussed previously) to ensure that these 3rd party projects can be compiled, linked and used in more or less common way, f.e.

Re: [Harbour] Question about Preprocessor 2

2010-05-13 Thread Alex Strickland
Przemysław Czerpak wrote: On Thu, 13 May 2010, CarozoDeQuilmes wrote: Hi, Hi, I have an little question: This translate: #xtranslate. => myFun( , ) function main() aeval( aTmp , { |x| level1.level2 } ) return .T. It will be generate the followed sentence: function main() aeval( aTmp

[Harbour] Zero Install

2010-05-10 Thread Alex Strickland
Hi Viktor This site may interest you as a possible way around the packaging dependencies for various distributions: http://0install.net/goals.html#anyoneinstall OT, I installed visual studio 2010 (on 64 bit Win 7), and the recommended settings in INSTALL did not work for me:

Re: [Harbour] HBNetIO file functions

2010-05-05 Thread Alex Strickland
Mindaugas Kavaliauskas wrote: Here is a sample code, how I copy data.dbf to MEMIO for a much faster report generation using memory file instead of (possibly remote) file. If you change "data.dbf" to "net:data.dbf" you'll have a function to NETIO file to MEMIO file. I briefly looked to see if I

Re: [Harbour] wapi_CreateMutex

2010-05-05 Thread Alex Strickland
Viktor Szakáts wrote: In second version you don't assign the returned mutex handle to a variable, therefore it's instantly released by GC, along with the mutex. Thank you Viktor. I replaced my own naive implementation of CreateMutex with the wapi_ version, not realising about the garbage coll

[Harbour] wapi_CreateMutex

2010-05-05 Thread Alex Strickland
This code will allow me to run only one version (which I want): s_hMutex := wapi_CreateMutex( NIL, NIL, "HBNetSvr" ) IF ! Empty( s_hMutex ) .AND. wapi_GetLastError() == 0 alert("=> Hello World! OK.") ELSE alert("=> Application is running. Error") return ENDIF This c

[Harbour] HBNetIO file functions

2010-05-04 Thread Alex Strickland
Hi Maybe this small test will help someone to see how easy it is to read and write non DBF files using netio RPC. Regards Alex /* * $Id: netiot04.prg 14415 2010-04-30 09:39:25Z druzus $ */ /* * Harbour Project source code: *demonstration/test code for alternative RDD IO API, RPC and

Re: [Harbour] netiotst.prg

2010-05-04 Thread Alex Strickland
Przemysław Czerpak wrote: This is expected. The table is open in shared mode and BRWOSE() just like in Clipper does not have any locking code. Yes, I understood that. Error NETIO/1003 Read error: hb_stackInit (DOS Error 15) Error NETIO/1002 Write error: hb_stackInit (DOS Error 15) Error NE

[Harbour] netiotst.prg

2010-05-03 Thread Alex Strickland
Hi When testing netio using netiotst.prg I inadvertently caused this error by editing the browse. Error DBFCDX/1022 Lock required══ Called from FIELDPUT(0) Called from (b)FIELDBLOCK(0) Called from DOGET(0) Called from BROWSE(0) Called from TESTDB(129) Called from MAIN(

[Harbour] Berkeley DB and SQLite

2010-05-01 Thread Alex Strickland
This is quite interesting given that we support SQLite3: http://www.oracle.com/technology/products/berkeley-db/sql.html To quote the page: "This version of Berkeley DB provides a drop-in compatible version of the SQLite lightweight relational database library, modified to use the Berkeley DB d

Re: [Harbour] Re: Netio Questions

2010-04-30 Thread Alex Strickland
Alex Strickland wrote: If the server is stopped (quit), the client stays frozen, it doesn't time out. Or am I doing something wrong here? I just started looking at the code: NETIO_CONNECT( [], [], [], ; [], [], [] ) nTimeOut defaults to -1 if you don't set it, a

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-28 Thread Alex Strickland
Viktor Szakáts wrote: Anyhow not everything is fine with xhb xml support, as I'm getting memory corruption with the posted sample when trying it with mingw. It runs fine with msvc64. I have noticed quite a few fixes over recent years/months to the XML source in xHarbour, it's possible that Ha

Re: [Harbour] Re: Netio Questions

2010-04-28 Thread Alex Strickland
AbeB wrote: If the server is stopped (quit), the client stays frozen, it doesn't time out. Or am I doing something wrong here? I am interested in this question too. This is important to me, so that I can try and automate a recovery. Regards Alex ___

Re: [Harbour] Vdei creation of harbour-project

2010-04-23 Thread Alex Strickland
Alex Strickland wrote: I create video, from tools gource, the harbour project , years 1999-2000 Oh, I see, I thought it was a typo! Thanks. Ciao Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http

Re: [Harbour] Vdei creation of harbour-project

2010-04-23 Thread Alex Strickland
rafa wrote: I create video, from tools gource, the harbour project , years 1999-2000 http://www.youtube.com/watch?v=_FEuktpNQmo Wow, that's cool. Where is Ryzard? You can see his name everywhere to begin with. How did you make the video? Regards Alex _

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

2010-04-23 Thread Alex Strickland
vszak...@users.sourceforge.net wrote: + Changed version number to: 2.1.0beta1 (from 2.1.0dev) I just did a rebuild with MSVC2008 and all appears well with my apps (although I wish I could find the time to rewrite with unit tests!). Thanks Alex ___

Re: [Harbour] Ping

2010-04-22 Thread Alex Strickland
Enrico Maria Giordano wrote: Dear friends, I'd just want to know if Harbour supports PING. You may find this useful: HB_FUNC( PING ) { hb_retl( IsDestinationReachable( hb_parcx( 1 ), NULL ) ); } In your hbp file: # IsDestinationReachable -lsensapi This API function is not officially su

Re: [Harbour] Just for Fun

2010-04-15 Thread Alex Strickland
Antonio Maniero wrote: Please don't take seriously this checklist, just prize how about Harbour fill that subjective criteria. http://spot.livejournal.com/308370.html *For me* Harbour is very well, getting points mostly on building/bundling. I think I should congratulate all that have contribut

Re: [Harbour] Re: HBIDE Project build start folder problem

2010-04-12 Thread Alex Strickland
Pritpal Bedi wrote: Unix: The started process will run in its own session and act like a daemon. I do not know what exactly this means in unix. Also I do not know how to cover it. Someone with more nixes knowldge should tell us. It is similar to running a service in windows. It is not attached

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

2010-04-12 Thread Alex Strickland
vszak...@users.sourceforge.net wrote: 2010-04-12 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added feature to allow -inc mode when using harbour compiler as preprocessor: 'hbmk2 -hbraw -inc -p[] -s[]<.prg[s]>' You are too kind. Thank

Re: [Harbour] hbmk2 magically morphs into make?

2010-04-12 Thread Alex Strickland
To Viktor and Pritbal Yes, something like Massimo says. Two hbmk2 calls in -hbraw mode plus -u and -o Harbour options. Sorry, I did not make myself clear. It is the compilation conditional based on the time of the source file changing which I wish to exploit (like any make tool). Note that

[Harbour] hbmk2 magically morphs into make?

2010-04-09 Thread Alex Strickland
Hi Viktor I use the preprocessor to produce two versions of a file, one which is my menu definition and one which is used to produce documentation. In my old make files I simply defined a rule to make the output. Is there any similar possibility in hbmk2? This is of the lowest possible urgen

Re: [Harbour] Re: HBIDE Project build start folder problem

2010-04-08 Thread Alex Strickland
Barry Jackson wrote: So, now the problem seems to be the missing full path to hbmk2 /home/baz/tmp/fpw5bh.sh && hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en Shouldn't fpw5bh.sh have the hbmk2 line as its last line? Regards Alex ___ Harbou

Re: [Harbour] Error in SDDFB

2010-03-23 Thread Alex Strickland
Viktor Szakáts wrote: So, if that's all "ORM" means, we already have it, and that was one of the features that made dBase so popular versus other "database" languages. My understanding is that there is a "disconnect" between the programmers object based view of the data and the DBMS's relatio

Re: [Harbour] Decimal Arithmetic

2010-03-17 Thread Alex Strickland
Maurilio Longo wrote: here attachment with only my code, it is supposed to be put inside a folder with decNumber source code. BTW, I've found your link points to the same library :) It just changes domain name. That is a very nice piece of code. Thank you. To all Is there any interest in ad

[Harbour] Decimal Arithmetic

2010-03-16 Thread Alex Strickland
Hi All I found this site: http://speleotrove.com/decimal/ I have often wished to get around the problems of floating point arithmetic. This library seems to offer a route that is not too steep. Any takers for a new type? Unfortunately "D"ecimal and "M"oney are taken. Regards Alex __

Re: [Harbour] DBI_PASSWORD

2010-03-05 Thread Alex Strickland
Enrico Maria Giordano wrote: It is working well for me with a small test sample of clients. I am able to also successfully decrypt the databases if I need. Thank you, but I would want to know if there can be problems in real application usage. It's real application usage, for a small group o

Re: [Harbour] DBI_PASSWORD

2010-03-05 Thread Alex Strickland
Enrico Maria Giordano wrote: One more question: is it safe to use DBI_PASSWORD to crypt DBFs without memo fields? It is working well for me with a small test sample of clients. I am able to also successfully decrypt the databases if I need. HTH Alex _

Re: [Harbour] How to retrieve the CallStack

2010-03-01 Thread Alex Strickland
francesco perillo wrote: I now ask if is it possible to get a prg-level CallStack array in order to use it in the errorsys handler. I use: function Stack2Str(n) local cStackStr := "" local cProcFile DEFAULT n TO 2 while !empty(procname(n)) cStackStr += "Called from

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

2010-02-24 Thread Alex Strickland
Lorenzo Fiorini wrote: On Thu, Feb 25, 2010 at 6:36 AM, Lorenzo Fiorini wrote: done in the last 5 or so? years :) Why does the -kl option not work for you? Regards Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-pr

Re: [Harbour] FPT corruption

2010-02-12 Thread Alex Strickland
Przemysław Czerpak wrote: The maximum size of single memo block in FPT format is 4GB. Any upper limit check we can introduce without reducing functionality is comparing the size of memo block with the difference between total memo file size and block offset. For relatively small memo files it ma

Re: R: [Harbour] HB_BYTE vs. HB_UCHAR

2010-02-11 Thread Alex Strickland
Maurizio la Cecilia wrote: I agree with the uniqueness of the type, but i like HB_UCHAR. The 'unsigned' qualifier is declared, despite of HB_BYTE (signed or unsigned?). I know that it's more familiar, but not so precise as the HB_UCHAR (leaving no doubt about the sign). For me, HB_BYTE implies

Re: [Harbour] FPT corruption

2010-02-11 Thread Alex Strickland
Mindaugas Kavaliauskas wrote: USHORT uiField = hb_parni( 1 ); ULONG ulBlock, ulSize, ulType; BOOL bDeleted; Viktor will kill you if he sees these :) Cheers Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http:

Re: [Harbour] File names in dos/windows and Linux

2010-02-10 Thread Alex Strickland
Xavi wrote: Try with last SVN wapi_GetShortPathName( cLongPath, @cShortPath ) http://msdn.microsoft.com/en-us/library/aa364989%28VS.85%29.aspx Thanks Xavi, I actually only used it as a one off solution to convert a whole bunch of short names to long names, but your solution is much neater an

Re: [Harbour] File names in dos/windows and Linux

2010-02-10 Thread Alex Strickland
Bruno Luciani wrote: Which is the function that you say ? I have attached the code. It is a hack of the Harbour DIRECTORY() implementation. It may not be up to date with the code in SVN. I hope it helps. Regards Alex /* * $Id: direct.c 11528 2009-06-26 00:33:38Z druzus $ */ /* * Harbou

Re: [Harbour] File names in dos/windows and Linux

2010-02-10 Thread Alex Strickland
Bruno Luciani wrote: Hi, there is in Harbour any function to get the DOS short filename (8.3) ? I'm using an API function but I like to use and standard Harbour function. No, I didn't find anything. I have made a small change to the Harbour one, which you are welcome to look at, but I do see

Re: [Harbour] Re: SF bug tracker#2945728: Wrong usage of console bufferin Windows

2010-02-05 Thread Alex Strickland
Itamar Lins wrote: Please post small exaple of how to activate debug in Hwgui. Here is my hbp file, note below Debugging comment: # easipos.hbp ${HWGUI_INSTALL_PREFIX}\hwgui.hbc -oeasipos # -trace -inc -workdir=easipos -w -es2 # ***Debugging*** -b -gtwin /dECR32 /dECR /dEASIPOS easipos.re

Re: [Harbour] SF bug tracker#2945728: Wrong usage of console buffer in Windows

2010-02-05 Thread Alex Strickland
Przemysław Czerpak wrote: Calling SETMODE() fixed such anomalies by setting both to the same dimemntions. SETMODE() sets the same dimensions for the window size and console buffer size. This has caused so many questions over the years I wonder if it might not just be better to run setmode b

Re: [Harbour] Hb_RegEx() - How to determine if an expression is a valid one

2010-02-04 Thread Alex Strickland
Pritpal Bedi wrote: How it can be determined that an expression is a valid regex which can be submitted to the engine, without generating a RTE ? Why is a RTE not suitable? BEGIN SEQUENCE is your friend. Regards Alex ___ Harbour mailing list (attac

Re: [Harbour] DBF encryption

2010-02-02 Thread Alex Strickland
Przemysław Czerpak wrote: All such modifications will effect SIX3 compatibility. To touch it will have to repeat some tests with SIX3 and document differences and it will be time consuming process due to bugs in SIX3 library. I do not have time for it now, sorry. No problem, thanks for the res

Re: [Harbour] DBF encryption

2010-02-02 Thread Alex Strickland
Przemysław Czerpak wrote: If you want to change password then you have to decrypt the table and then encrypt it again with new password. What do you think of issuing a RTE if you try and encrypt an encrypted database, it seems better than a silent fail? Similarly, what do you think of a RTE

Re: [Harbour] DBF encryption

2010-01-29 Thread Alex Strickland
Przemysław Czerpak wrote: If you want to change password then you have to decrypt the table and then encrypt it again with new password. Ahh! Thanks very much. Regards Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-proj

Re: [Harbour] Qt* - A Mission Statement

2010-01-27 Thread Alex Strickland
Pritpal Bedi wrote: So, I think I stand a point to clarify what happened around in the last 21 hours. I'm sorry, it didn't clarify much for me :) I have great respect for anyone who can sacrifice their time the way you have done so. However, I do not understand why a technical discussion has

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

2010-01-24 Thread Alex Strickland
dru...@users.sourceforge.net wrote: 2010-01-23 01:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/memvars.c ! fixed RELEASE ALL [LIKE | EXCEPT] command - thanks to Enrico for information [ TOMERGE 2.0 ] ? Regards Alex ___

Re: [Harbour] Win 7 64-bit "hello world" simple compile error

2010-01-24 Thread Alex Strickland
Viktor Szakáts wrote: Now it offers lots of new features, like incremental mode, static and dynamic library generation modes, .hbp/.hbm/.hbc control, binary compression, embedded Harbour compiler. And a lot more on the deeper level. Don't forget the "make" like automatic feature of det

Re: [Harbour] 2 little requests to commit-ters...

2010-01-22 Thread Alex Strickland
francesco perillo wrote: Please report them in a way that can be easily understood which commit they belong to. I hope this is suitable, I only included fixes to core features. 2010-01-21 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/memoedit.prg ! Fixed to not return e

Re: [Harbour] 2 little requests to commit-ters...

2010-01-22 Thread Alex Strickland
francesco perillo wrote: I'm preparing to do merging in 2.0 That is good of you. I noticed that there were a few bug fixes that did not appear to be marked with TOMERGE, did you notice them? If not I will try and have a look through the ChangeLog and report them. As ever, I am behind the

[Harbour] DBF encryption

2010-01-20 Thread Alex Strickland
Hi I was trying to understand encryption of dbf's and I wrote this test. I didn't expect the last two lines of output (see end), but perhaps it is invalid to expect an encrypted file to be encrypted again? If so, shouldn't: dbcrypt->( dbinfo( DBI_ENCRYPT, "fredflintstone" ) ) cause an

Re: [Harbour] $ operator with hashes and arrays

2010-01-08 Thread Alex Strickland
Mindaugas Kavaliauskas wrote: AFAIR, in Clipper value $ array is invalid operation, so, we have the same in Harbour. Hash is new type that do not exist in Clipper, so, we were free to implement any behavior. Thank you. Regards Alex ___ Harbour mail

[Harbour] $ operator with hashes and arrays

2010-01-08 Thread Alex Strickland
Hi procedure main() static shAllowed := {"STR"=>, "VAL"=>} static saAllowed := {"STR", "VAL"} ? "STR" $ shAllowed ? "STR" $ saAllowed return results in: .T. Error BASE/1109 Argument error: $ Called from MAIN(5) Could someone explain to me why $ is defined on hashes but not arrays?

Re: [Harbour] Harbour next major release wishlist

2010-01-07 Thread Alex Strickland
Viktor Szakáts wrote: You're welcome to post your idea, whatever that is. Extension of virtual file functions from RDD file functions to basic file functions, either in the form of fopen("net:\fred.txt") or hb_fopen("net:\fred.txt"). Thank you all for your hard work to release the new Harb

Re: [Harbour] Watcom C and starup code

2009-12-09 Thread Alex Strickland
Przemysław Czerpak wrote: and I need to know if MSC supports: #pragma off (unreferenced)/* to disable unused variable warnings */ #pragma on (unreferenced) /* to enable unused variable warnings */ or at least silently ignores them. Can someone using MS[V]C check it? With

Re: [Harbour] Problem in OLE implementation

2009-12-01 Thread Alex Strickland
Przemysław Czerpak wrote: Alex can you try to add at the beginning of rddado/tests/access2.prg: FIELD FIRST and change the line 33 from: locate for TEST2->First = "Lara" to: locate for First = "Lara" and then repeat the test? Yes, this works and writes .T. to the console. Regards A

Re: [Harbour] Problem in OLE implementation

2009-12-01 Thread Alex Strickland
J. Lefebvre wrote: I will continue to investigate, Perhaps this may help: http://www.microsoft.com/downloads/details.aspx?familyid=5233b70d-d9b2-4cb5-aeb6-45664be858b6&displaylang=en#QuickInfoContainer it is OleView.exe which is quite useful for seeing what is behind the scenes. Regards Ale

Re: [Harbour] Problem in OLE implementation

2009-12-01 Thread Alex Strickland
Viktor Szakáts wrote: Can you try with the copy in 'examples/rddado' and tests under 'tests'. OK, got them. access1.prg fails with : Error OLE/3012 Argument error: OPEN (DOS Error -2147352567) Called from WIN_OLEAUTO:OPEN(0) If I replace this line: USE test.mdb VIA "ADORDD" TABLE "Tabla

Re: [Harbour] Problem in OLE implementation

2009-12-01 Thread Alex Strickland
akats $ */ #include "adordd.ch" REQUEST ADORDD function Main() USE xbrtest.mdb VIA "ADORDD" TABLE "Customer" Browse() USE return nil It appears to work very well, the browse showing me all the customer details. I think it should be restored to SVN.

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

2009-12-01 Thread Alex Strickland
Massimo Belgrano wrote: can you share your test to better understand? I am using a commercial DLL supplied to allow redemption and purchase of gift vouchers. Many of the functions return arrays of objects (* IUnknown). With Przemyslaw's changes (and not to forget the initial and ongoing co

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

2009-11-30 Thread Alex Strickland
dru...@users.sourceforge.net wrote: * harbour/contrib/hbwin/olecore.c + added support for conversion safe arrays with any type variants to Harbour - please test It works! I am simply amazed. This will save me absolute weeks of work on an alternative (and not very good) solution

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

2009-11-30 Thread Alex Strickland
Alex Strickland wrote: dru...@users.sourceforge.net wrote: 2009-11-30 04:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c + added support for passing OLE pointer item as VT_DISPATCH variants + added support for updating VT_DISPATCH and VT_UNKNOWN

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

2009-11-29 Thread Alex Strickland
dru...@users.sourceforge.net wrote: 2009-11-30 04:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c + added support for passing OLE pointer item as VT_DISPATCH variants + added support for updating VT_DISPATCH and VT_UNKNOWN parameters

Re: [Harbour] Problem in OLE implementation

2009-11-27 Thread Alex Strickland
Alex Strickland wrote: Is it possible to add support for this? It may be better to replace the lines at the end of hb_oleVariantToItem default: hb_itemClear( pItem ); with a run time error? Regards Alex ___ Harbour mailing list

Re: [Harbour] Problem in OLE implementation

2009-11-27 Thread Alex Strickland
Enrico Maria Giordano wrote: Works fine now, thank you all. I tested it as well, and it works great. Regards Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/h

Re: [Harbour] Problem in OLE implementation

2009-11-27 Thread Alex Strickland
Hi Mindaugas, Przemyslaw I have an OLE dll that I am trying to use. I think it returns a safearray of IUnknown. To understand a bit better I put the following 3 debug lines in olecore.c: void hb_oleVariantToItem( PHB_ITEM pItem, VARIANT* pVariant ) { char debug[ 100 ]; if( pVariant->n1.n2

Re: [Harbour] Re: OS/2: Harbour 13015

2009-11-25 Thread Alex Strickland
Przemysław Czerpak wrote: I think it's too big modification to introduce it just before new release and I will want to work on it without any dead lines. I've committed everything what I planed for next stable release and now I think it's time to give it to users and also allow 3-rd party develo

Re: [Harbour] Re: OS/2: Harbour 13015

2009-11-25 Thread Alex Strickland
Przemysław Czerpak wrote: BTW I would like to start build tests on different platforms. I hope that we will release final 2.0 before Christmas. Do you have any plans to introduce HB_FCREATE() etc before final version? Regards Alex ___ Harbour maili

Re: [Harbour] SSL

2009-11-15 Thread Alex Strickland
Gerald Drouillard wrote: Another approach is consider using the curl support. For us it works great. Thanks, I probably will. Are you using the exe or the library? wget.exe does not appear to support adding a pass key on the command line. I think curl.exe does, I would appreciate a heads up

Re: [Harbour] SSL

2009-11-15 Thread Alex Strickland
Viktor Szakáts wrote: Unfortunately not. I had not touched the certificate topic yet. No problem, thanks again. Regards Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman

[Harbour] SSL

2009-11-13 Thread Alex Strickland
Hi Viktor I have to write some code to pick up an XML file from an https address. I did some test with wget to get the client certificate stuff working ok. Then I downloaded OpenSSL and compiled Harbour. I ran test.prg in hbssl\tests which seems fine. Now, I start to understand just what a hu

Re: [Harbour] Fwd: [Viktor] Suggestions on How to Get Help

2009-11-09 Thread Alex Strickland
Viktor Szakáts wrote: So to sum up technical problems, the only one which I believe is reasoned is the speed of our sf.net forum compared to others. I think that slow performance alone isn't a reason to chose other forums, unless there is someone who's willing to maintain a sim

Re: [Harbour] uhttpd v0.3

2009-11-08 Thread Alex Strickland
Mindaugas Kavaliauskas wrote: Future ideas - I'm very happy with templates, but I need some higher level controls/widgets like browses, etc., to be able write database web applications. Actually it is not a drawback of server, it is just a need of some web framework. Current UWBrows

[Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread Alex Strickland
Hi Viktor I thought I would compile an old clipper app to see how it would go with gtwvt. Firstly, it is truly amazing to see literally 100's of 1000's of lines compile in a flash. At the end of the whole affair, I get only 27 linker errors, the majority of which are blinker calls - really, am

[Harbour] Typo in hbstr.c

2009-11-03 Thread Alex Strickland
Hi In hbstr.c there is a typo in the trace line: char * hb_strncat( char * pDest, const char * pSource, ULONG ulLen ) { char *pBuf = pDest; HB_TRACE(HB_TR_DEBUG, ("hb_strncpy(%p, %s, %lu)", pDest, pSource, ulLen)); Regards Alex ___ Harbour mai

Re: [Harbour] about Netio

2009-11-02 Thread Alex Strickland
Viktor Szakáts wrote: Now I am compiling with the command line (adding hbmemio): D:\harbour\contrib\hbnetio\tests>\hrbmingw\bin\hbmk2 netiotst -lhbmemio hbmemio and hbnetio are two different things. -lhbmemio not needed. hbmemio has *nothing* to do with .mem files. It is for use with an RDD

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

2009-10-29 Thread Alex Strickland
dru...@users.sourceforge.net wrote: + harbour/doc/xhb-diff.txt This is fantastic information, not least as a comparison, but more importantly for me as centralised documentation of the many important enhancements over Clipper. I have not had time to read it fully yet but I did not see the

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

2009-10-29 Thread Alex Strickland
Massimo Belgrano wrote: How is possible found a common and good solution? Symbolic links? :) Regards Alex ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2009-10-29 Thread Alex Strickland
Maurilio Longo wrote: I'm against CHANGES.txt :) CHGLOG.txt ? Regards Alex ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2009-10-29 Thread Alex Strickland
Guy Roussin wrote: missing .txt only disturb windows users because notepad add .txt to each files ;-) Microsoft claims a billion Windows users, maybe we shouldn't disturb them. I promise, I practically started programming on an AT&T Unix box (that was after the Sperry Univac - geez). Regar

Re: [Harbour] Error making harbour - ChangeLog 12778

2009-10-28 Thread Alex Strickland
Przemysław Czerpak wrote: Please try again with current SVN code. Should be fixed at: 2009-10-28 09:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) It is fixed, and testax.prg works flawlessly, so does my hwgui test code. Thank you once again. Regards Alex ___

[Harbour] Error making harbour - ChangeLog 12778

2009-10-28 Thread Alex Strickland
With Harbour (Changelog: * $Id: ChangeLog 12778 2009-10-27 18:49:44Z druzus $) I did a SVN update this morning, "make clean", "make", and "make install". Only harbour.exe and hbpp.exe were copied to the bin directory (I discovered this trying to test testax.prg). I am using MSVC 2008. I then

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

2009-10-27 Thread Alex Strickland
dru...@users.sourceforge.net wrote: * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added hb_oleItemGetCallBack() and hb_oleItemSetCallBack() functions and support for user defined items bound with OLE GC pointer item * harbour/contrib/hbwin/axcore.c

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

2009-10-26 Thread Alex Strickland
dru...@users.sourceforge.net wrote: Log Message: --- 2009-10-23 18:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! fixed wrongly initialized reference counter in AX control. Now when AX Window is closed and all .prg references to OLE

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

2009-10-26 Thread Alex Strickland
dru...@users.sourceforge.net wrote: 2009-10-23 18:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! fixed wrongly initialized reference counter in AX control. Now when AX Window is closed and all .prg references to OLE are cleared pSink

[Harbour] Destructors of static scope variables

2009-10-26 Thread Alex Strickland
Hi all Is it expected behavior that this program does not output "Destructor"? #include "hbclass.ch" static oMSCAL function main() MSCALInit() //oMSCAL := nil return nil procedure MSCalInit() oMSCAL := HActiveX():New() return CLASS HActiveX METHOD New DESTRUCTOR Dtor ENDC

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

2009-10-23 Thread Alex Strickland
dru...@users.sourceforge.net wrote: 2009-10-23 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbgtcore.c + added default implementation for HB_GTI_CLIPBOARDPAST - thanks to Is there any reason this is not HB_GTI_CLIPBOARDPASTE? Regards Alex ___

Re: [Harbour] ActiveX and GPF

2009-10-22 Thread Alex Strickland
Przemysław Czerpak wrote: For sure it's called. I've checked it with your example. You are correct, it is called. In my HWGUI example with similar functionality, the destructor is not called. Is this because the code blocks in the menu produce the same problematic references? function main

Re: [Harbour] ActiveX and GPF

2009-10-22 Thread Alex Strickland
Przemysław Czerpak wrote: If you use in your code as even handler sth what does not keep reference to oMSCal and it will resolve all your problems, i.e: ::oOLE := WIN_AxGetControl( hWnd, ; { | event, ... | MyEvent( event, ... ) }, cID ) [...] Hmm, the dest

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

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] 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] 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 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] 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->(

[Harbour] Data Dictionary Support

2009-10-20 Thread Alex Strickland
Hi I was thinking of the following: 1. A compiler option to declare a data dictionary declaration so that statements of the form: workarea->fieldname could be validated. In the case where a DBF exists it could be used as a kind of "include" file, and there would need to be an alias m

Re: [Harbour] ActiveX and GPF

2009-10-20 Thread Alex Strickland
Przemysław Czerpak wrote: Thank you for your information, I will follow it up. In general it would greatly help if you can create self contain example using only Harbour SVN code which we can compile and verify the problem. Agreed. If this is Harbour problem then it should be possible to cr

[Harbour] ActiveX and GPF

2009-10-19 Thread Alex Strickland
Hi Mindaugas/Przemyslaw I have been working with ActiveX again. If I comment out the call to Release() in hb_ole_destructor() in olecore.c the GPF does not occur. That is not very helpful so I wondered if Release() depends in some way on whether OleUninitialize() has been called. If I restore

Re: [Harbour] COM Arrays of COM Objects

2009-10-15 Thread Alex Strickland
Alex Strickland wrote: My code is failing on an a COM call which is supposed to return an array of COM objects. Is that even supposed to work? I get NIL, not an error. If anyone is willing to work on this issue and ActiveX support for HWGUI on a commercial basis, please contact me by e

[Harbour] COM Arrays of COM Objects

2009-10-14 Thread Alex Strickland
Hi all My code is failing on an a COM call which is supposed to return an array of COM objects. Is that even supposed to work? I get NIL, not an error. Thanks and regards Alex ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour

Re: [Harbour] Re: Harbour Forum and Wiki.

2009-10-14 Thread Alex Strickland
Viktor Szakáts wrote: Finally: Does anyone have anything else pending? Is there any consensus on the desirability of extending Przemek's replaceable file driver to standard file functions? For example: fopen("net:\fred.txt") Regards Alex

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

2009-10-02 Thread Alex Strickland
Przemyslaw Czerpak wrote: This is what I can see after rather short code look up mostly on client side. In summary to resolve these problems we will have to rewrite most of current LetoDB code dropping xHarbour and old Harbour support. I haven't analyzed this code very deeply but seems that we c

  1   2   3   4   >