diff options
Diffstat (limited to 'Bus/Ivy/IvySynchroWnd.cxx')
-rw-r--r-- | Bus/Ivy/IvySynchroWnd.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bus/Ivy/IvySynchroWnd.cxx b/Bus/Ivy/IvySynchroWnd.cxx index d21a008..67c02d4 100644 --- a/Bus/Ivy/IvySynchroWnd.cxx +++ b/Bus/Ivy/IvySynchroWnd.cxx @@ -136,7 +136,11 @@ void IvySynchronousMessageCallback::OnMessage(IvyApplication *app, int argc, con param->argv = new char*[argc];
for( int i = 0; i < argc ; i++ )
{
+#ifdef UNDER_CE
+ param->argv[i] = _strdup( argv[i]);
+#else
param->argv[i] = strdup( argv[i]);
+#endif
}
// TRACE( "IvySynchronousMessageCallback::OnMessage msg count %d\n",wParam);
m_synchro->PostIvyCB( param );
|