Click here to Skip to main content
15,892,199 members
Home / Discussions / COM
   

COM

 
QuestionRe: How to run Dos Command in Dotnet witout opening Command Prompt Pin
Harshad Pednekar9-Sep-06 0:08
Harshad Pednekar9-Sep-06 0:08 
Questionerror LNK2001: unresolved external symbol _CLSID...... Pin
Rinu_Raj29-Aug-06 23:32
Rinu_Raj29-Aug-06 23:32 
AnswerRe: error LNK2001: unresolved external symbol _CLSID...... Pin
Steve S30-Aug-06 0:30
Steve S30-Aug-06 0:30 
QuestionMethod of WMI Class SystemRestore on Windows Vista doesn't work! Pin
dmitriu29-Aug-06 22:24
dmitriu29-Aug-06 22:24 
QuestionAre user32.dll ,kernel32.dll... COM dlls? Pin
sawerr29-Aug-06 6:45
sawerr29-Aug-06 6:45 
AnswerRe: Are user32.dll ,kernel32.dll... COM dlls? Pin
Mike Dimmick29-Aug-06 6:52
Mike Dimmick29-Aug-06 6:52 
GeneralRe: Are user32.dll ,kernel32.dll... COM dlls? Pin
sawerr29-Aug-06 7:02
sawerr29-Aug-06 7:02 
GeneralRe: Are user32.dll ,kernel32.dll... COM dlls? Pin
Steve S29-Aug-06 21:35
Steve S29-Aug-06 21:35 
sawerr wrote:
Can you plase explain what the meaning of 'flat' interface.
Can you please give me an example or your experience about c++ ABI and DLLs compiled with a different C++ compiler is unlikely to work.


1. Flat interface means no C++ style classes, eg Window::Close(), instead there are just functions - CreateWindow(), CreateFile()*, CloseHandle() etc.

2. If you have a library or DLL built using VC++, it's unlikely to link correctly against code compiled using a different C++ compiler. In many cases, things like MFC extension libraries are now supplied in multiple flavours, VC6, VC.NET, VC.NET 2003, and VC 2005. A former colleague of mine struggled for ages to get a C++ class compiled with Borland to link with VC++. In the meantrime, I'd implemented a rewrite of the relevant code Smile | :)


* Actually, it's CreateFileA and CreateFileW on WinNT, Win2K, WinXP and Server 2003, while WinCE has only CreateFileW, but that's a different question...

Steve S
Developer for hire

QuestionEmbedding an ActiveX control in another Pin
TClarke29-Aug-06 6:06
TClarke29-Aug-06 6:06 
AnswerRe: Embedding an ActiveX control in another Pin
Roger Stoltz30-Aug-06 23:33
Roger Stoltz30-Aug-06 23:33 
GeneralRe: Embedding an ActiveX control in another Pin
TClarke30-Aug-06 23:42
TClarke30-Aug-06 23:42 
GeneralRe: Embedding an ActiveX control in another Pin
TClarke31-Aug-06 1:05
TClarke31-Aug-06 1:05 
GeneralRe: Embedding an ActiveX control in another Pin
Roger Stoltz31-Aug-06 4:10
Roger Stoltz31-Aug-06 4:10 
Questionunregistering COM Pin
_tasleem29-Aug-06 3:05
_tasleem29-Aug-06 3:05 
AnswerRe: unregistering COM Pin
Steve S29-Aug-06 5:12
Steve S29-Aug-06 5:12 
QuestionPassing an Array of BSTR Pin
HakunaMatada28-Aug-06 20:51
HakunaMatada28-Aug-06 20:51 
AnswerRe: Passing an Array of BSTR Pin
Steve S29-Aug-06 2:39
Steve S29-Aug-06 2:39 
Questionnew vs CoCreateInstance Pin
_AnsHUMAN_ 28-Aug-06 0:10
_AnsHUMAN_ 28-Aug-06 0:10 
AnswerRe: new vs CoCreateInstance Pin
Steve S29-Aug-06 5:18
Steve S29-Aug-06 5:18 
Questionautomatic call Pin
_tasleem27-Aug-06 22:04
_tasleem27-Aug-06 22:04 
AnswerRe: automatic call Pin
prasad_som27-Aug-06 23:19
prasad_som27-Aug-06 23:19 
QuestionThread in COM DLL Pin
rockryan27-Aug-06 3:03
rockryan27-Aug-06 3:03 
AnswerRe: Thread in COM DLL Pin
rockryan27-Aug-06 14:22
rockryan27-Aug-06 14:22 
QuestionIHTMLDocument2 get_applets Pin
nemo26-Aug-06 13:45
nemo26-Aug-06 13:45 
Question"Unadvising" Event sink in VB6 Pin
Ilia Blank25-Aug-06 7:45
Ilia Blank25-Aug-06 7:45 

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.