Solved

User defined types in COM server interfaces

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ get user from AD  (VS6) 7 75
Path to  STL Map header file 1 58
What is sub-make ? 2 61
Beginner to Unreal Engine 4 5 80
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…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 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.

809 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