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!

IDispatch recognition - really need help

Status
Not open for further replies.

johnstv4

Programmer
Aug 20, 2002
7
0
0
GB
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 Account ones or the SavingsAccount ones? Is there any way I could check the IDispatch values to see which type of the COM objects (Account or SavingsAccount) they belong to? Please help me.


Thanks

John
 
Can you not use two vectors?
Or name the files differently?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top