Hi All,
I am still waiting solution of GPF being intra-dlls file call of QT ...
http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-td4880826.html#a4880826
Called from QT_QWIDGET_SETWINDOWTITLE(0)
Called from QMAINWINDOW:SETWINDOWTITLE(0) in ../../../TQWidget.prg
Called from XB
marco bra wrote:
>
> On Ubuntu 10.04 32 bits Harbour Rev. 14331 test:
>
> a) - Launching Hbide from the source contrib dir path
> b) - Creating a test1 project ( with only one source, simply a qout("hello
> world") )
> c) - Compiling the project: "hello" is created in
> ./contrib/hbide/projects
On Ubuntu 10.04 32 bits Harbour Rev. 14331 test:
a) - Launching Hbide from the source contrib dir path
b) - Creating a test1 project ( with only one source, simply a qout("hello
world") )
c) - Compiling the project: "hello" is created in
./contrib/hbide/projects/hello but hbide auto create and run
On Tue, 13 Apr 2010, Szak�ts Viktor wrote:
Hi,
> Speaking of hbmk2, which has a -run/-hbrun functionality,
> above configurable method seems to defeat the whole
> purpose of these option (namely to launch target executable
> in a _simple_ way).
> What do you recommend as a simple, default, com
On 13/04/10 21:00, Przemysław Czerpak wrote:
It would be nice if user can choose preferred terminal.
As default hbide can use: "xterm -e " as most portable
setting and user can change it i.e. to: "konsole -e" or
"pterm -e" ...
-eis the standard option in most of
terminal emulators.
Yes I ag
Hi Przemek,
> This is different thing.
> When you are working with XWindow then you can execute new
> programs in separated terminal windows. Such functionality
> should be optional, i.e. hbide can have an option:
> [x] execute in new terminal
> so user can set it when he thinks it's necessary f
I didn't have time to test , when I test I report
to you
Bruno
2010/4/13 Pritpal Bedi
>
>
> Bruno Luciani wrote:
> >
> > thanks Pritpal
> >
>
> Welcome, but this does not portray if it worked for you ?
>
>
> -
> enjoy hbIDEing...
>Pritpal Bedi
> http://hbide.vouch.info/
> --
>
Ok
running
http://www.lw3dtr.com.ar/cgi-bin/testlorenzo?testcgi
I get
Hello World!
What that means ?
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 6:45 PM, Bruno Luciani
> wrote:
>
> > [Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081
> > Argument error:
Now it remains to be seen how to detect that 'konsole'
needs to be used.
Is there any universal solution in the Linux world
for that whole isse? F.e. on OS X it's called 'open '.
Brgds,
Viktor
On 2010 Apr 13, at 21:28, Barry Jackson wrote:
> OK I have been playing and I now have hbide launchi
On Tue, 13 Apr 2010, Szak�ts Viktor wrote:
Hi,
> > If I run from command line :-
> > [...@jackodesktop hash]$ hbmk2 ash.hbp -run
> > then ash is built and runs, but it is in a terminal window labelled
> > "hash:hbmk2"
> > If I kill the hbmk2 process then the running ash process drops to a prompt
OK I have been playing and I now have hbide launching my non-GUI
application in konsole in KDE using :-
ELSE
* qProcess:startDetached_2( cTargetFN )
cRunStr := "konsole --workdir " + oProject:wrkDirectory + " -e "
+ cTargetFN
hb_run( cRunStr )
ENDIF
I can close hbi
Revision: 14331
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14331&view=rev
Author: vszakats
Date: 2010-04-13 18:57:39 + (Tue, 13 Apr 2010)
Log Message:
---
2010-04-13 20:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator2/h
Bruno Luciani wrote:
>
> thanks Pritpal
>
Welcome, but this does not portray if it worked for you ?
-
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
--
View this message in context:
http://n2.nabble.com/Howto-setup-OS-enviroment-HBIDE-tp4890889p4897571.html
Sent
On Tue, Apr 13, 2010 at 6:45 PM, Bruno Luciani wrote:
> [Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081
> Argument error: +
> [Tue Apr 13 14:01:05 2010] [error] [client xx] Called from MAIN(9)
If you look at the cgi script it requires a parameter, so you should
cal
i test with this t1.prg
FUNCTION Main()
s_cNewLine := HB_OSNewLine()
// s_cNewLine := chr(10)
cContent :=
;
"Content-type: text/html"+ s_cNewLine
+ s_cNewLine + ;
" Hello world " + ;
"I am H
Another thing , in linux we need to compile in static mode because we don't
have harbour installed on webserver machine
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 6:00 PM, Bruno Luciani
> wrote:
>
> > Lorenzo , could you try testcgi sample from test folder in SVN ?
>
> testcgi.p
Error BASE/1081 Argument error: + (Quit)
This is the response
and the apache log
[Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081
Argument error: +
[Tue Apr 13 14:01:05 2010] [error] [client xx] Called from MAIN(9)
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr
On Tue, Apr 13, 2010 at 6:00 PM, Bruno Luciani wrote:
> Lorenzo , could you try testcgi sample from test folder in SVN ?
testcgi.prg doesn't work.
Try to compile the code below and put it in your cgi-bir dir.
procedure main(...)
local s_cNewLine := HB_OSNewLine()
outstd( "CONTENT-TYPE: T
Lorenzo , could you try testcgi sample from test folder in SVN ?
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 3:38 PM, Bruno Luciani
> wrote:
>
> > or others cgi programs.
>
> I use Apache, Harbour and CGI every day and I can assure it works even
> better than other web solutions.
>> BTW IMO getting this right is more important than any
>> HBIDE work. HBIDE works enough that everyone can play
>> with it, but it conveys very bad image that there are
>> everyday problems in Linux f.e.
>>
>
> Yes, for sure, but still I am handicapped on account of
> Linux behavior. Many a
Viktor Szakáts wrote:
>
> BTW IMO getting this right is more important than any
> HBIDE work. HBIDE works enough that everyone can play
> with it, but it conveys very bad image that there are
> everyday problems in Linux f.e.
>
Yes, for sure, but still I am handicapped on account of
Linux
Hi Pritpal,
>> This horizon is so wide that I prefer to keep it
>> QT specific. I even hope someone can take it from this
>> stage (Pritpal I hope).
>>
>
> I am looking at it, but right now casually, devided in hbIDE and hbQT.
> Sure I will take over. Please keep up.
>
> Yesterday I started g
Viktor Szakáts wrote:
>
> Maybe can be done to some extent, but I'm nearly sure
> this can never be a fully generic process. With most libs
> you need to understand the background logic which you can
> rarely deduct from plain headers. If you're through that,
> you need to map types, which e
On Tue, Apr 13, 2010 at 3:38 PM, Bruno Luciani wrote:
> or others cgi programs.
I use Apache, Harbour and CGI every day and I can assure it works even
better than other web solutions.
outstd() and -gtcgi flag are all you need to start.
I can't say anything about THTML.
best regards,
Lorenzo
_
Hi Francesco,
(pls don't cut the whole context, it's difficult to know
by SVN revision number, what was the original msg)
> Thank you very much for your work because I think it can go in the
> right direction. I didn't study your code yet but I want to ask you
> one thing anyway... can may the c
marco bra wrote:
>
> Trying to create a project on hbide compiled with (hbmk2 hbide.hbp
> -rebuild)
> on Linux Ubuntu 9.10 32 bits
> on choosing the folder icon to select the destination folder Hbide crash
> with this error:
>
> ** (:5034): CRITICAL **: atk_object_set_name: assertion `name !=
> [Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from
> script. Bad header=\x1b[0m\x1b[1;1H\x1b[?25hHTTP/1.0 200 O: testcgi
They seem to be console codes... like if not the correct GT is being used...
You can use wget to get the page and store in a file:
wget -O outputfil
Thank you very much for your work because I think it can go in the
right direction. I didn't study your code yet but I want to ask you
one thing anyway... can may the code be written to be modular and
easily adaptable to various sources ? It may be nice tobe able to
harbour-ize any external library
The sample TestHtml works ok vailton
the problem is with , testcgi sample
or others cgi programs.
Bruno
2010/4/13 Vailton Renato
> Hi!
>
> See if this helps, look ShowResult() in this sample:
> http://www.harbour-project.org/samples/testhtml.prg.html
>
> Regards,
> Vailton Renato
>
> 2010/4/
Exactly this is the problem
Bruno
2010/4/13 marco bra
> Also here on apache2 on Ubuntu 9.10 32 bits
>
> More detailed error... seems there is something wrong in sent header:
>
> [Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from
> script. Bad header=\x1b[0m\x1b[1;1H\x1b
Thanks for clarification, sorry for my misunderstranting
Grazie per la dettagliata spiegazione e scusa la mia ignoranza
Il 13 aprile 2010 13.31, francesco perillo ha scritto:
> Massimo, solution to my "other problem" will be a side-effect of what
> is being worked on now.
>
--
Massimo Belgra
thanks Pritpal
Bruno
2010/4/13 Pritpal Bedi
>
>
> Bruno Luciani wrote:
> >
> > How I can include an external lib and a .ch file in HBIDE project ?
> >
>
> 1. Right-click on project name node in Projects tree and select
> "Properties"
> 2. Properties dialog will appear on right panel.
> 3. Click
On 13/04/10 12:45, Viktor Szakáts wrote:
I don't know, but if someone gives me some hints,
it's very easy to implement in hbmk2. It already
works for win, darwin and os2.
For *nix it's AFAIK desktop dependent, and we should
also have a default version which is plain terminal
based.
Here is my
Revision: 14330
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14330&view=rev
Author: vszakats
Date: 2010-04-13 13:05:04 + (Tue, 13 Apr 2010)
Log Message:
---
2010-04-13 15:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator2/h
Also here on apache2 on Ubuntu 9.10 32 bits
More detailed error... seems there is something wrong in sent header:
[Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from
script. Bad header=\x1b[0m\x1b[1;1H\x1b[?25hHTTP/1.0 200 O: testcgi
Hth
Best regard,
Marco
__
-Original Message-
From: Massimo Belgrano [mailto:mbelgr...@deltain.it]
Sent: Tuesday, April 13, 2010 1:14 PM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] Anyone interested to join an ERP project based on
Harbour+Web+SQL?
It may be an intresting harbour experience
How
Hi!
See if this helps, look ShowResult() in this sample:
http://www.harbour-project.org/samples/testhtml.prg.html
Regards,
Vailton Renato
2010/4/12 CarozoDeQuilmes :
> My 2 cent:
>
> Starting the Apache2.2 service
> The Apache2.2 service is running.
> ] Apache/2.2.15 (Win32) configured -- resumi
Trying to create a project on hbide compiled with (hbmk2 hbide.hbp -rebuild)
on Linux Ubuntu 9.10 32 bits
on choosing the folder icon to select the destination folder Hbide crash
with this error:
** (:5034): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed
hbide.prg:327:HBIDE:CRE
Hi,
Przemysław Czerpak wrote:
>
> You haven't read Clipper documentation for APPEND FROM ...
>
> VIA and SDF are mutual exclusive clauses so such command
> does not exists.
>APPEND FROM ... SDF
> means append using SDF RDD and
>APPEND FROM ... VIA "DBFCDX"
> means append using DBFCDX
>> Brgds,
>> Viktor
>
> If I run from command line :-
>
> [...@jackodesktop hash]$ hbmk2 ash.hbp -run
>
> then ash is built and runs, but it is in a terminal window labelled
> "hash:hbmk2"
>
> If I kill the hbmk2 process then the running ash process drops to a prompt,
> with ./ash still takin
Massimo, solution to my "other problem" will be a side-effect of what
is being worked on now.
Francesco
Massimo, il lavoro che si sta facendo ora, di inserire una migliore
gestione degli oggetti in hbqt, permetterà di adattare il codice dei
costruttori per avere funzioni di overloading... esempio
On 13/04/10 11:05, Viktor Szakáts wrote:
Of course nobody has to believe me, but probably
the most convenient solution is to launch target
using 'hbmk2 -hbrun my.hbp' (for standalone launch)
or additional '-run' option (for build and launch operation).
This way there is no need to detect target
Przemek
Thanks for your genious idea
Have you brillant solution to resolve also problem posted by francesco
Easy use source code available for qt in harbour (also via preprocessor tips)
http://n2.nabble.com/hbqt-a-couple-of-questions-td4874292.html#a4874292
2010/4/12 Przemysław Czerpak :
> On
Post here that
we search same intrested user
2010/4/10 Antonio Maniero :
> I had written, many years ago, a few rules for PP translate some FoxPro
> commands to Clipper compatible code. Anyone here with FoxPro experience to
> test this?
> I could contribute these rules (and some code, I really ca
It may be an intresting harbour experience
How you made DBF2SQL
mediator,sql lib offer a easy way commercial
sqllib a open source way
Regarding GT to Web hi hope that harbour write a limited gt for each browser
As intresting experiment in web area for harbour
Minigui script have made an intresti
On 2010 Apr 13, at 13:10, Vailton Renato wrote:
> Hi Viktor!
>
>> BTW: Vailton, I can't see credits for Patrick Mast
>> regarding the logo on the homepage. Unless I'm
>> missing something, could you pls add it?
>
> Done on the main page. If approved will update the othe
Hi Viktor!
> BTW: Vailton, I can't see credits for Patrick Mast
> regarding the logo on the homepage. Unless I'm
> missing something, could you pls add it?
Done on the main page. If approved will update the other pages the same way.
Regards,
Vailton Renato
__
I'm extending my ERP to support multiple languages and multiple fiscal
laws but I can't easily find developers that are skilled in Harbour,
Web techs, SQL and that can work on localizations.
I'm wondering if instead of doing everything internally, it wouldn't
be better to share the project with a
Revision: 14329
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14329&view=rev
Author: vszakats
Date: 2010-04-13 10:20:35 + (Tue, 13 Apr 2010)
Log Message:
---
2010-04-13 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/poccarm.mk
*
Of course nobody has to believe me, but probably
the most convenient solution is to launch target
using 'hbmk2 -hbrun my.hbp' (for standalone launch)
or additional '-run' option (for build and launch operation).
This way there is no need to detect target
executable name and everything is handl
Now works with 14328
2010/4/12 Pritpal Bedi :
>
>
> Can you search in the explorer where test.exe is actually created ?
--
Massimo Belgrano
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-proje
On 13/04/10 09:30, Przemysław Czerpak wrote:
On Tue, 13 Apr 2010, Pritpal Bedi wrote:
I need a functionality where new process executes normally at its own and
control is returned back to caller. How this can be achieved with
hb_processRun() ?
You have to read my message once again.
I gave y
On Tue, 13 Apr 2010, Pritpal Bedi wrote:
Hi,
> > Look at parameters. They give you the answer.
> > To set , and is necessary to wait inside
> > hb_processRun() until executed command terminates.
> >
> > If you want to still execute your foreground process then use:
> >hb_processOpen( , ;
>
>> is .T. by default,
>> is .T. by default, when it's .F. the process is killed
>> unconditionally.
>>
>
> I tried this:
>
> hb_processRun( cExecutable, NIL, NIL, NIL, .F. )
> Executable is invoked but control is returned to the caller after
> termination of executable.
> hb_processRun( c
Przemysław Czerpak wrote:
>
> Look at parameters. They give you the answer.
> To set , and is necessary to wait inside
> hb_processRun() until executed command terminates.
>
> If you want to still execute your foreground process then use:
>hb_processOpen( , ;
>[ @ ], [
On Mon, 12 Apr 2010, Pritpal Bedi wrote:
Hi,
> >hb_processRun( , [ ], [ @ ], [ @
> > ], ;
> > [ ] ) ->
> > must not be .T. if you do not want to execute process in
> > background (as daemon).
> > This command is implemented for all platforms.
> If == .F. then the proces
Hi all,
I am in the need of creating a harbour app as a service.
AFIK there are two ways to do that. One could be using a win32 tool to
convert a console app into a win32 service. The other is to do it
programmatically. I prefer second one.
Well, I found some code and samples that
>> I will commit this fix.
>>
>
> Okay.
>
>
>
>> Notice however, that even this won't be enough to properly
>> launch the extracted executable name for multiple reasons.
>>
>
> So what could be the best way ?
I'd suggest to check what Przemek suggested,
plus look at hbmk2, which also has
Przemysław Czerpak wrote:
>
>hb_processRun( , [ ], [ @ ], [ @
> ], ;
> [ ] ) ->
>
> must not be .T. if you do not want to execute process in
> background (as daemon).
> This command is implemented for all platforms.
>
If == .F. then the process will run under hbIDE'
On Tue, 13 Apr 2010, Szak�ts Viktor wrote:
Hi,
> >> Maybe msvc ones can be suppressed with a #pragma?
> > and setting _CRT_SECURE_NO_WARNINGS.
> > Seem that all can be done in zutil.h and gzguts.h.
> Can you do it? It's not very good to have 40KB of
> warning in normal builds.
Sorry but I do no
Viktor Szakáts wrote:
>
>>! More fixes to detect the executable from linker output ( still not
>> perfect ).
>
> You explicitly added default empty string as third parameter to STRTRAN(),
> but this does nothing, exact same thing is executed.
>
> In another line you remove Chr( 10 ) from a
> 2010-04-12 08:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
> * contrib/hbide/ideprojmanager.prg
>! Properly fixed old problem with executable name extraction,
> leaving the ending delimiter in the extracted string.
Well, it was needed before, but not needed now, so it was
not an
On Mon, 12 Apr 2010, Pritpal Bedi wrote:
Hi,
> >> 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
63 matches
Mail list logo