Click here to Skip to main content
16,007,687 members
Home / Discussions / COM
   

COM

 
GeneralRe: CString and COM Pin
monrobot1326-May-04 4:36
monrobot1326-May-04 4:36 
GeneralRe: CString and COM Pin
Andrew Quinn AUS26-May-04 5:51
Andrew Quinn AUS26-May-04 5:51 
GeneralRe: CString and COM Pin
monrobot1326-May-04 6:14
monrobot1326-May-04 6:14 
GeneralRe: CString and COM Pin
f6427-May-04 8:08
f6427-May-04 8:08 
QuestionDownload my .ocx that depends on 2 other dll’s ? Pin
anderslundsgard25-May-04 1:48
anderslundsgard25-May-04 1:48 
GeneralNeed help with COM+ application Pin
ori74925-May-04 0:58
ori74925-May-04 0:58 
GeneralHELP!!! How to use GoToDate in C++ for Outlook View Control Pin
Kingwulf24-May-04 12:18
Kingwulf24-May-04 12:18 
Generalhelp! for ATL COM server methods Pin
reddys24-May-04 0:02
reddys24-May-04 0:02 
Hai to all,

here i am developing one COM server it has one method, and three parameter. i want to exachange the data. please can you check the this program. it has no errors but it is not working.
i think method impementation is not correct?

TestCOMServer.idl:
[id(1), helpstring("method GetFunctionState")] HRESULT GetFunctionState([in, out] short* pflEnd, [in, out] BSTR* pstrStrParam1, [in, out] BSTR* pstrStrParam2);


Here,i insert the one ATL Control(full control)

TestCOM.cpp
STDMETHODIMP CTestCOM::GetFunctionState(short* pflEnd, BSTR* pstrStrParam1, BSTR* pstrStrParam2)
{
HRESULT hResult = S_OK;
*pflEnd = bFinished;
*pstrStrParam1 = strStrVariable1;
*pstrStrParam2 = strStrVariable2;

if (*pflEnd = 1)
bFinished = 0;

...........................
..............
//here please fill with stuff

return hResult;
}

thanks to all
sudheer


GeneralNo move or size notification Pin
mrw22-May-04 18:06
mrw22-May-04 18:06 
GeneralConnectable objects and threads Pin
Janagn21-May-04 0:13
Janagn21-May-04 0:13 
GeneralRe: Connectable objects and threads Pin
Roger Stoltz22-May-04 7:37
Roger Stoltz22-May-04 7:37 
GeneralRe: Connectable objects and threads Pin
Janagn25-May-04 3:26
Janagn25-May-04 3:26 
GeneralRe: Connectable objects and threads Pin
Roger Stoltz25-May-04 6:39
Roger Stoltz25-May-04 6:39 
GeneralMore info.. Pin
Janagn26-May-04 5:07
Janagn26-May-04 5:07 
QuestionHow to send union structures thru rpc in DCOm Pin
Benny M Kurian20-May-04 2:36
Benny M Kurian20-May-04 2:36 
Generalamazon upload need help.... Pin
Sumit Kapoor19-May-04 19:56
Sumit Kapoor19-May-04 19:56 
GeneralUsing a flash ActiveX control in Win32 Pin
Pablo Hernandez Valdes18-May-04 16:58
Pablo Hernandez Valdes18-May-04 16:58 
GeneralRe: Using a flash ActiveX control in Win32 Pin
Andrew Quinn AUS19-May-04 0:54
Andrew Quinn AUS19-May-04 0:54 
GeneralRegistering a COM server dll Pin
Robertcoder18-May-04 7:50
Robertcoder18-May-04 7:50 
GeneralRe: Registering a COM server dll Pin
Giles18-May-04 8:15
Giles18-May-04 8:15 
GeneralRe: Registering a COM server dll Pin
Robertcoder18-May-04 8:23
Robertcoder18-May-04 8:23 
GeneralRe: Registering a COM server dll Pin
Bob Wood19-May-04 1:13
Bob Wood19-May-04 1:13 
GeneralRe: Registering a COM server dll Pin
Robertcoder19-May-04 4:15
Robertcoder19-May-04 4:15 
Generalcall a managed COM object from an unmanaged c++ Pin
SamDav18-May-04 0:14
sussSamDav18-May-04 0:14 
Generali cannot register activeX control on registry. Pin
ekklesia14-May-04 20:01
ekklesia14-May-04 20:01 

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.