⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tdllaccess-static.in

📁 linux下的一款播放器
💻 IN
字号:
# Command List# DLLAccess() # DLLAccess(dllName,nLibType) <dll name> <lib type># Open <dll name> <lib type> <expected return value># Close <expected return value># GetSymbol <symbol name> <0 = symbol not present, 1 = got symbol># GetError <expected error code># GetErrorString <expected error string># GetDLLName <0 = name invalid, 1 = name valid> <expected dll name># GetVersion <0 = null pointer expected, 1 = string expected> <expected version string># CreateName1 <short name> <long name> <expected name># CreateName2 <short name> <long name> <major number> <minor number> <expected name># IsOpen < 0 = not open, 1 = open># Test an object constructed using the default constructorDLLAccess()IsOpen 0Close 1GetSymbol "foo" 0GetError 2GetErrorString "DLL not loaded"GetDLLName 0 ""GetVersion 0 ""# Test opening a non-existant DLLDLLAccess()IsOpen 0Open "foo.dll" 0 1IsOpen 0GetError 1GetErrorString "Application not linked against module foo"# Test an object constructed with a non-existant DLLDLLAccess(dllName,nLibType) "foo.dll" 0IsOpen 0GetError 1GetErrorString "Application not linked against module foo"Close 1GetSymbol "foo" 0GetError 2GetErrorString "DLL not loaded"GetDLLName 0 ""GetVersion 0 ""# Test abcdll with default constructorDLLAccess()IsOpen 0Open "abcdll.so.6.0" 0 0IsOpen 1GetSymbol "foo" 0GetError 2GetErrorString "Symbol \"foo\" not available in dll \"abcdll\""GetSymbol "FuncA" 1CallIntFunc "FuncA" 7GetSymbol "FuncB" 1CallIntFunc "FuncB" 42GetSymbol "FuncC" 1CallIntFunc "FuncC" 64GetDLLName 1 "abcdll.so.6.0"GetVersion 0 ""Close 0IsOpen 0# Test abcdll with constructor that takes the DLL nameDLLAccess(dllName,nLibType) "abcdll.so.6.0" 0IsOpen 1GetSymbol "foo" 0GetError 2GetErrorString "Symbol \"foo\" not available in dll \"abcdll\""GetSymbol "FuncA" 1CallIntFunc "FuncA" 7GetSymbol "FuncB" 1CallIntFunc "FuncB" 42GetSymbol "FuncC" 1CallIntFunc "FuncC" 64GetDLLName 1 "abcdll.so.6.0"GetVersion 0 ""Close 0IsOpen 0CreateName1 abcd abcdll abcdllCreateName2 abcd abcdll 6 0 abcdll

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -