RE: [ql-users] Calling Photon from Hyper Browse
The next challenge now that Photon is here : to make the most useless and "incontournable" program that waste a lot of disk space on PC, less on QL I think, that is a screensaver with a (configurable) collection or compiled jpeg images. Anybody interested ? Claude (I think it is not very difficult program to do with Photon) -Message d'origine- De : Dilwyn Jones [mailto:[EMAIL PROTECTED]] Envoy : dimanche 18 mars 2001 22:51 : [EMAIL PROTECTED] Objet : Re: [ql-users] Calling Photon from Hyper Browse Assuming Dave Westbury gets Photon to work with GIFs as well as JPEGs as per his photon_txt then it will make an even more useful graphics viewer. (Any news on that front Dave?) -- Dilwyn Jones [EMAIL PROTECTED] http://www.soft.net.uk/dj/index.html
Re: [ql-users] Calling Photon from Hyper Browse
..I couldn't get jpeg viewing to work BUT that may be because I was using an older version of Photon with QPC2v2, probably not the best combination. That has nothing to do with it, the problem is photon is being invoked by Turbo's EXECUTE command which is passing two negative long words (not channel ID's) on its stack. The old photon will not accept channel ID's unlike the new one, but that's academic, what the hell is Turbo putting negative ch id's on the stack? Much Trubo... Just try EXECUTE on other programs which are expecting an option string ( maybe ch ID's?) and see what happens! Sorry Dave, I remembered the correspondence about EXECUTE afterwards. Assuming Dave Westbury gets Photon to work with GIFs as well as JPEGs as per his photon_txt then it will make an even more useful graphics viewer. (Any news on that front Dave?) GIF is relatively simple compared to JPEG (and the fact it was copyrighted is a joke/greed). When?, soon I hope (too many other distracting interests/hobbies) I'll look forward to the next version of Photon :-) -- Dilwyn Jones [EMAIL PROTECTED] http://www.soft.net.uk/dj/index.html
Re: [ql-users] Calling Photon from Hyper Browse
In message 002801c0aec0$f3d74860$30065cc3@default, Dilwyn Jones [EMAIL PROTECTED] writes I have tried using both releases of HyperBrowser and have been unable to prevent it issuing the error reported at line 390. Are any extra software or extensions needed to get it working? What am I doing wrong? Yes, I still have the same problem ... even with the 'upgraded' version. It doesn't seem to like a path name other than starting with 'win1_' -- Malcolm Cadman
Re: [ql-users] Calling Photon from Hyper Browse
Tarquin Mills wrote: I have not found a way to call photon and pass it arguments e.g. execute_w win1_photon;"win_neon2.jpg\d2" as execute_w (Turbo toolkit) and exec (Toolkit II) only take contants as arguments, i.e. 10 path$="win1_" 20 img$="neon2.jpg" 30 execute path$'photon;"'path$img$'\d2"' does not work. I do not have a copy of the Soql yet, does it support PPP yet, and where do you get it from as sourceforge only seem to have the source. Turbo's EXECUTE appears to have its own way of launching jobs. I guess it is only meant for Trubo jobs; it stuffs 6 extra bytes on the job stack (in front of everything else). This will confuse most jobs which expect to find the OS documented WORD for number of channel ID's (followed by ID's) and WORD for length of option string and string. Solution: don't use Turbo's esoteric EXECUTE command. To use Toolkit 2's EX command (or EXEC/EW/EXEC_W): EX win1_photon;"win1_neon2.jpg\d2" The reason why EX path$'photon;"'path$img$'\d2"' will not work is because EX can only see that you have passed one parameter; a single string parameter (the semicolon separator is lost within the first '' and becomes a string character rather than parameter delimiter). BTW the dithering defaults to a level suitable for the mode so the \d2 (default mode 4 8) is not probably necessary. Regards, Dave.