Posts: 652
Threads: 96
Joined: Apr 2022
Reputation:
22
03-29-2024, 11:02 PM
(This post was last modified: 03-29-2024, 11:04 PM by PhilOfPerth.)
This is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility? (the .exe files, I mean)
Posts: 1,272
Threads: 119
Joined: Apr 2022
Reputation:
100
(03-29-2024, 11:02 PM)PhilOfPerth Wrote: This is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility? (the .exe files, I mean)
You won't be able to just send your compiled .EXE files to them. The .EXE files you create on your system are specifically compiled for Windows. You'll either need to have your friends install QB64 and compile your source code (your .BAS files) or have someone with an Apple compile your source for you to then hand to your friends.
There's no need to worry about your programs interfering with your friend's computer systems unless you specifically wrote the code to do that. Your code will run the same whether it's been compiled on Windows, MacOS, or Linux.
Some QB64 commands do work a bit differently (or not at all) between the three operating systems. Someone that uses an Apple would be better suited however to fill you in on what those difference are.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Posts: 2,696
Threads: 327
Joined: Apr 2022
Reputation:
217
(03-30-2024, 04:06 AM)TerryRitchie Wrote: (03-29-2024, 11:02 PM)PhilOfPerth Wrote: This is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility? (the .exe files, I mean)
You won't be able to just send your compiled .EXE files to them. The .EXE files you create on your system are specifically compiled for Windows. You'll either need to have your friends install QB64 and compile your source code (your .BAS files) or have someone with an Apple compile your source for you to then hand to your friends.
There's no need to worry about your programs interfering with your friend's computer systems unless you specifically wrote the code to do that. Your code will run the same whether it's been compiled on Windows, MacOS, or Linux.
Some QB64 commands do work a bit differently (or not at all) between the three operating systems. Someone that uses an Apple would be better suited however to fill you in on what those difference are.
https://qb64phoenix.com/qb64wiki/index.p...S_versions <-- We try and keep an updated list of the differences between the various OSes with QB64PE. Over time, we try and chip away at these issues, when and where we can.
In our next version update, you guys should see the fix for MouseMovementX, MouseMovementY, and MouseWheel for Mac/Linux. I think...
I've been kinda busy getting things ready for Easter and April Fools and just spring work here on the farm as usual, so my attention has been split to say the least here lately. (As well as paying for the forums, arguing with our hosts when the changes took our site down due to some glitch on their side -- TWICE this month alone!) The daily life of Steve is anything but calm. LOL!
Anywho, I know there are fixes and updates coming soon(tm) for the mouse on our various OSes. Browse our repo for more details, or just happily wait until our next version comes out.
Posts: 652
Threads: 96
Joined: Apr 2022
Reputation:
22
(03-30-2024, 04:06 AM)TerryRitchie Wrote: (03-29-2024, 11:02 PM)PhilOfPerth Wrote: This is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility? (the .exe files, I mean)
You won't be able to just send your compiled .EXE files to them. The .EXE files you create on your system are specifically compiled for Windows. You'll either need to have your friends install QB64 and compile your source code (your .BAS files) or have someone with an Apple compile your source for you to then hand to your friends.
There's no need to worry about your programs interfering with your friend's computer systems unless you specifically wrote the code to do that. Your code will run the same whether it's been compiled on Windows, MacOS, or Linux.
Some QB64 commands do work a bit differently (or not at all) between the three operating systems. Someone that uses an Apple would be better suited however to fill you in on what those difference are.
Thanks Terry. That answers it all for me. I'll have a go at persuading a friend to install Qb64 (but I don't like my chances)!
Posts: 188
Threads: 22
Joined: Mar 2023
Reputation:
12
Phil, I'm a mac user and I've just been sending friends a QB64PE program I wrote. I'm up to speed on this. And I have a little instruction sheet your friends will need too. If you want, upload your zipped directory (or just .bas file) here and I can try running the program and then upload a mac friendly Unix .exe with instructions.
Ted
Posts: 652
Threads: 96
Joined: Apr 2022
Reputation:
22
(03-30-2024, 07:34 PM)NakedApe Wrote: Phil, I'm a mac user and I've just been sending friends a QB64PE program I wrote. I'm up to speed on this. And I have a little instruction sheet your friends will need too. If you want, upload your zipped directory (or just .bas file) here and I can try running the program and then upload a mac friendly Unix .exe with instructions.
Ted Wow, thanks Ted!
The prog I want to send is just getting tweeked, but when it's done, I'll take up that offer.
It's nothing super-special, but I think they'll enjoy it, and I'm quite happy with the way it's turning out.
I'll be in touch. Thanks again for the offer.
Posts: 652
Threads: 96
Joined: Apr 2022
Reputation:
22
(03-31-2024, 07:10 AM)Tim Wrote: (03-30-2024, 11:03 PM)PhilOfPerth Wrote: (03-30-2024, 07:34 PM)NakedApe Wrote: Phil, I'm a mac user and I've just been sending friends a QB64PE program I wrote. I'm up to speed on this. And I have a little instruction sheet your friends will need too. If you want, upload your zipped directory (or just .bas file) here and I can try running the program and then upload a mac friendly Unix .exe with instructions.
Ted Wow, thanks Ted!
The prog I want to send is just getting tweeked, but when it's done, I'll take up that offer.
It's nothing super-special, but I think they'll enjoy it, and I'm quite happy with the way it's turning out.
I'll be in touch. Thanks again for the offer. Hey Phil, any program is super-special. You created something that you thought needed to be done. It all matters. Thanks Tim. That's very encouraging. I guess there are lots of people out there writing progs that will never leave their own computer.
Posts: 1,272
Threads: 119
Joined: Apr 2022
Reputation:
100
"I guess there are lots of people out there writing progs that will never leave their own computer. "
I have hundreds, perhaps into the thousands over the 40+ years I've been dabbling in programming.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
|