Re: Objects only showing under library in VB - First attempt at ATL VC 7.0

Tech-Archive recommends: Fix windows errors by optimizing your registry



Bruce E. Stemplewski wrote:
I have written ActiveX controls with VC6 with little problem. In my VC6 controls, the objects for my OCX show up in the Auto Complete list when type Dim G etc.

I am using the wizard to create the objects.

In VC7 the objects do not show. The library entry does show and there are objects under that. But the objects start with C as in CGps. This is the class name within the project not the short name of the object that I gave in the wizard.

What could I be doing wrong?


P.S. I am getting the error: Project : error PRJ0019: A tool returned an error code from "Performing registration"


But regsvr32 seems to work OK.





I think I figured this out. With Attributes, I need to name the class the way I want it to appear in VB. Is that correct?





-- Bruce E. Stemplewski GarXface OCX and C++ Class Library for the Garmin GPS www.stempsoft.com .



Relevant Pages

  • Re: View goes to declaration
    ... Bruce E. Stemplewski wrote: ... > I have read most of the post relating to this problem but they seem to ... in fact it even has a problem if the namespace block is defined anywhere. ...
    (microsoft.public.vstudio.general)
  • Re: Class View goes to declaration
    ... Bruce E. Stemplewski wrote: ... > I have read most of the post relating to this problem but they seem to ... in fact it even has a problem if the namespace block is defined anywhere. ...
    (microsoft.public.vsnet.ide)
  • Re: Garmin II+ and 12xl protocol?
    ... Bruce E. Stemplewski wrote: ... to declare #pragma packbefore the data structures, ... embeded VBA program in MS Access and convert to a stand alone C or C++ ...
    (sci.geo.satellite-nav)
  • Re: burn up
    ... Bruce E. Stemplewski wrote: ... is it just the high velocity? ... cause combustion. ...
    (sci.geo.satellite-nav)