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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IUknown type 1

Status
Not open for further replies.

NFI

Programmer
Jun 7, 2000
278
GB
Hiya,

can anyone help me with this one? I've used the class builder to make a collection and in the collection class itself, the Property Get NewEnum function is defined as being of type IUnknown (which, I think, is a COM interface thing or something of that ilk). I've done this a dozen times before and never had a problem with it, but today I get the error (at compile time);

User Defined Type not defined

Why has that happened? I've never had to define IUnknown before, I thought it was a system type of some sort. Does anyone know how I can solve this? Is there some sort of project reference I have to make or something like that?

Any help at all will be much appreciated,


Paul
(I am Jack's total frustration at VB)
 
Hiya,

Well, to paraphrase my Australian friend, Bonza Ripper, mate!

That just totally fixed my problem, thanks very much indeed. Have a purple star of usefulness :)


Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top