Click here to Skip to main content
15,898,769 members
Home / Discussions / COM
   

COM

 
QuestionCOM object that has been separated from the underlying RCW can not be used Pin
lafleon4-Oct-06 19:25
lafleon4-Oct-06 19:25 
QuestionAuthentication & authorization issue for IIS Pin
Elena_2006oct4-Oct-06 2:34
Elena_2006oct4-Oct-06 2:34 
QuestionSystem.IO.FileNotFoundException: The specified module could not be found. Pin
Elena_2006oct4-Oct-06 1:47
Elena_2006oct4-Oct-06 1:47 
Questionrational rose dll (COM reference) Pin
samar waheed2-Oct-06 10:40
samar waheed2-Oct-06 10:40 
QuestionGetting rid of border around ActiveX control Pin
zulat1-Oct-06 8:31
zulat1-Oct-06 8:31 
QuestionDifference between Dlls Pin
HakunaMatada29-Sep-06 2:22
HakunaMatada29-Sep-06 2:22 
AnswerRe: Difference between Dlls Pin
Mr.Brainley29-Sep-06 3:39
Mr.Brainley29-Sep-06 3:39 
AnswerRe: Difference between Dlls Pin
Mike Dimmick1-Oct-06 6:05
Mike Dimmick1-Oct-06 6:05 
A DLL is a DLL - it's loaded into the process address space upon request. Each process has its own address space and therefore its own copy of the writable parts of the DLL (statically/globally allocated data); the pages containing code and read-only data are shared between processes, as long as the DLL can load at its preferred base address. (If not, the code has to be relocated, address references having to be rewritten to match the actual address the code was loaded at, and this means making a copy of every memory page written to.)

There isn't really such a thing as a 'COM DLL'. A DLL that is registered as a COM in-process server must export the functions DllGetClassObject and DllCanUnloadNow. The latter isn't strictly required but failing to implement it means that COM can't unload the DLL if the application calls CoFreeUnusedLibraries. COM calls DllGetClassObject to get a class factory object for a COM class, which is used to create the actual objects. If DllGetClassObject isn't present, COM will simply fail to create the object.

Stability. What an interesting concept. -- Chris Maunder

QuestionCommand Line Arguments Pin
mpk197929-Sep-06 1:47
mpk197929-Sep-06 1:47 
AnswerRe: Command Line Arguments Pin
Mr.Brainley29-Sep-06 3:42
Mr.Brainley29-Sep-06 3:42 
Questionuse shell extension .dll out of an .exe (wrapper) Pin
drax_081528-Sep-06 3:08
drax_081528-Sep-06 3:08 
QuestionHow can i Force com object to be release ? Pin
Yanshof28-Sep-06 2:14
Yanshof28-Sep-06 2:14 
AnswerRe: How can i Force com object to be release ? Pin
Lim Bio Liong28-Sep-06 4:35
Lim Bio Liong28-Sep-06 4:35 
QuestionStartServiceCtrlDispatcher fails Pin
mpk197927-Sep-06 21:30
mpk197927-Sep-06 21:30 
AnswerRe: StartServiceCtrlDispatcher fails Pin
User 21559727-Sep-06 22:34
User 21559727-Sep-06 22:34 
GeneralRe: StartServiceCtrlDispatcher fails Pin
mpk197929-Sep-06 1:44
mpk197929-Sep-06 1:44 
GeneralRe: StartServiceCtrlDispatcher fails Pin
User 2155973-Oct-06 1:45
User 2155973-Oct-06 1:45 
QuestionHow to create a custom Calendar control in asp.net web application?? Pin
choorakkuttyil27-Sep-06 20:55
choorakkuttyil27-Sep-06 20:55 
Questionoutlook CRM integration Pin
drequinox27-Sep-06 11:31
drequinox27-Sep-06 11:31 
QuestionIWebBrowser2::Navigate2 problems Pin
Shutaro27-Sep-06 8:02
Shutaro27-Sep-06 8:02 
QuestionMap Event queue not cleared after FireEvent call Pin
Shutaro27-Sep-06 7:45
Shutaro27-Sep-06 7:45 
QuestionReturning an array of a userdefined struct via RPC Pin
Mr.Brainley27-Sep-06 3:59
Mr.Brainley27-Sep-06 3:59 
QuestionStarting COM Pin
Suresh H26-Sep-06 19:25
Suresh H26-Sep-06 19:25 
AnswerRe: Starting COM Pin
User 21559726-Sep-06 20:21
User 21559726-Sep-06 20:21 
GeneralRe: Starting COM Pin
Suresh H26-Sep-06 20:39
Suresh H26-Sep-06 20:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.