I wrote a small example application on how to access the Virtual Earth SOAP-API from a native C/C++ program.
You can find the sample and a description of all steps on MSDN Code Gallery
Here is the project:
Virtual Earth SOAP API with C/C++ via gSOAP
I have a small quiz:
Here is a small code, compiled with “/clr” (this is important).
Can you tell me, what is the exact callstack inside the method “Foo”?
(And how can you prove this)
V(const V &v)
this->i = v.i;
virtual void Foo(V v)
// TODO: What is the callstack!?
Any hints can be posted as comments.
By the way: VS208 does not show you the exact callstack, but it gives you a hint, that there is something that you do not see 😉