Can a ConnectionPoint Object have function like "HRESULT Test([in, out] Byte* pD
I want to transfer a large data buffer, maybe 10k. Someone can tell me how to realize my idea?
[94 byte] By [
samfromcn] at [2007-11-19 7:22:35]

# 1 Re: Can a ConnectionPoint Object have function like "HRESULT Test([in, out] Byte* pD
You can't really expect us to answer your question without giving us any more detail would you? What type of application are you creating? Where is the data coming from and where is it going to be sent? From your title I'm presuming you're developing a COM server. Is this correct? Please provide more details about your problem. :D
# 2 Re: Can a ConnectionPoint Object have function like "HRESULT Test([in, out] Byte* pD
yes, I am writting a com server with ATL, the object implement my interface which derive from IConnctionPoint. I want to add a mothed to transfer a large buffer, can you tell me how to realize my idea?
# 3 Re: Can a ConnectionPoint Object have function like "HRESULT Test([in, out] Byte* pD
What type of data does your buffer contain? Also, do you want to pass the data within the buffer with one call to your COM server, or do you want to break it down to smaller sizes and pass the data with successive calls to your COM server?
Can I also ask why did you decide to derive your object from IConnectionPoint?
# 4 Re: Can a ConnectionPoint Object have function like "HRESULT Test([in, out] Byte* pD
I am writting a socket object , it will recieve data from net, then transfer data to other object who really need them. I think it's not bad to use IConnectionPoint, so...