Solved

Visual Studio 6, Profiling an Out of Process COM Server

Posted on 2006-07-05
4
278 Views
Last Modified: 2010-04-01
I want to use the Visual Studio profiler tool to work on the performance of an out of process (EXE) COM server.  I've followed the steps in help, but never get any profile activity when the other applications use methods on the COM object.  Anyone have any success doing this?  I get some profiler output, but I think it is just startup stuff.

Thanks

Ray
0
Comment
Question by:rmichels
4 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 17045982
You should try to start the server from VisualStudio in Profile Mode and then have the clients connect to it.
0
 
LVL 3

Author Comment

by:rmichels
ID: 17050291
I've tried many things to get this to work..  I think this issue is that the profiling can't handle a call coming in from another process.  It is only profiling the initialization of the COM server object.  For now I have modified the COM server to simply run the code I want to profile on it's startup/init processing.

0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 17258162
PAQed with points refunded (250)

CetusMOD
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

929 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

9 Experts available now in Live!

Get 1:1 Help Now