summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvySynchroWnd.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:18 +0000
committerfcolin2007-02-01 13:03:18 +0000
commit54c2fc8a4d12521e3e041bed70af1f5bdd7fe9ca (patch)
treef431296bc376d39edfebdb6b668f1b4c85721320 /Bus/Ivy/IvySynchroWnd.cxx
parentcef5c75f3cbccf10432df3d5ae76fe9423e6a074 (diff)
downloadivy-cplusplus-54c2fc8a4d12521e3e041bed70af1f5bdd7fe9ca.zip
ivy-cplusplus-54c2fc8a4d12521e3e041bed70af1f5bdd7fe9ca.tar.gz
ivy-cplusplus-54c2fc8a4d12521e3e041bed70af1f5bdd7fe9ca.tar.bz2
ivy-cplusplus-54c2fc8a4d12521e3e041bed70af1f5bdd7fe9ca.tar.xz
Utilisateur : Fcolin Date : 4/02/03 Heure : 8:59 Archivé dans $/Bus/Ivy Commentaire: (vss 10)
Diffstat (limited to 'Bus/Ivy/IvySynchroWnd.cxx')
-rw-r--r--Bus/Ivy/IvySynchroWnd.cxx4
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 );