Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. johnstv4

    IDispatch recognition - really need help

    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...
  2. johnstv4

    Scope of a sequence - REALLY NEED HELP

    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...
  3. johnstv4

    SAFEARRAY problems

    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...
  4. johnstv4

    Creating a vector of COM object pointers

    All my objects are accessed through IDispatch. Thank you so much for your advice. John
  5. johnstv4

    Creating a vector of COM object pointers

    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...
  6. johnstv4

    What is wrong with this code?

    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...
  7. johnstv4

    Scope of a sequence - REALLY NEED HELP

    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...

Part and Inventory Search

Back
Top