Click here to Skip to main content
15,902,933 members
Home / Discussions / COM
   

COM

 
GeneralRe: Easily find IID, CLSID, ProgID? Pin
Kaleb Pederson27-Apr-04 9:33
Kaleb Pederson27-Apr-04 9:33 
Questionhow to maintain relationship between parent and child activeX control Pin
Abhi Lahare26-Apr-04 0:49
Abhi Lahare26-Apr-04 0:49 
AnswerRe: how to maintain relationship between parent and child activeX control Pin
Jitendra gangwar27-Apr-04 20:20
Jitendra gangwar27-Apr-04 20:20 
GeneralForward declaration error of ICallFactory Pin
shahzi25-Apr-04 20:34
shahzi25-Apr-04 20:34 
GeneralRe: Forward declaration error of ICallFactory Pin
Mike Dimmick26-Apr-04 23:30
Mike Dimmick26-Apr-04 23:30 
GeneralRe: Forward declaration error of ICallFactory Pin
shahzi29-Apr-04 20:19
shahzi29-Apr-04 20:19 
Generalnon-blocking Method Calling from COM Client Pin
shahzi23-Apr-04 22:27
shahzi23-Apr-04 22:27 
GeneralPass by Value or by Reference Pin
normanordas22-Apr-04 21:15
normanordas22-Apr-04 21:15 
Using P/Invoke how would i know that i should be passing "by value" or "by reference" to the arguments of a method or function of the DLL?
2. Equivalent type in .Net of the used data type for each variable (e.g what's the equivalent type of BSTR in VB.Net/C#?
3. In the type library it says:
VARIANT_BOOL _stdcall NE_QueryElementByID(
[in] long net,
[in] ElementTypeEnum eltype,
[in, out] IDAttRec* id,
[in, out] HandleAttRec* h);

This is the way i called it in VB.Net...is this correct?
...
<dllimport("neteng.dll")> _
Public Shared Function NE_QueryElementByID(ByRef net As Long, ByRef eltype As ElementTypeEnum, ByRef id As IDAttRec, ByRef h As HandleAttRec) As Boolean
End Function
...

Dim h1 As HandleAttRec
hi.Handle = 0
Dim id1 As IDAttRec
Dim m_startid As Int32 = 4424

id1.UserID = 99
id1.LayerKey = 1
dim bol as Boolean = NE_QueryElementByID(net, ElementTypeEnum.NE_EDGE, id1, h1)

Tnx a lot!
GeneralRe: Pass by Value or by Reference Pin
Mike Dimmick23-Apr-04 9:24
Mike Dimmick23-Apr-04 9:24 
GeneralUsing ISyncMgrRegister Pin
jparsons22-Apr-04 19:57
jparsons22-Apr-04 19:57 
GeneralRe: Using ISyncMgrRegister Pin
Mike Dimmick23-Apr-04 9:26
Mike Dimmick23-Apr-04 9:26 
GeneralRe: Using ISyncMgrRegister Pin
jparsons23-Apr-04 11:58
jparsons23-Apr-04 11:58 
GeneralRe: Using ISyncMgrRegister Pin
MichaelPine17-Apr-05 22:07
MichaelPine17-Apr-05 22:07 
Generalerror in loading .dll Pin
Peter GW22-Apr-04 5:17
Peter GW22-Apr-04 5:17 
GeneralCOM+ Transaction err0r Pin
versatile_me21-Apr-04 18:03
versatile_me21-Apr-04 18:03 
GeneralLoad COM from a remote location Pin
Fabio Panzavolta21-Apr-04 3:47
Fabio Panzavolta21-Apr-04 3:47 
GeneralCreateDispatch AccessDenied Pin
shiraztk21-Apr-04 0:49
shiraztk21-Apr-04 0:49 
GeneralCOM tutorials Pin
Poorniselva21-Apr-04 0:41
Poorniselva21-Apr-04 0:41 
Generalexposing a class library as a COM object Pin
User 96257820-Apr-04 9:41
User 96257820-Apr-04 9:41 
GeneralCatching COM Events without using ATL Pin
jerry0davis20-Apr-04 5:09
jerry0davis20-Apr-04 5:09 
GeneralRe: Catching COM Events without using ATL Pin
Mike Dimmick20-Apr-04 5:54
Mike Dimmick20-Apr-04 5:54 
GeneralError MIDL1001 : cannot open input file oaidl.idl Pin
M Ashok Kumar20-Apr-04 2:26
M Ashok Kumar20-Apr-04 2:26 
GeneralRe: Error MIDL1001 : cannot open input file oaidl.idl Pin
Steve S20-Apr-04 2:31
Steve S20-Apr-04 2:31 
GeneralRe: Error MIDL1001 : cannot open input file oaidl.idl Pin
M Ashok Kumar20-Apr-04 2:38
M Ashok Kumar20-Apr-04 2:38 
GeneralRe: Error MIDL1001 : cannot open input file oaidl.idl Pin
Anonymous20-Apr-04 4:28
Anonymous20-Apr-04 4:28 

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.