Solved

User defined types in COM server interfaces

Posted on 2003-10-29
3
197 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

630 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