• Welcome to Dark Bit Factory & Gravity.
 

Looking for example SC , build exe from a tool

Started by inc., February 28, 2017

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

inc.

Hi,
i'm stuck on following point.
i wanna create from my GLSL Shader tool or maybe something other tool a exe file.

i have programmed a tool in PureBasic and now i wanna include in my tool a option that allow: create final

create a final win 32 exe from the stuff that was created with the tool.

can some one guid me?

thanks
currently coding in PureBasic: GLSL Shader Maker & Editor Tool for further Demo coding usage

Rbz

Your tool export to a .pb  file right?

How about using purebasic compiler command line.

In your tool use RunProgram to compile the new purebasic .exe file.

Of course, the user will need to have a copy of purebasic to compile it  :).
Challenge Trophies Won:

inc.

thanks for the suggestion but this is not what i want to do.

if some ppl don't have the PB Compiler, they are then not be able to build a Final, a exe from its work in my tool.

Any other solution?

currently coding in PureBasic: GLSL Shader Maker & Editor Tool for further Demo coding usage

Knurz

Maybe http://delphidabbler.com/articles?article=7&part=1 helps you to achieve what you want to do.

It's written in and for delphi but the approach he uses should be valid for PB too.

I don't know if you can produce 64bit PE with dynamic added data, but it should work with 32bit PE.
Remember what the dormouse said: Feed your head

inc.

thank you. 32bit is more than enough. i hope your link can guide :)

reply later
currently coding in PureBasic: GLSL Shader Maker & Editor Tool for further Demo coding usage