Click here to Skip to main content
15,897,704 members
Home / Discussions / COM
   

COM

 
GeneralCommunication between 2 ActiveX Ctrls in a browser( HTML page) Pin
sanskypotov7-Nov-02 19:53
sanskypotov7-Nov-02 19:53 
GeneralIDL syntax for SAFEARRAY parameters Pin
nebbish6-Nov-02 10:14
nebbish6-Nov-02 10:14 
GeneralRe: IDL syntax for SAFEARRAY parameters Pin
Steve S7-Nov-02 21:31
Steve S7-Nov-02 21:31 
GeneralApps hangs in memory.. Pin
LukeV6-Nov-02 4:07
LukeV6-Nov-02 4:07 
QuestionWhen a WebBrowser2 control navigate a Web Page,how to drop selected range's html source to a EditBox control? Pin
ChengMing Liu6-Nov-02 1:59
ChengMing Liu6-Nov-02 1:59 
GeneralDLL COM Problems Pin
simwiz6-Nov-02 0:40
simwiz6-Nov-02 0:40 
GeneralRe: DLL COM Problems Pin
Stephane Rodriguez.6-Nov-02 1:01
Stephane Rodriguez.6-Nov-02 1:01 
GeneralRe: DLL COM Problems Pin
simwiz6-Nov-02 3:32
simwiz6-Nov-02 3:32 
Ok, here it goes Wink | ;)

The next code is the declaration of the interface:

CODE
_____________________________________________________________________________

static const GUID IID_ISomething =
{ 0x5a9fc16e, 0x69b0, 0x4092,{0x9b, 0x17, 0x0e, 0xae, 0x91, 0x9c, 0x61, 0x2d}};

DECLARE_INTERFACE_(ISomething, IUnknown)
{
STDMETHOD (func1) (THIS_
unsigned char* Data, int width, int height
) PURE;
STDMETHOD (func2) (THIS_
int* MyFeature
) PURE;
STDMETHOD (func3) (THIS_
int Feature1, int Feature2, float *Distance
) PURE;
};


_____________________________________________________________________________


And the class is declared as follows:

CODE
_____________________________________________________________________________

static const GUID CLSID_Something =
{0x5b4f902f, 0x0d14, 0x44df, {0x99, 0x51, 0x1a, 0x18, 0x70, 0x4f, 0x3c, 0x21}};

class CSomething : public ISomething
{
public:

//IUnknown interface
HRESULT __stdcall QueryInterface(REFIID riid , void **ppObj);
ULONG __stdcall AddRef();
ULONG __stdcall Release();


//ISomething interface
STDMETHODIMP func1( unsigned char* Data, int width, int height);
STDMETHODIMP func2( int *MyFeature);
STDMETHODIMP func3( int Feature1, int Feature2, float *Distance);

};
GeneralRe: DLL COM Problems Pin
Stephane Rodriguez.6-Nov-02 3:46
Stephane Rodriguez.6-Nov-02 3:46 
GeneralRe: DLL COM Problems Pin
simwiz6-Nov-02 5:40
simwiz6-Nov-02 5:40 
QuestionIStream Interface, How to Update data ? Pin
sajal5-Nov-02 3:21
sajal5-Nov-02 3:21 
QuestionHow Can I Export a CMDIChildFrame from a COM? Pin
IMiracle4-Nov-02 0:48
IMiracle4-Nov-02 0:48 
Question??? documentation or SDK for MS-Word 97 and 2000 DOC-file format ??? Pin
maksym_from_odessa3-Nov-02 6:04
maksym_from_odessa3-Nov-02 6:04 
GeneralCOM Local Security Pin
thowra31-Oct-02 4:29
thowra31-Oct-02 4:29 
GeneralRe: COM Local Security Pin
Stephane Rodriguez.31-Oct-02 5:44
Stephane Rodriguez.31-Oct-02 5:44 
GeneralHELPPPP Pin
Renjith Ramachandran29-Oct-02 16:33
Renjith Ramachandran29-Oct-02 16:33 
GeneralRe: HELPPPP Pin
Christian Graus29-Oct-02 16:47
protectorChristian Graus29-Oct-02 16:47 
GeneralRe: HELPPPP Pin
Stephane Rodriguez.31-Oct-02 5:38
Stephane Rodriguez.31-Oct-02 5:38 
GeneralRe: HELPPPP Pin
Christian Graus31-Oct-02 9:43
protectorChristian Graus31-Oct-02 9:43 
GeneralRe: HELPPPP Pin
Renjith Ramachandran1-Nov-02 6:45
Renjith Ramachandran1-Nov-02 6:45 
GeneralProblem using IStorage::CreateStream() Pin
Xeena28-Oct-02 2:09
Xeena28-Oct-02 2:09 
GeneralRe: Problem using IStorage::CreateStream() Pin
ian mariano29-Oct-02 2:37
ian mariano29-Oct-02 2:37 
GeneralRe: Problem using IStorage::CreateStream() Pin
sajal5-Nov-02 3:24
sajal5-Nov-02 3:24 
QuestionHow to build CCommand from IRowset* Pin
Rohit27-Oct-02 20:18
Rohit27-Oct-02 20:18 
GeneralCOM freezed Pin
Ph@ntom25-Oct-02 21:05
Ph@ntom25-Oct-02 21:05 

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.