Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Przemyslaw Czerpak
[wtorek, 18 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > Of course yy = 0, > hb_valToExp( { ... } ) = {"\myprog2.exe","par2","par3"} Thank you for confirmation. Current SVN code of hb_fsProcessRun() (hb_fsProcessExec()) is working correctly with parameters for WinCE. Please only remember

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Jaroslaw Kadziola
Hi, W liście datowanym 18 sierpnia 2009 (12:53:06) można przeczytać: PC>> Thank you. It's OK now though I wanted to confirm that MS does not PC>> make some strange things with 1-st parameter when it's equal to PC>> application name, i.e. PC>>yy=hb_run("\myprg2.exe \myprg2.exe par2 par3" ) PC

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Jaroslaw Kadziola
Hi, W liście datowanym 18 sierpnia 2009 (12:21:12) można przeczytać: PC> Thank you. It's OK now though I wanted to confirm that MS does not PC> make some strange things with 1-st parameter when it's equal to PC> application name, i.e. PC>yy=hb_run("\myprg2.exe \myprg2.exe par2 par3" ) PC> I

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Viktor Szakáts
I hope this is the last test. BTW did you have any problems with hb_dirbase() in WinCE? While I didn't make specific hb_dirBase() tests in WinCE, my app relies on it a lot and it was successfully built for WinCE a few weeks ago and it also run alright. So I conclude it works. Brgds, Viktor ___

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Przemyslaw Czerpak
[wtorek, 18 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > Done >/*** myprg1.prg ***/ >proc main() > AltD() > yy=hb_run("\myprg2.exe par1 par2" ) >return > > i've got on screen : - > | {"par1","par2"} | >

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Jaroslaw Kadziola
Hi, W liście datowanym 18 sierpnia 2009 (10:23:37) można przeczytać: PC> [wtorek, 18 sierpie? 2009], Jaroslaw Kadziola napisa3(a): PC> Hi, >> After recompile Harbour for WinCE and compile 2 programs: >> >>/*** myprg1.prg ***/ >>proc main() >> AltD() >> yy=hb_run("\myprg2.exe"

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Przemyslaw Czerpak
[wtorek, 18 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > After recompile Harbour for WinCE and compile 2 programs: > >/*** myprg1.prg ***/ >proc main() > AltD() > yy=hb_run("\myprg2.exe" ) >return > > /*** myprg2.prg ***/ >proc main( ... ) > Alert(hb_val

Re: [Harbour] hbRun() in WinCE

2009-08-18 Thread Jaroslaw Kadziola
Hi, W liście datowanym 17 sierpnia 2009 (19:27:52) można przeczytać: PC> [poniedzia?ek, 17 sierpie? 2009], Jaroslaw Kadziola napisa3(a): PC>/*** myprg1.prg ***/ PC>proc main() PC> hb_run( hb_dirBase() + "myprg2.exe" ) PC>return PC>/*** myprg2.prg ***/ PC>proc main( ...

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Przemyslaw Czerpak
[poniedzia�ek, 17 sierpie� 2009], Przemyslaw Czerpak napisa�(a): > please try to recompile Harbour for WinCE with small patch I'll > commit in a while and then try to make test for passing parameters. I have just committed it: 2009-08-17 19:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.p

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Przemyslaw Czerpak
[poniedzia�ek, 17 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > > Just simply execute above program (let's call it myprg.exe) from other > > Harbour application, i.e.: > >proc main() > > hb_run( hb_dirBase() + "myprg.exe" ) > >return > > I'm interesting in parameters passed to

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Jaroslaw Kadziola
Witam! W liście datowanym 17 sierpnia 2009 (18:43:06) napisano: > [poniedzia�ek, 17 sierpie� 2009], Jaroslaw Kadziola napisa?(a): > Hi, >> > I would like to ask you about some others yet. >> > Above code does not allow to pass parameters. >> > Can you modifiy it to: >> >fError = ! CreatePro

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Przemyslaw Czerpak
[poniedzia�ek, 17 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > > I would like to ask you about some others yet. > > Above code does not allow to pass parameters. > > Can you modifiy it to: > >fError = ! CreateProcess( lpCommand, /* lpAppName */ > > lpC

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Jaroslaw Kadziola
Witam! W liście datowanym 17 sierpnia 2009 (13:50:50) napisano: > [pi�tek, 14 sierpie� 2009], Jarosław Kądzioła napisa?(a): > Hi, >> > If current hb_processRun() fails then please try to change in >> > hbproces.c[219]: >> >fError = ! CreateProcess( NULL, /* lpAppName */ >> >

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Przemyslaw Czerpak
[poniedzia�ek, 17 sierpie� 2009], Jaroslaw Kadziola napisa�(a): > PC>proc main( ... ) > PC> alert( hb_valToExp( { ... } ) ) > PC>return > PC> Seems that to pass parameters we will have to make some additional > PC> modifications and I would like to know if application name is stripped

Re: [Harbour] hbRun() in WinCE

2009-08-17 Thread Jaroslaw Kadziola
Hi, W liście datowanym 17 sierpnia 2009 (13:50:50) można przeczytać: PC> [pi?tek, 14 sierpie? 2009], Jarosław Kądzioła napisa3(a): PC> Hi, >> > If current hb_processRun() fails then please try to change in >> > hbproces.c[219]: >> >fError = ! CreateProcess( NULL, /* lpAppName */ >

Re: Re[2]: [Harbour] hbRun() in WinCE

2009-08-17 Thread Przemyslaw Czerpak
[pi�tek, 14 sierpie� 2009], Jarosław Kądzioła napisa�(a): Hi, > > If current hb_processRun() fails then please try to change in > > hbproces.c[219]: > >fError = ! CreateProcess( NULL, /* lpAppName */ > > lpCommand, /* lpCommandLine */ > > to: > >

Re[2]: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jarosław Kądzioła
Witam, W liście datowanym 14 sierpnia 2009 (19:36:43) można przeczytać: > [piątek, 14 sierpień 2009], Jaroslaw Kadziola napisał(a): > Hi, >> > Thanks. In such case I'll update __run() and hb_run() in a while >> > so you can test also them. >> Unfortunately the same errors -1/87 after download h

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[piątek, 14 sierpień 2009], Jaroslaw Kadziola napisał(a): Hi, > > Thanks. In such case I'll update __run() and hb_run() in a while > > so you can test also them. > Unfortunately the same errors -1/87 after download hbproces.c from SVN > and build all libraries for WinCE. I hope that you haven't

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, W liście datowanym 14 sierpnia 2009 (14:54:27) napisano: > [pi�tek, 14 sierpie� 2009], Jaroslaw Kadziola napisa?(a): >> PC>2009-08-14 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) >> PC> If you confirm it works then I also update __run() and hb_run() in >> PC> WinCE builds to

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[pi�tek, 14 sierpie� 2009], Jaroslaw Kadziola napisa�(a): > PC>2009-08-14 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > PC> If you confirm it works then I also update __run() and hb_run() in > PC> WinCE builds to not use system() command. > Thanks. I'll do it in the evening. Tha

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
W liście datowanym 14 sierpnia 2009 (14:03:58) można przeczytać: PC> [pi?tek, 14 sierpie? 2009], Przemyslaw Czerpak napisa3(a): >> I'll hack hbprocess.h to pass NULL in lpProcessInformation in WinCE >> builds and hb_processRun() function. The process result will be hardcoded >> to 0 and of cours

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[pi�tek, 14 sierpie� 2009], Przemyslaw Czerpak napisa�(a): > I'll hack hbprocess.h to pass NULL in lpProcessInformation in WinCE > builds and hb_processRun() function. The process result will be hardcoded > to 0 and of course we will not have anything to wait for process termination. > I'll commit

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[pi�tek, 14 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > PC> Then it means that CreateProcess() is not supported by your OS > PC> or some other errors appeared (wrong path, too much processes, > PC> insufficient permission, etc.) > I've found similar problem in this thread : > http://www.t

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, W liście datowanym 14 sierpnia 2009 (13:27:00) można przeczytać: PC> [pi?tek, 14 sierpie? 2009], Jaroslaw Kadziola napisa3(a): PC> Hi, >> PC> Then it means that CreateProcess() is not supported by your OS >> PC> or some other errors appeared (wrong path, too much processes, >> PC> insuffici

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[pi�tek, 14 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > PC> Then it means that CreateProcess() is not supported by your OS > PC> or some other errors appeared (wrong path, too much processes, > PC> insufficient permission, etc.) > PC> Try to check HB_OSERROR() code after hb_processRun().

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, W liście datowanym 14 sierpnia 2009 (12:42:42) można przeczytać: PC> [pi?tek, 14 sierpie? 2009], Jaroslaw Kadziola napisa3(a): >> The same :( >> hb_processRun() return -1 PC> Then it means that CreateProcess() is not supported by your OS PC> or some other errors appeared (wrong path, too muc

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, MB> Hoow compile your app.prg ? Under msys + mingw $ hbmk2 app -b hbmk: Processing local make script: hbmk.hbm hbmk: Processing configuration: N:\msys\1.0\hb-mingw\bin\hbmk.cfg Harbour 2.0.0beta2 (Rev. 11949) Copyright (c) 1999-2009, ht

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Massimo Belgrano
Hoow compile your app.prg ? 2009/8/14 Jaroslaw Kadziola : > Hi, > > > MB> If you give me your hbmk2 command line > MB> i try your app.prg on my ce device > MB> wich version of mingw you use? > > arm-wince-mingw32ce-gcc.exe -v > Using built-in specs. > Target: arm-wince-mingw32ce > Thread model: wi

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Witam, W liście datowanym 14 sierpnia 2009 (12:42:42) można przeczytać: PC> [pi?tek, 14 sierpie? 2009], Jaroslaw Kadziola napisa3(a): >> The same :( >> hb_processRun() return -1 PC> Then it means that CreateProcess() is not supported by your OS PC> or some other errors appeared (wrong path, too

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, MB> If you give me your hbmk2 command line MB> i try your app.prg on my ce device MB> wich version of mingw you use? arm-wince-mingw32ce-gcc.exe -v Using built-in specs. Target: arm-wince-mingw32ce Thread model: win32 gcc version 4.1.0 -- Pozdrowienia, Jaroslaw Kadziola ___

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[pi�tek, 14 sierpie� 2009], Jaroslaw Kadziola napisa�(a): > The same :( > hb_processRun() return -1 Then it means that CreateProcess() is not supported by your OS or some other errors appeared (wrong path, too much processes, insufficient permission, etc.) Try to check HB_OSERROR() code after hb_

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, W liście datowanym 14 sierpnia 2009 (11:37:13) można przeczytać: PC> [czwartek, 13 sierpie? 2009], Jaroslaw Kadziola napisa3(a): PC> Hi, >> I can't execute any WinCE app from harbour app.exe >> f.e. : >> app.prg >> >> link_ := '\Windows\calc.exe' >> hb_run(link_

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Przemyslaw Czerpak
[czwartek, 13 sierpie� 2009], Jaroslaw Kadziola napisa�(a): Hi, > I can't execute any WinCE app from harbour app.exe > f.e. : > app.prg > > link_ := '\Windows\calc.exe' > hb_run(link_) > > do nothing. > Any idea ? hb_run() simply executes

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Massimo Belgrano
If you give me your hbmk2 command line i try your app.prg on my ce device wich version of mingw you use? 2009/8/14 Jaroslaw Kadziola : > Hi, > > MB> Harbour is able to run a native windows/Ce application > > I know this. I wrote about harbour app for WinCE. > > -- > Regards, >  Jaroslaw Kadziola

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Jaroslaw Kadziola
Hi, MB> Harbour is able to run a native windows/Ce application I know this. I wrote about harbour app for WinCE. -- Regards, Jaroslaw Kadziola ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/har

Re: [Harbour] hbRun() in WinCE

2009-08-14 Thread Massimo Belgrano
Harbour is able to run a native windows/Ce application I think that if you have created a dos application pocket dos must emulate drive letter and you musr use 2009/8/14 Jaroslaw Kadziola : > Hi Massimo, > > > MB> afaik \windows\ contain All .DLLs, help files, sounds and backgrounds > MB> are sto

Re: [Harbour] hbRun() in WinCE

2009-08-13 Thread Jaroslaw Kadziola
Hi Massimo, MB> afaik \windows\ contain All .DLLs, help files, sounds and backgrounds MB> are stored here MB> \Program Files is Where programs should be stored. Use MB> subdirectories to organize them. MB> Note that Windows CE does not have drive letters I know all this. I'm using PocketDos (

Re: [Harbour] hbRun() in WinCE

2009-08-13 Thread Massimo Belgrano
afaik \windows\ contain All .DLLs, help files, sounds and backgrounds are stored here \Program Files is Where programs should be stored. Use subdirectories to organize them. Note that Windows CE does not have drive letters 2009/8/13 Jaroslaw Kadziola : > Hi, > > I can't execute any WinCE app f

[Harbour] hbRun() in WinCE

2009-08-13 Thread Jaroslaw Kadziola
Hi, I can't execute any WinCE app from harbour app.exe f.e. : app.prg link_ := '\Windows\calc.exe' hb_run(link_) do nothing. Any idea ? -- Regards, Jaroslaw Kadziola ___ Harbour mailing list