Shop OBEX P1 Docs P2 Docs Learn Events
That Propellant.dll ThingamaHozer — Parallax Forums

That Propellant.dll ThingamaHozer

CounterRotatingPropsCounterRotatingProps Posts: 1,132
edited 2009-10-20 17:55 in Propeller 1
Well, I imagine Hanno, Brad, and maybe Steve (jazzed) and a few more folks understand *how* to use this thing. It's killing me... this can't be that hard to do ... could sure use some guidance!

Searched for threads, docs, whatnot for help, but haven't found enough.

There might also be some long-standing prop 'loader' I've missed...

Basically here's what I want to do, in psuedo code:

(Windoze platform)

myLoader = createobject ("propellant.dll")····· /*·OR createobject (OLE_COM_aware_Loader) */
file = myFileObject.open ("HappyProp.spin")·· ·/* grab an edited spin file - */

theMagic = convertFile(file) ·/* theMagic contains the·correct format -- bin, image, pasm errr what?? */
myLoader.PortNum (COM1)·· /* open Prop Port */
myLoader.Load(theMagic)··· /* download to Prop */

Hit the reset button - and the Magic happens...

any assistance is appreciated!

thanks
- Howard

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Post Edited (CounterRotatingProps) : 10/20/2009 4:15:27 PM GMT

Comments

  • jazzedjazzed Posts: 11,803
    edited 2009-10-20 16:07
    I just run the program from my program(s) with appropriate security safe-guards.
    That also allows me freedom to specify a different tool if I like.
    Would be nice to have details of the Propellent.dll interface though.
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-20 16:10
    > I just run the program from my program(s) with appropriate security safe-guards.

    Steve,

    I'm not following you here ... what's "the program" ?

    thanks
    - H

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • jazzedjazzed Posts: 11,803
    edited 2009-10-20 16:12
    CounterRotatingProps said...
    > I just run the program from my program(s) with appropriate security safe-guards.

    Steve,

    I'm not following you here ... what's "the program" ?

    thanks
    - H
    Propellent.exe comes in the package from the download page. Getting the path right can be a b***h though ... exceedingly annoying feature.

    Post Edited (jazzed) : 10/20/2009 4:22:28 PM GMT
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-20 16:15
    ARRRRRGGG !

    " Where's the salt? "
    "It's right there on the table -·in front of your nose!"

    DOH !·blush.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-20 17:55
    > Getting the path right can be a b***h though ... Exceedingly Annoying Feature

    Thanks for the heads up. ... am already experiencing the " benefits " of this EAF. Nostalgia for dragging an exe/dll into the folder where it's needed...

    Where·do you find to be the optimum location for it to be? (I'm tempted just to drop it into system32 [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sign In or Register to comment.