Hi everyone,
I'm having problems. I currently have an STL vector that stores the IDispatch values of an Account COM object and a SavingsAccount COM object. When I loop through the vector and retrieve the IDispatch values I need to know which IDispatch values I'm retrieving. Am I retrieving the...
Thanks domenico,
Your advise was very valuable. i'm having some other trouble now regarding sequences. I'm removing elements from sequences using the following server code:
void Customer_impl::remove_account(Account_ptr ptrAccount)
{
CORBA::ULong index = 0;
// First we need to find out at...
Hi Everyone,
I'm having some major problems using SAFEARRAYS. I have an MFC client which communicates with DLL server within the context of a bank system. One of the functions it has is that when a customer's name is selected from a listbox the client communicates with the server to see which...
Hi Everyone,
I'm writing a Dll which stores a list of pointers to COM objects which I create. I then use this vector to locate a desired object which I may need to work on later. I define the vector as follows:
std::vector <LPDISPATCH> m_pObject;
Have a defined the above correctly? Should I...
Hi everyone,
I'm trying to compile this code but VC++ gives an error saying:
e:\download\dcom-implement\branch.h(42) : error C2065: 'CBranchAccountList' : undeclared identifier
Here is branch.h:
// Branch.h : Declaration of the CBranch
#ifndef __BRANCH_H_
#define __BRANCH_H_
#include...
Hi everyone,
I currently have an object that has a sequence of
pointers to another object. Using methods I created I
can insert the pointers into the sequence which is
basically easy. When I call the function of the object
that returns the sequence (so that I can iterate
through it and display...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.