Skip to content

Commit cd62988

Browse files
committed
Fix comments per review.
1 parent 3280404 commit cd62988

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Rubberduck.VBEEditor/VBERuntime/Vb6NativeApi.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ namespace Rubberduck.VBEditor.VBERuntime
66
{
77
internal class Vb6NativeApi : IVbeNativeApi
88
{
9+
// This is the correct dll - why MS named this vba6 instead of vb6 is beyond me.
10+
// vbe6.dll already taken? Oh, I know, lets confuse the f*ck out of everyone and use vba6.
911
private const string _dllName = "vba6.dll";
1012

1113
public string DllName => _dllName;

Rubberduck.VBEEditor/VbeRuntime/VbeNativeApiAccessor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ private static IVbeNativeApi DetermineVersion()
6060
// ignored
6161
}
6262
}
63-
// we shouldn't be here.... Rubberduck is a VBA add-in, so how the heck could it have loaded without a VBE dll?!?
64-
throw new InvalidOperationException("Cannot execute DoEvents; the VBE dll could not be located.");
63+
// we shouldn't be here.... Rubberduck is a VBE add-in, so how the heck could it have loaded without a runtime dll?!?
64+
throw new InvalidOperationException("Cannot execute library function; the VBE dll could not be located.");
6565
}
6666

6767
public string DllName => _runtime.DllName;

0 commit comments

Comments
 (0)