Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Java sux! Pin
Tristan Rhodes28-Dec-03 8:34
Tristan Rhodes28-Dec-03 8:34 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 8:55
protectorHeath Stewart28-Dec-03 8:55 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 9:25
protectorNick Parker28-Dec-03 9:25 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 9:28
protectorHeath Stewart28-Dec-03 9:28 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 9:35
protectorNick Parker28-Dec-03 9:35 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 8:52
protectorHeath Stewart28-Dec-03 8:52 
GeneralHosting ActiveX Pin
Wizard_0128-Dec-03 2:30
Wizard_0128-Dec-03 2:30 
GeneralRe: Hosting ActiveX Pin
Heath Stewart28-Dec-03 3:58
protectorHeath Stewart28-Dec-03 3:58 
Read Nick Parker's article, Creating a CCW...[^]. You should also read the System.Runtime.InteropServices documentation so you understand what's going on. Knowledge of COM is also helpful, such as understand the difference between IUnknown and IDispatch (for automation), knowing which IPersist* interfaces that Word supports (it is a typical ActiveX container), knowing what ActiveX containers are, and the like. You should also NEVER use auto-generated class interfaces (as I asked Nick to add to his article) and NEVER change your class interface after releasing your component (instead, create a new interface by appending 2, 3, etc. for each version) that derives from the first and adds methods with new DispIdAttributes for automation objects).

As far as OLE is concerned (for hosting toolbars, merging menus, hosting status bars, etc.), you'd really be best writing your component(s) in C++ as opposed to some .NET language like C# because you'll have to define LOTS of COM interfaces with the appropriate GuidAttributes, DispIdAttributes, InterfaceTypeAttributes, and so on. System.Runtime.InteropServices provides a few managed definitions (the interfaces that start with UCOM* like UCOMIBindCtx).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
Generalfiltering properties Pin
Roger Alsing28-Dec-03 1:34
Roger Alsing28-Dec-03 1:34 
GeneralRe: filtering properties Pin
Wizard_0128-Dec-03 2:53
Wizard_0128-Dec-03 2:53 
GeneralRe: filtering properties Pin
Roger Alsing28-Dec-03 3:37
Roger Alsing28-Dec-03 3:37 
GeneralRe: filtering properties Pin
Wizard_0128-Dec-03 4:07
Wizard_0128-Dec-03 4:07 
GeneralRe: filtering properties Pin
Roger Alsing28-Dec-03 4:34
Roger Alsing28-Dec-03 4:34 
GeneralRe: filtering properties Pin
Heath Stewart28-Dec-03 3:38
protectorHeath Stewart28-Dec-03 3:38 
GeneralSalted Hash add vulnerabilities Pin
laphijia27-Dec-03 23:15
laphijia27-Dec-03 23:15 
GeneralRe: Salted Hash add vulnerabilities Pin
Heath Stewart28-Dec-03 3:34
protectorHeath Stewart28-Dec-03 3:34 
QuestionHow to use array update the xml file?███ Pin
nichen100127-Dec-03 20:19
nichen100127-Dec-03 20:19 
AnswerRe: How to use array update the xml file? Pin
Nick Parker28-Dec-03 3:19
protectorNick Parker28-Dec-03 3:19 
GeneralAttention C++ developers Pin
Alex Korchemniy27-Dec-03 15:40
Alex Korchemniy27-Dec-03 15:40 
GeneralRe: Attention C++ developers Pin
Colin Angus Mackay27-Dec-03 17:07
Colin Angus Mackay27-Dec-03 17:07 
GeneralRe: Attention C++ developers Pin
Alex Korchemniy27-Dec-03 17:11
Alex Korchemniy27-Dec-03 17:11 
GeneralRe: Attention C++ developers Pin
Colin Angus Mackay27-Dec-03 17:52
Colin Angus Mackay27-Dec-03 17:52 
GeneralRe: Attention C++ developers Pin
leppie27-Dec-03 19:07
leppie27-Dec-03 19:07 
GeneralRe: Attention C++ developers Pin
Heath Stewart28-Dec-03 3:21
protectorHeath Stewart28-Dec-03 3:21 
QuestionHow Do I transform 2d coordinates of the mouse into 3d? Pin
SherKar27-Dec-03 14:21
SherKar27-Dec-03 14:21 

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.