#41 Fix for SafeArray(String) constructor

#111 m_pDispatch is not 0 if not attached
Should really be mixing two fixes in the same commit but that's the way it goes
This commit is contained in:
clay_shooter
2013-07-24 01:00:21 +00:00
parent 29fdc76236
commit 62c74f2d69
5 changed files with 53 additions and 12 deletions

View File

@@ -251,7 +251,7 @@ JNIEXPORT void JNICALL Java_com_jacob_com_Dispatch_release
IDispatch *disp = (IDispatch *)num;
if (disp) {
disp->Release();
env->SetIntField(_this, jf, 0ll);
env->SetLongField(_this, jf, 0ll);
}
}