Solved

User defined types in COM server interfaces

Posted on 2003-10-29
3
196 Views
Last Modified: 2010-04-01
Hi folks,
I want to put together a COM server which will rely heavily on user defined types.  Can I pass UDT's between clients and the server or do I have to be 'inventive' with the standard types?

Thanks.

0
Comment
Question by:brushhead
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:_ys_
ID: 9640762
What platform?
0
 

Author Comment

by:brushhead
ID: 9640775
Hi,
The platform I am developing on is Visual C++ 6 under Windows XP.
0
 
LVL 9

Accepted Solution

by:
_ys_ earned 125 total points
ID: 9640799
In that case DCOM 1.2 will be available. And this handles UDT passing for you. Note that embedded pointers require special consideration.

A complete example, with memory allocation hints is provided within my post here:
http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_20771439.html
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question