64-bit Number Support
Joshua Boyce <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all, I'm currently working on an application which provides an API for manipulating processes and their memory under Windows using Lua and LuaBind. The problem I'm having at the moment is that under 64-bit builds of the application I am unable to use 64-bit numbers (I get an unregistered type error). I attempted to rectify this by providing a specialization of luabind::default_converter but all my attempts simply caused the 64-bit number to be truncated to a 32-bit one. I am using MSVC10 and I have confirmed that the type used for lua_Integer (ptrdiff_t) is 64-bits on my platform so I'm not sure what I'm doing wrong. Help in this matter would be appreciated as if I'm unable to fix this I will have to drop support for Lua and rewrite everything to use a different scripting language. Something which I'm hoping I can avoid. Thanks in advance. ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user