-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial implementation of Fakes framework. #2906
Conversation
We need a wiki page to document what the conventions are and how to extend the current functionality. |
@comintern only missing a commit on README.MD and the about dialog, to sing the praise of EasyHook :-) |
BTW the internal API looks beautiful - feels like extending this is going to be a charm! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seriously cool stuff and great work. I'm tempted to go get myself a copy of office just so I can play with this. 👍
[return: MarshalAs(UnmanagedType.IUnknown)] | ||
private static extern object rtcErrObj(); | ||
|
||
public static void RaiseVbaError(int number, string source = "", string description = "", string helpfile = "", int helpcontext = 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++ I don't know why we never thought of importing this before. I just want to point out that, more than ever, we need to stick to our guns about pre-2007 being unsupported.
ref #2863, #2891
Consider this WIP. There are a couple of features that still aren't implemented, and it's only lightly tested at this point. That said, it would be nice to get it merged in that there are quite a few changed files and the merge commit is already promising to be unpleasant. If push comes to shove, it can easily be "switched off" by making the relevant members
ComVisible(false)
.