Author Topic: Looking for example SC , build exe from a tool  (Read 885 times)

0 Members and 1 Guest are viewing this topic.

Offline inc.

  • Contact me @ skype: a5recordings
  • Amiga 1200
  • ****
  • Posts: 260
  • Karma: 18
  • I SPEAK ENGLISH & GERMAN as good as i can :D
    • View Profile
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

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2708
  • Karma: 484
    • View Profile
    • http://www.rbraz.com/
Re: Looking for example SC , build exe from a tool
« Reply #1 on: February 28, 2017 »
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:

Offline inc.

  • Contact me @ skype: a5recordings
  • Amiga 1200
  • ****
  • Posts: 260
  • Karma: 18
  • I SPEAK ENGLISH & GERMAN as good as i can :D
    • View Profile
Re: Looking for example SC , build exe from a tool
« Reply #2 on: February 28, 2017 »
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

Offline Knurz

  • Atari ST
  • ***
  • Posts: 100
  • Karma: 24
    • View Profile
Re: Looking for example SC , build exe from a tool
« Reply #3 on: March 07, 2017 »
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

Offline inc.

  • Contact me @ skype: a5recordings
  • Amiga 1200
  • ****
  • Posts: 260
  • Karma: 18
  • I SPEAK ENGLISH & GERMAN as good as i can :D
    • View Profile
Re: Looking for example SC , build exe from a tool
« Reply #4 on: March 07, 2017 »
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