User Tag List

Page 1 of 7 1 2 3 ... LastLast
Results 1 to 10 of 66

Thread: DLL Object

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DLL Object

    Hi!
    Making a new post for the DLL Object since I need some input.

    The DLL Object is scimilar to the CallDLL object with a few exceptions...Added float as a nargument/return type for one thing...

    I will soon release it for beta testing but before that there's one thing that I need to get clear... When you call a function with an incorrect number of arguments the app crashes, for instance

    calling the following function with 3 arguments causes crash..

    Code:
    int function(int x, int y) {
      return x*y;
    }
    Anyone got a solution?

    Also thinking of adding a new feature to be able to call a function from one action taking 3 parameters

    1. function name
    2. return type
    3. args as a comma separated string..

    Anything of interest?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,526
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: DLL Object

    If you do it that way then make sure you have something in place for if someone wants to use a comma. I would do it by having several "Add Argument" actions for the different data types. After adding all the arguments, the user then calls the function.

    Keep up the good work.
    .:::.Joshtek.:::.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    That's already done... this is meant for less actions...

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,526
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: DLL Object

    Oh, fair enough. How about calling from expressions?
    .:::.Joshtek.:::.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    Current actions menu structure

    Code:
    Load DLL
    Unload DLL
    Return Value >
        No Return Value
        Return Integer
        Return Float
        Return String
    Arguments >
        Reset Argument List
        Set Argument to Integer
        Set Argument to Float
        Set Argument to String
    Call Function

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,526
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: DLL Object

    So what happens if you want a comma in your argument?
    Can you only have one argument type per call?
    .:::.Joshtek.:::.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    Hmm.. that would be nice...but complicatd.. then I would have to use the approach of the comma separated string as parameters...Think ill use '|' as delimiter

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    No.. you can have as many as you like...

    Set Argument to Integer ( argNum, data )

  9. #9
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeň, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    []So what happens if you want a comma in your argument?
    Can you only have one argument type per call? [/]
    Hmmm... whatever delimiter I end up using someone is gonna say "I want to use that one"... So I'll have to decide on one... '|' is a good one for me...

  10. #10
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,526
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: DLL Object

    []Hmmm... whatever delimiter I end up using someone is gonna say "I want to use that one"... [/]

    Most Regex systems have come accross this problem. Usually they use \ as an "escape character" .

    If you want to send | as a character you use \|. If you want \| you use \\|, etc.
    .:::.Joshtek.:::.

Page 1 of 7 1 2 3 ... LastLast

Posting Permissions

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