Announcement

Collapse
No announcement yet.

MemoryEx Library Load

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

  • MemoryEx Library Load

    I have a particular dll file and the function names have a space in them eg:

    Code:
    struct lib::_handle __cdecl file::add(class name::session &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct lib::add_file,class boost::system::error_code &)
    and in some no doubt illegal Lua characters so can I somehow call the function giving it required arguments from its address or relative address?

  • #2
    Hi

    there is no space in that function name ,since , i do not know a programming or scripting language that allows you to use space charater in function or variable names

    and in that code block there is only one function name and it is add
    it looks like a function of boost library

    Code:
    struct lib::_handle __cdecl file::add(class name::session &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct lib::add_file,class boost::system::error_code &)
    you can not call this function from AMS even with Memory plugins
    because its arguments consist of C++ teplates / namespaces / classes
    amsplugins.com Is Closed.

    Facebook Page

    Comment


    • #3
      thanks, it is a boost library and the function 'name' I had is what dllexp reported, do you think this could help? If not the dll I have has in the past been made in to a Lua module but it was in 2007 and it lacks the most amount of features so would you know of any refrences for building Lua modules using boosts?

      Comment


      • #4
        i checked that luabind library
        and it is already based on boost library , so it requires boost to build
        but boost is a complex library , and it has many build configurations (that must be set)
        it is also heavy in file size , i would not choose boost library to use few functions of it

        it is a very good library but ,it should be used in big applications that uses big amount of boost library , i would not prefer it otherwise

        if you think that you can build boost library then ,you have two options
        static library and dynamic library , i would suggest dynamic library method because
        if you use static libraries then you must link static libs with luabind library
        once you build luabind , you have to build another lua module based on luabind
        and you have to statically link boost with your module as well , this doubles the file size of course
        so ,using dynamic library method is a good idea

        this is not a simple task , here is your to do list
        • get boost library sources
        • build boost libraries
        • build luabind module
        • build your own module that uses boost's functionality (check examples/regex folder in luabind library as an example)
        amsplugins.com Is Closed.

        Facebook Page

        Comment


        • #5
          Cheers mate

          Comment

          Working...
          X