ShowMessage not showing in Delphi DLL called from C++
<p>I want to call this delphi code via a DLL from C++ </p>

<pre><code>procedure MyMessage; stdcall;
begin
  ShowMessage(DLLName + ' more text');
end;
</code></pre>

<p>Using some delphi test code I see no problem , but from C++ no message box is shown.</p>

<p>i did the following C++ coding </p>

<pre><code>//  function prototype 
typedef void(__stdcall*VoidCall)(); 

//  prototype for info function inside DLL 
extern "C" __declspec(dllimport) void __stdcall MyMessage();


MyMessage = (VoidCall)::GetProcAddress(load, "MyMessage");

MyMessage;
</code></pre>

<p>As I want to use as a next steps existing delphi forms with a wrapper DLL from C++ , I guess the solution of this problem will also enable me for the next  task ....</p>