recordset is an IDispatch* to a _RecordsetPtr and recordcount is a long for
the ADO cache size.
This works fine in-process when the server is an ATl component on my local
machine. When I move the function to an MTS componenet, it times out. Here
is the error code:
"The remote procedure call failed - Unexpected error 0x800706be - RDS 1.5"
I have other functions that do not take IDispatch* [in] parameters - they
work fine. What am I doing wrong? Is it the \x0009 ?
Thank you in advance for any help,
Everett Barnes
ever...@prodigy.net
_com_dispatch_method requires that the 5th argument be a pointer to a pointer
to a IDispatch. Noticed that you had a pointer to a pointer to a pointer to
IDispatch (as &result) since that was passed as IDispatch** to your method.
matt
In article <OXXRof2...@uppssnewspub05.moswest.msn.net>,
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
I seem to remember reading something about passing interface/object references
in MTS as not a simple thing. Something about you must use SafeRef() to let
MTS know something about what you're doing.
Not sure if its relevent, but you might check.
If I'm way off base here, sorry for butting in.
Mike
In article <6lk05b$bhb$1...@nnrp1.dejanews.com>,