Skip to content

Commit fa0f42f

Browse files
authored
Merge pull request #3716 from WaynePhillipsEA/vbe-typelibs-api
Adding TypeLibsAPI. `ducky.brains++;`
2 parents 53518af + 51c2a79 commit fa0f42f

File tree

6 files changed

+3242
-0
lines changed

6 files changed

+3242
-0
lines changed

RetailCoder.VBE/Extension.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ public void OnConnection(object Application, ext_ConnectMode ConnectMode, object
6262

6363
var addin = (AddIn)AddInInst;
6464
_addin = new VBEditor.SafeComWrappers.VBA.AddIn(addin) { Object = this };
65+
66+
#if DEBUG
67+
// FOR DEBUGGING/DEVELOPMENT PURPOSES, ALLOW ACCESS TO SOME VBETypeLibsAPI FEATURES FROM VBA
68+
_addin.Object = new Rubberduck.VBEditor.ComManagement.TypeLibsAPI.VBETypeLibsAPI_Object(_ide);
69+
#endif
6570
}
6671
else if (Application is Microsoft.VB6.Interop.VBIDE.VBE vbe2)
6772
{

0 commit comments

Comments
 (0)