Click to See Complete Forum and Search --> : MFC COM VB Colection


AdoKa
May 11th, 1999, 04:46 AM
I want to write a OLE server that handle the VB collection passing by a method. but I dont know how to get a handle into my OLE Server. What must I use for the parameter type ( long, OLE_HANDLE, ...) and what is the cast into mfc.
After I getting the collection I want to add VB user object an handle it.
Is ther a solution for this question!

mihai
May 11th, 1999, 09:47 AM
You have to handle the ICollection interface.
Sincerely, Mihai

AdoKa
May 12th, 1999, 02:15 AM
Where can I find a descriotion aobout ICollection?

AdoKa
May 12th, 1999, 05:46 AM
where I can find info about ICollection?

David L Hill
May 12th, 1999, 10:16 AM
I have not worked with VB collections, but I have found the book Beginning ATL COM Programming by Dr. Richard Grimes (and others) to be excellent. It does have a section on collections (Chapter 7) You can find more information at www.wrox.com or www.wrox.co.uk. They also have sample code on this site.