Click here to Skip to main content
15,615,016 members
Home / Discussions / COM
   

COM

 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 18:22
Stephen Hewitt18-May-10 18:22 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 18:46
K ARUN KUMAR18-May-10 18:46 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 18:53
Stephen Hewitt18-May-10 18:53 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 19:02
K ARUN KUMAR18-May-10 19:02 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 19:17
Stephen Hewitt18-May-10 19:17 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 20:03
K ARUN KUMAR18-May-10 20:03 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 20:19
Stephen Hewitt18-May-10 20:19 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 20:29
K ARUN KUMAR18-May-10 20:29 
ENTIRE IDL File:



import "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\prsht.idl";
import "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\mshtml.idl";
import "c:\program files\microsoft visual studio .net 2003\vc7\platformsdk\include\dimm.idl";
import "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\mshtmhst.idl";
import "c:\program files\microsoft visual studio .net 2003\vc7\platformsdk\include\docobj.idl";
import "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\exdisp.idl";
import "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\objsafe.idl";

[
	object,
	uuid(A12EAEC2-2B64-470B-93AF-EFE0855DD3AC),
	dual,
	helpstring("IDataProvider Interface"),
	pointer_default(unique)
]

#line 14 "d:\\vc++\\sample applications\\bytcomp\\dataprovider.h"
interface IDataProvider : IDispatch {
#line 16 "d:\\vc++\\sample applications\\bytcomp\\dataprovider.h"
	[id(1),helpstring("method GetSafeArray")] HRESULT  GetSafeArray([out,retval] VARIANT *vtSafeArray);
	[id(2),helpstring("method SetByteData")] HRESULT  SetByteData([in] BYTE *bytArray);
	[id(3),helpstring("method SetArray")] HRESULT  SetArray([in]BSTR bstrArray);
	[id(4),helpstring("method SetThings")] HRESULT  SetThings([in]BYTE **ppThings );
	[id(5),helpstring("method SetData")] HRESULT  SetData([in] ULONG size, [in,size_is(size)] BYTE *pData);
};


[ version(1.0), uuid(0381FBF3-32C1-4AF1-B6DD-EFB51815DD72), helpstring("BytComp 1.0 Type Library") ] library BytComp
{
	importlib("stdole2.tlb");
	importlib("olepro32.dll");

	[
		version(1.0),
		uuid(8816EAAA-91D5-4DCF-BA1A-DD699529D099),
		helpstring("DataProvider Class")
	] 
#line 36 "d:\\vc++\\sample applications\\bytcomp\\dataprovider.h"
	coclass CDataProvider {
		interface IDataProvider;
	};

}

GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 20:37
Stephen Hewitt18-May-10 20:37 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 21:01
K ARUN KUMAR18-May-10 21:01 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 21:16
Stephen Hewitt18-May-10 21:16 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 21:30
K ARUN KUMAR18-May-10 21:30 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 21:40
Stephen Hewitt18-May-10 21:40 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 22:51
K ARUN KUMAR18-May-10 22:51 
QuestionProblem with ActiveX control Pin
NarVish17-May-10 1:44
NarVish17-May-10 1:44 
AnswerRe: Problem with ActiveX control Pin
Cool_Dev18-May-10 1:59
Cool_Dev18-May-10 1:59 
GeneralRe: Problem with ActiveX control Pin
NarVish21-May-10 0:05
NarVish21-May-10 0:05 
QuestionCan we call dynamically COM exposed methods inhertied from IUnknow? Pin
glitteringsound14-May-10 2:07
glitteringsound14-May-10 2:07 
QuestionWhy Exception occured getting address of COM function ? [modified] Pin
glitteringsound12-May-10 21:21
glitteringsound12-May-10 21:21 
Questionlanguage localization using XML in VC++ Pin
punyah20108-May-10 9:03
punyah20108-May-10 9:03 
AnswerRe: language localization using XML in VC++ Pin
Cool_Dev18-May-10 2:04
Cool_Dev18-May-10 2:04 
QuestionHow to read Tyupe Libraries(TLBs) in C#? Pin
glitteringsound5-May-10 20:08
glitteringsound5-May-10 20:08 
AnswerRe: How to read Tyupe Libraries(TLBs) in C#? Pin
«_Superman_»6-May-10 15:51
professional«_Superman_»6-May-10 15:51 
QuestionCoCreateInstance HResult is failing, getting error -2147221164 stating that Class is not registered. Pin
pallaka3-May-10 3:24
pallaka3-May-10 3:24 
AnswerRe: CoCreateInstance HResult is failing, getting error -2147221164 stating that Class is not registered. Pin
«_Superman_»3-May-10 11:22
professional«_Superman_»3-May-10 11:22 

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.