Any other code can be placed inside a #link, #endlink section but limiting the code in this section to function prototypes is recommended. only a semicolon should be placed after the function prototype). The declared functions should not have a body (i.e. For example: #link "TestDLL.dll" int MyDLLFunc1( int a, int b ) In a Script or Template, to declare a function that exists inside an external DLL enclose the function prototypes inside a ' #link ""' statement and an ' #endlink' statement. Note that the 32-bit version of 010 Editor must be used when calling functions in a 32-bit library and the 64-bit version of 010 Editor but be used when calling functions in an 64-bit library. Supported libraries include DLLs on Windows (*.dll), Shared Objects on Linux (*.so), and DYLIB libraries on macOS (*.dylib). Installing Files on Open from the RepositoryĪ Script or Template can execute a function that is located inside an external dynamic linked library.Using 010 Editor - Templates and Scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |