calling C++ "int WINAPI _tWinMain" from C#
<p>I can access a method from a C++ Dll using C# using this method in the C++:</p>

<pre><code>extern "C"
{
  __declspec(dllexport) void DisplayHelloFromDLL()
  {
    printf ("Hello from DLL !\n");
  }
}
</code></pre>

<p>this works great...but the solution I am working with uses this as the entry point:</p>

<pre><code>extern "C" int WINAPI _tWinMain(HINSTANCE hInstance,
                                HINSTANCE /*hPrevInstance*/,
                                LPTSTR lpCmdLine,
                                int /*nShowCmd*/)
</code></pre>

<p>Is there a way I can access this like I have done with the <code>__declspec</code> method?</p>

<p>Cheers</p>
