Author Topic: Distributing your InForm-based programs  (Read 2416 times)

0 Members and 1 Guest are viewing this topic.

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2867
  • Let it go, this too shall pass.
    • QB64.org
Distributing your InForm-based programs
« on: November 13, 2019, 07:49:37 AM »
When you distribute your uncompiled InForm-based programs, the minimum you should add to your zip for distribution, besides your own data files (if any), is:

  • Your .bas file
  • Your .frm file
  • falcon.h
  • InForm/InForm.ui
  • InForm/xp.uitheme
  • InForm/InFormVersion.bas

That way you're including the InForm library files and anyone with QB64 on their system will be able to compile your program, even without having the full InForm package installed.

Check the attachment for a sample package.

However, if you intend to distribute only your binary (not including the source code - probably not in this forum), you don't need to ship anything besides the binary itself. InForm-based programs are self-contained. In this case you'd only ship any files needed for your program to run, like icons, data files, images, etc.
« Last Edit: November 13, 2019, 07:57:19 AM by FellippeHeitor »

Offline George McGinn

  • Newbie
  • Posts: 33
    • Linkedin Resume
Re: Distributing your InForm-based programs
« Reply #1 on: March 19, 2021, 04:52:12 PM »
Question - If I am distributing a binary executable do I need the same files? If not, what files do I need to include when providing an executable?
________________________________________________________
George McGinn
Theoretical/Applied Computer Scientist
Member: IEEE, IEEE Computer Society
              IEEE Sensors Council & IoT Technical Community
              American Association for the Advancement of Science (AAAS)

Offline SpriggsySpriggs

  • QB64 Developer
  • Forum Resident
  • Posts: 904
  • If you're API and you know it clap your hands
    • My GitHub
Re: Distributing your InForm-based programs
« Reply #2 on: March 19, 2021, 05:05:12 PM »
@George McGinn If you are only providing an executable and it has no need for any external files like text documents or pictures, then you should be good. Just take note of what resources your program uses and the folder structure you created/used in your code and be sure to distribute it as such.

Offline George McGinn

  • Newbie
  • Posts: 33
    • Linkedin Resume
Re: Distributing your InForm-based programs
« Reply #3 on: March 20, 2021, 02:09:30 PM »
Thanks.
________________________________________________________
George McGinn
Theoretical/Applied Computer Scientist
Member: IEEE, IEEE Computer Society
              IEEE Sensors Council & IoT Technical Community
              American Association for the Advancement of Science (AAAS)