User Tag List

Page 4 of 7 FirstFirst ... 2 3 4 5 6 ... LastLast
Results 31 to 40 of 62

Thread: Power Registry Object

  1. #31
    No Products Registered

    Join Date
    May 2010
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    Look:
    Code Snippets
    Code:
    HKEY CurrentRootKey, hWnd;
    
    //...next Snippet...
    // This action working properly
    ACTION(
    /* ID */	0,
    /* Name */	"Set root key to HKEY_CLASSES_ROOT",
    /* Flags */	0,
    /* Params */   (0)
    ) {
    	CurrentRootKey = HKEY_CLASSES_ROOT;
    	
    }
    //...next Snippet...
    // This action working properly too
    ACTION(
    /* ID */	5,
    /* Name */	"Open key %0",
    /* Flags */	0,
    /* Params */	(1,PARAM_EXPSTRING,"Open key")
    ) {
    result = RegOpenKeyEx(CurrentRootKey, (char *)Param(TYPE_STRING), 0, KEY_ALL_ACCESS, &hWnd);
    }
    
    //...next Snippet...
    // This action does not return value of CurrentRootKey
    EXPRESSION(
    /* ID */	1,
    /* Name */	"RegKey$(",
    /* Flags */	EXPFLAG_STRING,
    /* Params */	(0)
    ) {
    ReturnString(CurrentRootKey); // Return null but messagebox return it correctly.
    }
    There are no crash.
    Btw THANKS for help I am just newbie.

  2. #32
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    You didn't have to do this whole project, you know; I would've been happy to modify my Registry++ Object. :grin:

    [size:8pt]Although I probably wouldn't have gotten done as quickly as you. [/size]

  3. #33
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Power Registry Object

    Mhm that's weird. It should crash from my experience: If you want to use expression 1, you will need expression 0 as well. Same goes for action 5. You'll need 0-4 as well:

    PHP Code:
    ACTION(0, [...]
    ACTION(1, [...]
    ACTION(2, [...]
    ACTION(3, [...]
    ACTION(4, [...]

    //After you have defined actions 0 to 4, you can use 5 as well

    ACTION(
    /* ID */    5,
    /* Name */    "Open key %0",
    /* Flags */    0,
    /* Params */    (1,PARAM_EXPSTRING,"Open key")
    ) {
    result RegOpenKeyEx(CurrentRootKey, (char *)Param(TYPE_STRING), 0KEY_ALL_ACCESS, &hWnd);


  4. #34
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    ... I'm pretty sure that's why he put "//Next snippet"

    I think he's taking just the parts of the code that relate.

  5. #35
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Power Registry Object

    Oh, right. For one, as I said, you'll have to duplicate the string before returning. MMF will destroy it automatically. The odd thing is that the string is not displayed at all - I can't think of any reason for that to happen.

  6. #36
    No Products Registered

    Join Date
    May 2010
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    I will check it out, but for the moment I'm doing a break in the programming of my extensions because I want to finish the course of programming in C++. When I do it I will resume and introduce many new features to my extension.
    Please be patient...

  7. #37
    No Products Registered

    Join Date
    May 2010
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    You can dowload beta version from: PowerRegistry.zip

    You need to put file in folders data\runtime and extensions.

    This is my first extension.

  8. #38
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    It isn't showing up in my extension list as far as I can see. :\
    Working as fast as I can on Fusion 3

  9. #39
    No Products Registered

    Join Date
    May 2010
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    Try looking in the All objects.

  10. #40
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Power Registry Object

    I am. What is is called in the list?
    Working as fast as I can on Fusion 3

Page 4 of 7 FirstFirst ... 2 3 4 5 6 ... LastLast

Similar Threads

  1. Power System Object
    By Jaffob in forum Released Extensions
    Replies: 5
    Last Post: 24th January 2014, 03:47 PM
  2. Power System Object - Startup?
    By Kentronisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 6th November 2012, 08:24 PM
  3. Help with assigning icons with power system object
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th September 2010, 02:58 PM
  4. Power System Object (Beta)
    By Jaffob in forum File Archive
    Replies: 23
    Last Post: 25th January 2009, 11:53 PM
  5. power fuction object?
    By Ross in forum Extension Development
    Replies: 10
    Last Post: 24th August 2006, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •