Archive for April, 2009

Accessing Virtual Earth SOAP-API from C/C++ via gSOAP

Monday, April 27th, 2009

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

C++/CLI quiz: What is the exact callstack?

Saturday, April 18th, 2009

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)

struct V
{
  V() {}
  V(const V &v) 
  {
    this->i = v.i;
  }
  int i;
};
 
class C
{
public:
  void CallFoo()
  {
    V v;
    Foo(v);
  }
  virtual void Foo(V v)
  {
    // TODO: What is the callstack!?
  }
};
 
int main()
{
  C c;
  c.CallFoo();
}

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 ;)

Sharepoint Designer ist now free!

Thursday, April 2nd, 2009

The Office Sharepoint Designer 2007 is now a free download!

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42