Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

0x800706f4 A null reference pointer was passed to the stub

1,271 views
Skip to first unread message

Drew

unread,
Aug 17, 2009, 3:15:39 PM8/17/09
to
I have an Excel (VBA) script that runs perfectly on a development machine
but when my out-of proc server is placed on a machine with no development
environment it gives me error 0x800706f4 "A null reference pointer was
passed to the stub". When I attach a debug version using remote debugger my
code is not even hit. Any ideas what the problem might be?

Thanks,
Drew


Igor Tandetnik

unread,
Aug 17, 2009, 3:25:25 PM8/17/09
to

Do you at least know which method is being called when the failure
occurs? Can you show an IDL definition of this method?

Are you using TLB-driven marshaling, or are you building proxy/stub DLL?
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


Drew

unread,
Aug 17, 2009, 6:14:28 PM8/17/09
to
Sorry for wasting your time. It turns out that when we stopped supporting a
certain method instead of changing the implementation to return E_NOTIMPL, I
commented out the method in the ODL file and every method that followed that
commented out method failed in one way or another. Guess that's a good
example why not to change interface definitions.

Thanks,
Drew

"Igor Tandetnik" <itand...@mvps.org> wrote in message
news:%23D0d5B3...@TK2MSFTNGP02.phx.gbl...


> Drew <d...@dam.com> wrote:
>> I have an Excel (VBA) script that runs perfectly on a development
>> machine but when my out-of proc server is placed on a machine with no
>> development environment it gives me error 0x800706f4 "A null
>> reference pointer was passed to the stub". When I attach a debug
>> version using remote debugger my code is not even hit. Any ideas what
>> the problem might be?
>
> Do you at least know which method is being called when the failure occurs?
> Can you show an IDL definition of this method?

> --

0 new messages