Click here to Skip to main content
15,906,574 members
Home / Discussions / COM
   

COM

 
QuestionHandling Internet Explorer com server object in plain C++ Pin
jattila4010-Mar-08 2:13
jattila4010-Mar-08 2:13 
GeneralRe: Handling Internet Explorer com server object in plain C++ Pin
jattila4010-Mar-08 3:48
jattila4010-Mar-08 3:48 
GeneralLink File Path Pin
john56329-Mar-08 22:25
john56329-Mar-08 22:25 
QuestionCOM Interop C++ unmanaged through C# .NET 2.0 Class Library to C# .NET 1.1managed Class Library Pin
scottdj8-Mar-08 18:33
scottdj8-Mar-08 18:33 
QuestionRe: COM Interop C++ unmanaged through C# .NET 2.0 Class Library to C# .NET 1.1managed Class Library Pin
scottdj8-Mar-08 18:36
scottdj8-Mar-08 18:36 
GeneralRe: COM Interop C++ unmanaged through C# .NET 2.0 Class Library to C# .NET 1.1managed Class Library Pin
Scott Dorman10-Mar-08 15:49
professionalScott Dorman10-Mar-08 15:49 
Generalusing com without registration Pin
justintimberlake8-Mar-08 16:31
justintimberlake8-Mar-08 16:31 
GeneralRe: using com without registration Pin
User 2155979-Mar-08 3:14
User 2155979-Mar-08 3:14 
justintimberlake wrote:
I have a com with source code compiled as dll now is there any way that i can use the class in dll without registering the com. I am new to com so dont have any idea about it

Check these two URLs. Let me know if this is what you are looking for.
Registration-Free Activation of .NET-Based Components: A Walkthrough[^]
Registration-Free Activation of COM Components: A Walkthrough[^]

Registering COM Applications[^] will help you understand COM application registration basics.

justintimberlake wrote:
i read some where that with loadlibray we can use dll as late binding and get procaddres to access class or methods in .def file but is it possible to use class not in .def file


Yes, with LoadLibrary and GetProcAddress you can access functions in DLLs. But a COM Inprocess server is a special kind of DLL (that is designed with COM specification rules and with intention of it being used by COM aware clients). In general, as far as I know, to use a function using LoadLibrary and GetProcAddress, a function should be exported by that DLL. There are various ways to export a function, one of which is .DEF file you mentioned (see Exporting from a DLL [^] )

Let me know if this helps.


Sohail



modified 21-Apr-21 21:01pm.

GeneralRe: using com without registration Pin
justintimberlake9-Mar-08 16:52
justintimberlake9-Mar-08 16:52 
GeneralRe: using com without registration Pin
User 21559710-Mar-08 11:32
User 21559710-Mar-08 11:32 
GeneralProxy Manager on Remote Clients Pin
swjam7-Mar-08 22:04
swjam7-Mar-08 22:04 
GeneralEvent Map of an ActiveX control Pin
AbbyIndian6-Mar-08 6:59
AbbyIndian6-Mar-08 6:59 
QuestionCOM Addin crashes Excel. What am I doing wrong? Pin
ssaddi3-Mar-08 19:35
ssaddi3-Mar-08 19:35 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
Nathan Holt at EMOM4-Mar-08 9:42
Nathan Holt at EMOM4-Mar-08 9:42 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
ssaddi4-Mar-08 10:58
ssaddi4-Mar-08 10:58 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
Nathan Holt at EMOM4-Mar-08 11:15
Nathan Holt at EMOM4-Mar-08 11:15 
QuestionRe: COM Addin crashes Excel. What am I doing wrong? Pin
Nathan Holt at EMOM6-Mar-08 4:45
Nathan Holt at EMOM6-Mar-08 4:45 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
ssaddi6-Mar-08 10:15
ssaddi6-Mar-08 10:15 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
Nathan Holt at EMOM6-Mar-08 10:43
Nathan Holt at EMOM6-Mar-08 10:43 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
ssaddi6-Mar-08 10:38
ssaddi6-Mar-08 10:38 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
Nathan Holt at EMOM6-Mar-08 10:54
Nathan Holt at EMOM6-Mar-08 10:54 
Generalcom dll and console client......... Pin
bhogavalli2-Mar-08 19:52
bhogavalli2-Mar-08 19:52 
GeneralCOM dll connect to console client Pin
sheshidar2-Mar-08 19:19
sheshidar2-Mar-08 19:19 
QuestionRe: COM dll connect to console client Pin
CPallini2-Mar-08 21:04
mveCPallini2-Mar-08 21:04 
GeneralError on this dll file ( LpiCom_6_0.LPOrderPart ) Pin
Sujit Gupta29-Feb-08 23:01
Sujit Gupta29-Feb-08 23:01 

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.