Old utilities from here!

RacingDog

Active Member
Licensed User
This is addressed to the entire community....

First the context. I got fed up playing card games on the mobile with fiddly little cards. I wanted cards you could finger or thumb. So I decided to write my own, as we do! I started with the kiddies solitaire Elevens and then progressed to Thirteens (the needs thinking about, but comes out moderately often version). If any one wants to play they are of course on my Freeware page (see link in Signature).

So flushed with my success I thought I'd try another game. This one was only going to make sense played in Landscape mode. How to acheive that? Well, you have to trawl the cavernous and murky depths of this Forum, but you eventually find a zip file called PPCorient.zip which contains a complete set of utilities for doing this, all you have to do is use the Shell command.

All hunky-dory so far then. But when you run on the device, these utilities cause that irritating software from unknown source dialog, which, just to add insult to injury, you get twice, once at startup when you select Landscape and once at program exit when you reselect Portrait.

Now, these are pretty old utilities, so the question is, in the intervening years has anyone produced similar programs that don't hit that problem, or even better, has anyone bundled these functions into a B4PPC dll? If so, would it be possible to obtain a copy?

Thanks in advance
Derek
 

RacingDog

Active Member
Licensed User
Taximania, yes those!

AGraham, the star strikes again! Thanks for that.

Ummm, my last two threads I subscribed to, but didn't get any e-mails! Oooer.
 

agraham

Expert
Licensed User
Longtime User
Ummm, my last two threads I subscribed to, but didn't get any e-mails! Oooer.
At last I'm not alone! I suffered this same forum problem previously in March last year and had to change to a different email address as the forum, for some reason, would no longer send to my original one. I am again suffering the same problem with this new email address as you and have been doing so for some weeks. I don't think Erel has a solution to this.
 

RacingDog

Active Member
Licensed User
OK chaps, I used the Display object from ControlsExDevice to create my latest candidate for the Turner Prize and everything worked fine in the Windows IDE. The compiled version also worked perfectly on Windows, see win.gif.

However, and I tried both normal and autoscale compilation, but got the same odd result either way an both my devices, see dev.jpg.

Observation shows that the coordinates are perfect as everything on the form displays correctly. The only thing wrong is the width of the form background! I have the screen size set as H 240 x W 320. The controls all seem to relate to this, but not the display of the form itself!

I wish I knew about graphics, but sadly I don't, so any suggestions would be welcome. I haven't included the sources as all that would tell you is that I have done absolutely nothing apart from set the screen size in the Designer and set the mode to landscape via a Display object. That's all I've done, really, honest guv!

Thanks
Derek
 

Attachments

  • win.GIF
    16.3 KB · Views: 254
  • dev.jpg
    27.8 KB · Views: 231

agraham

Expert
Licensed User
Longtime User
I think the problem is that the device Form doesn't know about rotation and and is drawing its Backlayer bitmap in portrait orientation. The easiest thing to try is to put an Image control on the Form, send it to the back in the designer and set its size and colour as you want.
 

RacingDog

Active Member
Licensed User
Well I was figuring that maybe the form did know about rotation when it shouldn't as the read only property shown by the Designer for the form width was the correct 320!

Whatever, the basic thing is the work-around works, so thanks for that, though I used a Panel 'cos they are simpler.

All I need to do now is investigate my new found knowledge that all .wav files are not created equal! Some play on the WM Media Player, whereas others say unsupported format. Sigh. Guess that means I'm going to be spending a happy night Googling!

P.S. The e-mails are now working for me too ta.

*************

OK girls, I got myself some free sound conversion software including a gadget that allows me to change the .wav parameters "sampling frequency", "bits per sample" and "mono/stereo". By trial and error I discovered that I could leave the numeric parameters unchanged and that simply selecting Mono was all that was needed for the program to work!

Cheers, Derek
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…