Solved

User defined types in COM server interfaces

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now