AppRot in ArcGis 10 is Nothing, VB

Discussion created by nicholastrisoft on Mar 14, 2011
Latest reply on Mar 16, 2011 by nicholastrisoft
I have a dll in VB, where do I get access to AppRot (ArcGis 10):

Dim pAppRoot As AppROT
Set pAppRoot = New AppROT

Now when I call the DLL from VBA, it works great.
If I call the DLL from a separate application for C + +, then pAppRot is Nothing. In Previous versions Of ArcGis everything is working fine. How can I fix it?