Click here to Skip to main content
15,503,808 members
Home / Discussions / C#
   

C#

 
GeneralRe: Java sux! Pin
Tristan Rhodes28-Dec-03 9:34
Tristan Rhodes28-Dec-03 9:34 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 9:55
protectorHeath Stewart28-Dec-03 9:55 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 10:25
protectorNick Parker28-Dec-03 10:25 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 10:28
protectorHeath Stewart28-Dec-03 10:28 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 10:35
protectorNick Parker28-Dec-03 10:35 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 9:52
protectorHeath Stewart28-Dec-03 9:52 
GeneralHosting ActiveX Pin
Wizard_0128-Dec-03 3:30
Wizard_0128-Dec-03 3:30 
GeneralRe: Hosting ActiveX Pin
Heath Stewart28-Dec-03 4:58
protectorHeath Stewart28-Dec-03 4: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 2:34
Roger Alsing28-Dec-03 2:34 
GeneralRe: filtering properties Pin
Wizard_0128-Dec-03 3:53
Wizard_0128-Dec-03 3:53 
GeneralRe: filtering properties Pin
Roger Alsing28-Dec-03 4:37
Roger Alsing28-Dec-03 4:37 
GeneralRe: filtering properties Pin
Wizard_0128-Dec-03 5:07
Wizard_0128-Dec-03 5:07 
GeneralRe: filtering properties Pin
Roger Alsing28-Dec-03 5:34
Roger Alsing28-Dec-03 5:34 
GeneralRe: filtering properties Pin
Heath Stewart28-Dec-03 4:38
protectorHeath Stewart28-Dec-03 4:38 
GeneralSalted Hash add vulnerabilities Pin
laphijia28-Dec-03 0:15
laphijia28-Dec-03 0:15 
GeneralRe: Salted Hash add vulnerabilities Pin
Heath Stewart28-Dec-03 4:34
protectorHeath Stewart28-Dec-03 4:34 
QuestionHow to use array update the xml file?███ Pin
nichen100127-Dec-03 21:19
nichen100127-Dec-03 21:19 
AnswerRe: How to use array update the xml file? Pin
Nick Parker28-Dec-03 4:19
protectorNick Parker28-Dec-03 4:19 
GeneralAttention C++ developers Pin
Alex Korchemniy27-Dec-03 16:40
Alex Korchemniy27-Dec-03 16:40 
GeneralRe: Attention C++ developers Pin
Colin Angus Mackay27-Dec-03 18:07
Colin Angus Mackay27-Dec-03 18:07 
GeneralRe: Attention C++ developers Pin
Alex Korchemniy27-Dec-03 18:11
Alex Korchemniy27-Dec-03 18:11 
GeneralRe: Attention C++ developers Pin
Colin Angus Mackay27-Dec-03 18:52
Colin Angus Mackay27-Dec-03 18:52 
GeneralRe: Attention C++ developers Pin
leppie27-Dec-03 20:07
leppie27-Dec-03 20:07 
GeneralRe: Attention C++ developers Pin
Heath Stewart28-Dec-03 4:21
protectorHeath Stewart28-Dec-03 4:21 
QuestionHow Do I transform 2d coordinates of the mouse into 3d? Pin
SherKar27-Dec-03 15:21
SherKar27-Dec-03 15: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.