1
Programming / Re: Qt6 Application Testing
« on: Today at 12:10:06 am »A process dump might be useful...
Ok,
How to proceed ?
Thanks
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
A process dump might be useful...
Look here
https://www.geocities.ws/os2_shutterbug/os2-printers.html
Compatible older HP inkjet printers for OS/2 Warp
HP DeskJet series (PCL 3):
HP DeskJet 500 / 510 / 520 / 540 / 550C / 560C / 600 / 610C / 630C / 660C / 690C / 693C / 695C / 697C / 810C / 840C / 850C / 870Cse / 895Cse
(Many of these even run on parallel port and USB; OMNI.DRV recommended.)
HP DeskWriter series (for Mac, but partly PCL):
HP DeskWriter 550C, 560C
(Only of limited relevance - mostly intended for Apple)
HP DeskJet Plus, HP DeskJet FAX
HP DeskJet Plus, HP DeskJet FAX
(same driver basis as above)
HP OfficeJet (older models, PCL 3):
HP OfficeJet 500 / 600 / 700 / 1170C / 1175C
(Attention: Newer OfficeJets usually no longer compatible!)
HP Photosmart (older models):
HP Photosmart P1000 / P1100
(Early models only - later models use proprietary languages.)
good luck ...
hi Remy
You will find some flash pinball games using this google search
https://www.google.com/search?sca_esv=0619bf7b847f9363&q=pinball+game+adobe+flash&oq=pinball+game+adobe+flash&aqs=heirloom-srp..
No idea if any of them work as I do not have flash or odin installed.
Regards
Pete
I tried these, nothing happened, possibly due to never having the Flash plugin installed here.
Bitwise simply wrapped the Win32 Flash plugin in an Odin wrapper so it is possible you have a Flash.exe or such installed somewhere.
Hi TZhivkov
I doubt if there are any... I have never found a working OS/2 based pinball game.
I think this is simply because the existing DOS games can be played without problems using the OS/2 built in DOS support - or DOSBox can be installed.
I use DOSBox to play Epic Pinball and Pyscho Pinball - probably 2 of the best pinball games around - simply because current audio devices tend to need the uniaud driver which does not have sound support for DOS sessions.
Regards
Pete
ok, this pipe info out of the application into the script (WIN),
how do one send instructions out from the script (WIO) into the application (applications stdin)?
There's a text file mentioning how to call functions, but most people new to something as this need help to grasp how and why to knit this function together with that to achieve the desired result.
Example 1: "SysFileTree" was unthinkable to me to use to find or search for files when I begun to try Rexx, the function should have been named SysSearchPath, SysFindFile or something along those lines, not "...Tree", totally bonkers name.
Example 2: Pipe in, pipe out. What "end" of the pipe do one define? I want to output data as text instructions/parameters to one end of the pipe to be sent through the pipe into the application as instructions/parameters just as input by keyboard. It should not block the application that run.
Could you enlighten me how to do such things with RXUTILEX?
How to send commands to sqlite3.exe
/* rexx cmd */
Call RxFuncAdd 'Sys2LoadFuncs','rxutilex','Sys2LoadFuncs'
Call Sys2LoadFuncs
pipe_rxutilex=rxfuncquery('Sys2CreateNamedPipe')
/* setting a few vars */
EOF1 = x2c("0D")
EOLF = x2c("0A")
/* vars used for pipe function */
pipename = '\pipe\'||'mynamedpipe' /* to always have unique pipe name, you can append clock time to a short name */
openmode = 'WIN'
pipemode = 'WTR'
instcnt = '1' /* one only for the program pipeout */
outbuf = '4096'
inbuf = '4096'
timeout = '10000'
readbufsize = '4096'
pipeway = 'I' /* I= In, O= Out, D=dual */
/* ------------------ */
If pipe_rxutilex=0 then call pipe_proc
Else exit 28
pipe_proc:
If pipe_rxutilex=0 then do
hpipe = Sys2CreateNamedPipe(pipename,outbuf,inbuf,timeout,instcnt,,pipeway,1,)
If word(Sys2CheckNamedPipe(hpipe),1)\= 0 then do
Say "Rexx Create Named Pipe failed rc: "||word(Sys2CheckNamedPipe(hpipe),1)
Ddosrc='6 0'
Call disc_closepipe
End
Else do
hpipecon = Sys2ConnectNamedPipe(hpipe)
If word(hpipecon,1)=0 then do
Say "Rxutilex Rexx Connect Named Pipe failed"
Ddosrc='6 0'
Call disc_closepipe
End
Else Say "Rxutilex Rexx Connect Named Pipe succeeded ("||hpipecon||")"
data = Sys2Read(hpipe,readbufsize)
If data\='' then Ddosrc='0 '||length(data)
Else do
Ddosrc='6 0'
Call disc_closepipe
End
'@start '||' your program and parameters '||' >'||pipename||' 2>&1' /* program started with usable pipe - pipeout example */
Call pipe_read
End
End
return
pipe_read:
Do while word(Ddosrc,1) = 0 & word(Ddosrc,2) > 0
data=translate(data,' ',EOF1||EOLF) /* or remove this line */
Select
When wordpos('your search word into the line',data)>0 then do
/* */ Say data
/* your process */
End
Otherwise
nop
End
data = Sys2Read(hpipe,readbufsize)
If data\='' then Ddosrc='0 '||length(data)
Else Ddosrc='6 0'
End
return
disc_closepipe:
dosrc = Sys2DisconnectNamedPipe(hpipe)
clrc=Sys2Close(hpipe)
exit