Re: keep interface private to dll?
- From: "Dushan Bilbija" <dbilbija@xxxxxxx>
- Date: Tue, 10 Jan 2006 13:41:04 -0800
that's an exe.... in a dll, it'd work different. if i have a class in a dll
instanced as public, then an app using the dll would see it. the classes in
the dll would see it also, obvviously. however, if it's private, then it'd
be hidden to the app, but still visible to all classes in the dll.
the problem lies in an interface. you can't seem to have an interface that's
private. well.. you can, but no public class can implement it.
so if i want to have a class implement an interface available to outside
apps AND one available ONLY to classes in the dll, i can't do it.
"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uMUY3YiFGHA.1028@xxxxxxxxxxxxxxxxxxxxxxx
> Maybe I'm missing something here. I have a Standard EXE with 2 Private
> classes in it here. One is an abstract class (and so doubles as an
> 'Interface'), and the other 'Implements' it. This works fine and both are
> Private
>
> Tony Proctor
>
> "Dushan Bilbija" <dbilbija@xxxxxxx> wrote in message
> news:#wZE57MFGHA.216@xxxxxxxxxxxxxxxxxxxxxxx
>> hello,
>>
>> rackin by brain, but can't find a way to do this. i'd like to implement
>> an
>> interface, which i can use to perform a handful of common functions
>> across
>> related objects.... BUT.... i want this interface to be private to the
> dll.
>>
>> any way to do this? tried, friend functions, underscores, private
>> instancing.... nothing
>>
>> any help would be greatly appreciated.
>>
>> dushan bilbija
>>
>>
>
>
.
- Follow-Ups:
- Re: keep interface private to dll?
- From: Michael C
- Re: keep interface private to dll?
- References:
- keep interface private to dll?
- From: Dushan Bilbija
- Re: keep interface private to dll?
- From: Tony Proctor
- keep interface private to dll?
- Prev by Date: Re: Another C# vs. VB question....
- Next by Date: Re: Nearest Neighbour / Ternary Search Tree
- Previous by thread: Re: keep interface private to dll?
- Next by thread: Re: keep interface private to dll?
- Index(es):
Relevant Pages
|
Loading