Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class implenting interfaces off of the same project
Message
From
18/03/2004 11:50:36
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00887187
Message ID:
00887560
Views:
11
Hey buddie,

>As far as I know, you have to use two separated DLLs, as an interface is based on the vtable of the target DLL. I mean you need to access the other one's Type Library.

yeah, but it's a bummer that VFP doesn't have an option to check for interfaces defined in the same project. I mean, when we build the project, it goes througout all the classes and build the TLB from there. That said, it should have a way to say "IMPLEMENTS interfaceX in this project". :-/


>Why do you need to put both on the same DLL? It is just a matter of saving the quantity of DLLs?

For one thing, yes, saving the quantity of DLLs is always a good thing when we are trying to avoid DLL-Hell. For other thing, this classes and interfaces that I have are really related and it doesn't make sense to having them in two separate projects. But I think I'll have to end up creating one project for the class and one for the interfaces. Argh. I thínk .NET has already spoiled me as far as working with interfaces goes. :)


>See you (in a couple weeks? Seattle?),

Hell yeah! :)
Claudio Lassala
Previous
Reply
Map
View

Click here to load this message in the networking platform