Announcement

Collapse
No announcement yet.

Compiler Lua DLL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Compiler Lua DLL

    Hi all
    how i can cal the dll function ?
    many thank for example

  • #2
    Read the documentation, and specifically look at DLL.CallFunction. For more complex interactions with DLLs you can look at one of the solutions for loading and working with a library. My own MemoryEx provides functionality for that.
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      Hello,
      i am newbie ( I don't have much time to study​ ) and i need example with Compiler Lua DLL .
      how i can call the dll function ?
      PLEASE !!!
      Thanks



      Comment


      • #4
        Originally posted by pearce View Post
        Hello,
        i am newbie ( I don't have much time to study​ ) and i need example with Compiler Lua DLL .
        how i can call the dll function ?
        PLEASE !!!
        Thanks



        Well for one you haven't even pointed to any project your using as you do know how many Compilers Lua DLL's there as been, stop been so bloody rude if you don't have time to study then your out of luck, DO YOUR OWN work and prove to people you even tried. You have not even told people what your trying to do, I am shocked IP even replied with such limited information.
        Plugins or Sources MokoX
        BunnyHop Here

        Comment


        • #5
          @ kingzooly​,
          what's your problem, i don't have much time to learn because i'm only at home on weekends and i don't always have time. i start learning and my question was how to call the function. you don't have to program for me just explain it to me. i thought the forum was there to help but i don't see it.
          if you can't answer my question then please don't bother​

          Comment


          • #6
            Originally posted by pearce View Post
            @ kingzooly​,
            what's your problem, i don't have much time to learn because i'm only at home on weekends and i don't always have time. i start learning and my question was how to call the function. you don't have to program for me just explain it to me. i thought the forum was there to help but i don't see it.
            if you can't answer my question then please don't bother​
            I pointed you to the information you need in the manual, specifically DLL.CallFunction, which contains examples and information on how to call a function in a DLL. You responded to that specifically asking for an example, which is asking someone to program for you, because for an example one has to write the code. This is probably why you got the response you got.

            Furthermore, we cannot make an example without knowing the DLL and function signature of the function you wish to call, so writing an example for you would be just as generic as the already existing example in the manual.

            If you provide more information and show what you have attempted so far, we can point you further in the right direction - that is what this forum is for, helping people and teaching people. Teaching doesn't happen without the effort of both parties.
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment


            • #7
              Originally posted by Imagine Programming View Post

              I pointed you to the information you need in the manual, specifically DLL.CallFunction, which contains examples and information on how to call a function in a DLL. You responded to that specifically asking for an example, which is asking someone to program for you, because for an example one has to write the code. This is probably why you got the response you got.

              Furthermore, we cannot make an example without knowing the DLL and function signature of the function you wish to call, so writing an example for you would be just as generic as the already existing example in the manual.

              If you provide more information and show what you have attempted so far, we can point you further in the right direction - that is what this forum is for, helping people and teaching people. Teaching doesn't happen without the effort of both parties.
              Not far off what I said lol, I like how from what we can tell a "trial" user want's help, and well I have given so many people help over at lest 4 accounts I understand the "trail" part of it, but what I don't get is why they can't give us examples of that they have tired, what the errors are and what it's doing and that they believe it needs to do.

              I know we are good, and god you 1000% times better then anything I can do lol but we deff can't see though there eyes
              Plugins or Sources MokoX
              BunnyHop Here

              Comment


              • #8
                ok sorry for my mistake.
                PHP Code:
                -- Lua
                hello 
                = {}

                hello.say = function(){
                    
                Dialog.Message("Demo""Hello World");
                }
                ​ 
                PHP Code:
                LibraryLua.Load("AutoPlay\\Docs\\hello.dll"); 
                I think several people don't understand how to call it either.
                And I am one of them.
                maybe my way of learning is wrong, but i would like to understand how this plugin works.​
                Attached Files

                Comment


                • #9
                  Well what ever your suing to create the DLL will need a entry point and the code is

                  PHP Code:
                  package.loadlib("AutoPlay\\Docs\\hello.dll""your_entery_point"
                  Not sure what LibraryLua.Load is where did you get that from?

                  What are you using to compile your plugin in the first place, this will also help like IP said and so did I there is SO many tools that can compile, some use a default preset entry point and some let you create your own, so please be a little more clear.
                  Plugins or Sources MokoX
                  BunnyHop Here

                  Comment


                  • #10
                    Are your using https://forums.indigorose.com/forum/...ll-library-lua
                    if you read the post like you should of, well advice you not to use that complier as it just included the source you had to then had to wrap the functions for it to work.
                    Plugins or Sources MokoX
                    BunnyHop Here

                    Comment

                    Working...
                    X