User Tag List

Page 3 of 7 FirstFirst 1 2 3 4 5 ... LastLast
Results 21 to 30 of 66

Thread: DLL Object

  1. #21
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    []No!.. Not effective... What if you want to call the same funciton over and over and only change one parameter...

    For an inventory or something like that... [/]
    I would personally want it to be "add" instead of "set". Most of the time ease of use should be considered before what is effective, imo.

  2. #22
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DLL Object

    Yeah, add is better. If you really want to keep set then just put both in. In fact, having both might be best.

    So:
    Add param ("abc")
    Add param (123)
    call function
    set param 2 (345)
    call function

    etc.

  3. #23
    No Products Registered

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

    Re: DLL Object

    Ok... you've convinced me... I'll add support for both...^^

    EDIT: Done!

  4. #24
    No Products Registered

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

    Re: DLL Object

    Ok... the object is out for beta testing so I don't have very much to do.... can any one think of some new functions I could add (Only serious ones plz)

  5. #25
    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

    Not sure if it is crazy, but could people have the option to run a DLL in a seperate instance/thread?

    For example, at the moment if you call for a long beep in kernel32.dl it will pause the application.

    Oh, and you could make use of the debugger by having it state the most recent error and currently loaded DLL.
    .:::.Joshtek.:::.

  6. #26
    No Products Registered

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

    Re: DLL Object

    I have absolutley no idea HOW to do that...

  7. #27
    No Products Registered

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

    Re: DLL Object

    Is it really that simple?? Any downsides?
    If I were to do this an option changing the Project to Multithreaded would'nt affect its current state?

  8. #28
    No Products Registered

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

    Re: DLL Object

    It is set to Multi-threaded Debug (/MTd) that ok?

  9. #29
    No Products Registered

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

    Re: DLL Object

    ok... thanks.. will try then...
    BTW... to test this what does the beep function in the kernel dll look like??

    EDIT: BTW... SHould it be "Multi-threaded" or "Multi-threaded DLL"?

    EDIT2: Nvm about the beep function... got it

  10. #30
    No Products Registered

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

    Re: DLL Object

    It does'nt seem to work... I used the code that you gave me and I get this error

    error C2227: left of '->MyFunctionI' must point to class/struct/union/generic type
    type is 'LPRDATA *'

Page 3 of 7 FirstFirst 1 2 3 4 5 ... 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
  •