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
hxsdp_dll_stub.c
Package: 142_61_thumb_advanced.rar [view]
Upload User: dangjiwu
Upload Date: 2013-07-19
Package Size: 42019k
Code Size: 1k
Category:
Symbian
Development Platform:
Visual C++
- #include <e32std.h>
- #include <string.h>
- #include "hxglobalmgr.h"
- #ifndef HELIX_CONFIG_SYMBIAN_PLATFORM_SECURITY
- GLDEF_C TInt E32Dll(TDllReason reason)
- {
- if (reason == EDllProcessDetach)
- {
- HXGlobalManager* pGM = HXGlobalManager::Instance();
- if (pGM)
- {
- pGM->Shutdown();
- }
- }
- return(KErrNone);
- }
- #endif /* HELIX_CONFIG_SYMBIAN_PLATFORM_SECURITY */
- struct SymbolEntry {
- const char* m_pSymbolName;
- int m_ordinal;
- };
- static const struct SymbolEntry z_symbolTable[] = {
- {"GetSymbolOrdinal", 1},
- {"RMACreateInstance", 2},
- {"CanUnload", 3},
- {"CanUnload2", 4}
- };
- extern "C"
- int GetSymbolOrdinal(const char* pSymbolName)
- {
- int ret = 0;
- int numSymbols = sizeof(z_symbolTable) / sizeof(struct SymbolEntry);
- int i;
- if( NULL != pSymbolName )
- {
- for(i = 0; !ret && (i < numSymbols); i++)
- {
- if (!strcmp(pSymbolName, z_symbolTable[i].m_pSymbolName))
- {
- ret = z_symbolTable[i].m_ordinal;
- break;
- }
- }
- }
- return ret;
- }