Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
tdllaccess.in
Package: 142_61_thumb_advanced.rar [view]
Upload User: dangjiwu
Upload Date: 2013-07-19
Package Size: 42019k
Code Size: 2k
Category:
Symbian
Development Platform:
Visual C++
- # 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 constructor
- DLLAccess()
- IsOpen 0
- Close 1
- GetSymbol "foo" 0
- GetError 2
- GetErrorString "DLL not loaded"
- GetDLLName 0 ""
- GetVersion 0 ""
- # Test opening a non-existant DLL
- DLLAccess()
- IsOpen 0
- Open "foo.dll" 0 1
- IsOpen 0
- GetError 1
- GetErrorString "foo.dll: cannot open shared object file: No such file or directory"
- # Test an object constructed with a non-existant DLL
- DLLAccess(dllName,nLibType) "foo.dll" 0
- IsOpen 0
- GetError 1
- GetErrorString "foo.dll: cannot open shared object file: No such file or directory"
- Close 1
- GetSymbol "foo" 0
- GetError 2
- GetErrorString "DLL not loaded"
- GetDLLName 0 ""
- GetVersion 0 ""
- # Test abcdll with default constructor
- DLLAccess()
- IsOpen 0
- Open "abcdll.so.6.0" 0 0
- IsOpen 1
- GetSymbol "foo" 0
- GetError 2
- GetErrorString "/home/aaron/tdllaccess: undefined symbol: foo"
- GetSymbol "FuncA" 1
- CallIntFunc "FuncA" 7
- GetSymbol "FuncB" 1
- CallIntFunc "FuncB" 42
- GetSymbol "FuncC" 1
- CallIntFunc "FuncC" 64
- GetDLLName 1 "abcdll.so.6.0"
- GetVersion 0 ""
- Close 0
- IsOpen 0
- # Test abcdll with constructor that takes the DLL name
- DLLAccess(dllName,nLibType) "abcdll.so.6.0" 0
- IsOpen 1
- GetSymbol "foo" 0
- GetError 2
- GetErrorString "/home/aaron/tdllaccess: undefined symbol: foo"
- GetSymbol "FuncA" 1
- CallIntFunc "FuncA" 7
- GetSymbol "FuncB" 1
- CallIntFunc "FuncB" 42
- GetSymbol "FuncC" 1
- CallIntFunc "FuncC" 64
- GetDLLName 1 "abcdll.so.6.0"
- GetVersion 0 ""
- Close 0
- IsOpen 0
- CreateName1 abcd abcdll abcdll.so.6.0
- CreateName2 abcd abcdll 6 0 abcdll.so.6.0