This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Combining Runtime and PPL file?


Combining Runtime and PPL file?

Postby sponge » Sep 11, 2004 @ 6:38am

Had an idea just now, would it be possible to be able to put a PPL file in the runtime exe as a resource, and have PPL load it from there - so in effect you can just distribute one file for your program? It'd also serve as a (very weak) method of keeping people out of your code, at least if people realize it's a PPL app.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby kornalius » Sep 11, 2004 @ 6:54am

This is a very good idea but for now PPL offers a three ways to distribute your code.

1. PPL generates a .ppc (compressed and encrypted) file automatically when a source file is compiled or ran. Include all needed .ppc files in a project directory with the PPL.exe.

2. You can generate an .exe containing the main project file code and the PPL runtime all together. The other code files are still .ppc files.

3. If you don't mind distributing your source files, just dump all .ppl files with the PPL.exe in a directory and you are all set. However you might need to add all the extra libraries that are needed for compiling. In number 1 and 2 above, you don't need extra libraries because the necessary information is already added to the .ppc files.

However it would be a very good idea, like you have suggested, to be able to add other files to the .exe. I might add an inject() function to allow to add multiple files instead of just the main code file. :wink: Why not!
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby sponge » Sep 11, 2004 @ 5:24pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby kornalius » Sep 11, 2004 @ 9:03pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby sponge » Sep 11, 2004 @ 10:12pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby kornalius » Sep 11, 2004 @ 11:32pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron