I have an application written in VC++ using MFC that calls into web service
written in C#. I am developing in VS2005.
I am debugging my C++ app while I have attached my Webservice project to the
debugger through a seperate VS2005 process. I make a call to the webservice
to update some records in SQL Server. I have a breakpoint in the webservice
method prior to the actual daabase update call. When I run this, the code
breaks on the webservice code. It then get a separate break in my other
VS2005 running teh C++ app that the method has returned with an HRESULT of
E_FAIL, even though I am still at a breakpoint on teh webservice method. I
checked the database and the update has not yet occured (which I expected).
I then continue to run on the webservice and the database is properly updated.
I didn't purposely setup the client app to make webservice cals
asynchronously but it would explain alot of the bizarre, inconsistent
behavior I get.
I did a search on both projects for the string "asyn" and didn't find
anything. Do you have to explicitly set your calls to be synchronous with
asynchronous being th edefault or is there something else going on that I am
missing?
Any help would bee greatly appreciated.
Regards,
Rob C