Accessing a collection from a VB com server in a VC/ATL Client 
Author Message
 Accessing a collection from a VB com server in a VC/ATL Client

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.

I cant find any help in MSDN or any of the COM/ATL books I have that
suggests what I might need to include to get the typedef.

Any suggestions anyone ?



Tue, 23 Apr 2002 03:00:00 GMT  
 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.


Wed, 01 May 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. problems passing ADO Recordset from VB-COM client to VC-COM-Server dll

2. Passing a structure between a VB client and an ATL com server

3. Problems using a ATL COM EXE Server with VB Client

4. Problem with VB clients accessing SAFEARRAY passed from my ATL server

5. MFC client access a VB COM Server with SAFEARRAY argument

6. MFC client access a VB COM Server with SAFEARRAY argument

7. VC ATL DLL crashin with VB COM client

8. Accessing ATL com property from VB client

9. VB COM MIGRATION TO ATL VC COM

10. Is there a way to debug Vb client/ATL Server where use debuggers BOTH sides

11. ATL client for VB server

12. How To pass Varriant Array from VB Client to ATL server

 

 
Powered by phpBB® Forum Software