Hi!
I'm trying to learn how to write com component servers (dll's) using plain c++ (no mfc, or atl) & am having trouble exposing the necessary functions - DllRegisterServer, DllUnregisterServer, DllCanUnloadNow, & DllGetClassObject prefixing each with STDAPI. I read somewhere on MSDN that you have to add a preprocessor directive or a compiler switch for STDAPI to expose functions, but it didn't actually say what they are. I'd really rather not use a .def file, but @ the moment I'm REALLY stuck without one!
If anyone could help I'd really appreciate it! :
I'm trying to learn how to write com component servers (dll's) using plain c++ (no mfc, or atl) & am having trouble exposing the necessary functions - DllRegisterServer, DllUnregisterServer, DllCanUnloadNow, & DllGetClassObject prefixing each with STDAPI. I read somewhere on MSDN that you have to add a preprocessor directive or a compiler switch for STDAPI to expose functions, but it didn't actually say what they are. I'd really rather not use a .def file, but @ the moment I'm REALLY stuck without one!
If anyone could help I'd really appreciate it! :