Announcement

Collapse
No announcement yet.

My UDK project was dependent on DLL bind. I'm porting so now I....?

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

    My UDK project was dependent on DLL bind. I'm porting so now I....?

    Can somebody post or link to a snippet showing how to assimilate a .dll? Specifically, I'm using the .dll from sixense https://developer.oculusvr.com/forum...php?f=30&t=150. So basically, I'm calling functions in the .dll to get the positions and rotations of motion trackers and pressed/unpressed of the buttons.

    Check out my discord -> https://discord.gg/kQdVwJ3

    Follow us on twitter to get updates on new products and special offers -> https://twitter.com/BlackFangTech

    Black Fang Technologies' products -> https://www.unrealengine.com/marketp...20Technologies

    #2
    In my signature you will find a link to the tutorial i put together regarding linking a static library, and I am working on one that is for DLLs. As we are now working in the context of MSVS you are much more free to leverage standard techniques and practices to import your code than ever before. DLLs can be imported with calls to LoadLibrary, and you procedures with a lookup routine called GetProcAddress.

    For more detailed information you will likely need to wait for my formal Tutorial available some time this coming week.

    http://stackoverflow.com/questions/5...n-a-dll-from-c
    About Me | JavaScript and UE4 | Exodus | Code Notes

    Comment


      #3
      Since you have the full source code for UE4, you can just link everything as you would when creating your DLL.

      Comment


        #4
        I'm not the .dll creator, it was provided by Sixense

        Check out my discord -> https://discord.gg/kQdVwJ3

        Follow us on twitter to get updates on new products and special offers -> https://twitter.com/BlackFangTech

        Black Fang Technologies' products -> https://www.unrealengine.com/marketp...20Technologies

        Comment


          #5
          Snake is referring to the fact that your game module is compiled out to a DLL and that is loaded into the engine. You do not have to author a new DLL.
          About Me | JavaScript and UE4 | Exodus | Code Notes

          Comment


            #6
            I've integrated their library before and you just include their headers and use their lib to link.

            Comment


              #7
              OK, thanks for the help guys. I think I understand it now.

              I downloaded the SDK from their site. It has lib files, a 64-bit of the dll, and it even has a header file for the dll. I think I am actually making progress.
              Last edited by BlackFangTech; 03-23-2014, 02:41 PM.

              Check out my discord -> https://discord.gg/kQdVwJ3

              Follow us on twitter to get updates on new products and special offers -> https://twitter.com/BlackFangTech

              Black Fang Technologies' products -> https://www.unrealengine.com/marketp...20Technologies

              Comment


                #8
                If you have the DLL/.h you should consider turning it into a plugin so you can drag and drop it into any project.

                It would also be nice to share the plugin with others.

                Take a look at the plugin system.

                Comment


                  #9
                  I would be really interested in a plugin for this too so that I can get my Razer Hydra working, I'm not sure my knowledge is up to scratch to make one myself unfortunately.

                  Comment


                    #10
                    Originally posted by Liquidoodle View Post
                    I would be really interested in a plugin for this too so that I can get my Razer Hydra working, I'm not sure my knowledge is up to scratch to make one myself unfortunately.
                    One hydra plugin coming right up:
                    https://forums.unrealengine.com/show...r-Hydra-Plugin
                    Plugins: GES - Node.js - TensorFlow - Socket.io Client - ZipUtility - Leap Motion - Hydra - Myo

                    Comment


                      #11
                      Legend! I'm going to have a play with this right away

                      Comment

                      Working...
                      X