Does anyone use VC++'s ATL COM?
I want to write a DLL that can expose my COM components to a VB application.
Anyone?
Printable View
Does anyone use VC++'s ATL COM?
I want to write a DLL that can expose my COM components to a VB application.
Anyone?
Yes I do..Tell me how can I help u out.....
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.
I've attached my ATL COM project here.
See below...