SF3436102 convert 32 bit memory pointers to 64 bit where not already converted.
This commit is contained in:
@@ -44,7 +44,7 @@ public class DispatchEvents extends JacobObject {
|
|||||||
* pointer to an MS data struct. The COM layer knows the name of this
|
* pointer to an MS data struct. The COM layer knows the name of this
|
||||||
* variable and puts the windows memory pointer here.
|
* variable and puts the windows memory pointer here.
|
||||||
*/
|
*/
|
||||||
int m_pConnPtProxy = 0;
|
long m_pConnPtProxy = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the wrapper for the event sink. This object is the one that will be sent
|
* the wrapper for the event sink. This object is the one that will be sent
|
||||||
@@ -118,8 +118,8 @@ public class DispatchEvents extends JacobObject {
|
|||||||
* Dispatch object who's MS app will generate callbacks
|
* Dispatch object who's MS app will generate callbacks
|
||||||
* @param eventSink
|
* @param eventSink
|
||||||
* Java object that wants to receive the events
|
* Java object that wants to receive the events
|
||||||
* @param progId ,
|
* @param progId
|
||||||
* mandatory if the typelib is specified
|
* , mandatory if the typelib is specified
|
||||||
* @param typeLib
|
* @param typeLib
|
||||||
* The location of the typelib to use
|
* The location of the typelib to use
|
||||||
*/
|
*/
|
||||||
@@ -190,6 +190,7 @@ public class DispatchEvents extends JacobObject {
|
|||||||
*
|
*
|
||||||
* @see java.lang.Object#finalize()
|
* @see java.lang.Object#finalize()
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
protected void finalize() {
|
protected void finalize() {
|
||||||
safeRelease();
|
safeRelease();
|
||||||
}
|
}
|
||||||
@@ -199,6 +200,7 @@ public class DispatchEvents extends JacobObject {
|
|||||||
*
|
*
|
||||||
* @see com.jacob.com.JacobObject#safeRelease()
|
* @see com.jacob.com.JacobObject#safeRelease()
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void safeRelease() {
|
public void safeRelease() {
|
||||||
if (mInvocationProxy != null) {
|
if (mInvocationProxy != null) {
|
||||||
mInvocationProxy.setTarget(null);
|
mInvocationProxy.setTarget(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user