PDA

Click to See Complete Forum and Search --> : Atl Com


jovton
Feb 1st, 2001, 02:16 AM
Does anyone use VC++'s ATL COM?
I want to write a DLL that can expose my COM components to a VB application.

Anyone?

sachink
Feb 1st, 2001, 03:47 AM
Yes I do..Tell me how can I help u out.....

jovton
Feb 1st, 2001, 02:32 PM
I want to write a COM component. (DLL file) It must contain a class named: Search. I want to expose this COM components class to a VB application.

The class contains two functions:
FindFirst
FindNext
And a property: "FileName"

I use the system calls: _findfirst and _findnext to find files.

Visual Basic gives me an error stating that the properties and functions are restricted, or may use an automation type not supported in VB.

It is a little difficult to state the whole problem here.

I'd appreciate it if you could help me, if I send you my ATL COM project and VB project. Don't worry, they are not big.

jovton
Feb 3rd, 2001, 11:43 AM
I've attached my ATL COM project here.
See below...