Hi Rui,
Just a quick look at the Win32 error codes
It tells me that 16r00000002 means ���File not found���.Are you sure that c:\pharo.pdf is there and that you have permission to open it?
G
El 5 dic. 2023, a las 21:12, Rui Viana Pereira <ruivianapereira@gmail.com> escribi��:
I'm building an app with Pharo 11.
The OS (for the moment) is Windows 10 home.
At a certain point I need to open several types of files (pdf, wav, url, etc.) with the registered apps in Windows (or any other OS) and keep working in Pharo, in parallel.
I couldn't find the way to do it - that is, to use the Windows shell.
I loaded the Pharo-OS-Windows package, but when I evaluate something like
WinShell shellOpen: 'c:\pharo.pdf'
apparently nothing happens.
The inspector gives me
a WinHandle(@ 16r00000002)
Which is the right way to do it?
Rui Viana Pereira