// AsmShell.cpp : Implementation of DLL Exports.
class CAsmShellModule : public CAtlDllModuleT< CAsmShellModule >
// DLL Entry Point
extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
return _AtlModule.DllMain(dwReason, lpReserved);
// Used to determine whether the DLL can be unloaded by OLE
// Returns a class factory to create an object of the requested type
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
return _AtlModule.DllGetClassObject(rclsid, riid, ppv);
// DllRegisterServer - Adds entries to the system registry
// registers object, typelib and all interfaces in typelib
HRESULT hr = _AtlModule.DllRegisterServer();
// DllUnregisterServer - Removes entries from the system registry
HRESULT hr = _AtlModule.DllUnregisterServer();
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Heath Stewart is a happily married software engineer originally from the Midwest and a graduate of Iowa State University
. Heath start programming early in life and enjoys continuous research and development in new languages, frameworks, and platforms. Fluent in many different programming languages, he has developed many large-scale software solutions for companies in different areas, such as Internet filtering, intrusion detection systems, production management systems, and web applications for various purposes. He also enjoys photography
Currently, Heath is a Program Manager in the Visual Studio Professional Deployment Experience (VSPro DEX) team at Microsoft
. Previous to his employment, he was a Microsoft MVP
for Visual C#.
He is also a CodeProject protector
and is happy to help the development community.