ralph
2/5/2012 6:37:00 PM
On Sun, 05 Feb 2012 10:08:08 -0800, BeeJ <nospam@spamnot.com> wrote:
>BeeJ presented the following explanation :
>> I have some sample code for a DLL
>> It has three classes and one module.
>> It compiles fine to a .dll.
>>
>> I open it in the IDE and then open a reference it (vbp) in a new Test IDE.
>>
>> I can instantiate it fine.
>> I can see only some of the Public methods in the dll.
>> All that I can see I can access.
>>
>> Why can't I see all Public methods? Those are necessary for useage.
>> What do I need to do the get access to those Publics I cannot see?
>>
>> Object browser sees, in Test, only the same I see with intellisense but not
>> the other public methods.
>> Object browser in the dll IDE sees all the Public methods.
>
>I tried more stuff.
>
>I changed the name of the entry point from "Add" to "Addd" but still
>this does not appear. The new one "Version" I added still shows.
>
>When I type the class instance I see many of the dll class entriy point
>and the module Publics but not all. If I type cXX.Addd if do get the
>intellisense for the parameters needed. Sort of prtially works OK but
>if I cannot see the Addd when typing cXX it maks it very difficult.
>
>I have moved all the code to a different PC with VB6SP6 and the
>problems persist.
>
Whoa!
Need to explain further, as that doesn't quite make sense to me.
For an object (class) in a Dll (library), say
File: MyDll.dll
ActiveX Library: MyDll
ActiveX object: CJunk ' with Add method
In Project References you would set a reference to the Library MyDll.
In code you would do something like this..
Dim cXX As MyDll.CJunk
Set cXX = New MyDll.CJunk
' intellisense will now work for cXX
cXX.Add <stuff>
So are you saying if you do that, intellisense will not work?
-ralph