
Accessing a collection from a VB com server in a VC/ATL Client
I believe you need to import MSVBVM60.DLL as well. Mine looks like
this:
#import "MSVBVM60.DLL" raw_interfaces_only, raw_native_types,
no_namespace, named_guids, rename ( "EOF", "vbEOF" ), rename
( "RGB", "vbRGB" )
____________________
Quote:
> I'm trying to use a VB dll server in a VC client. I've added the
#import
> blah.dll line in my client to get the type library.
> I get the following complilation error <'_CollectionPtr' : missing
> storage-class or type specifiers> resulting from a VB class method
returning
> a collection.
Sent via Deja.com http://www.deja.com/
Before you buy.