Hi shelarcy,

Thanks a lot for your help! I can now run the samples with VC++ 2008. I think I used the version 2005 previously.

Regards,
Li

On Sun, Mar 8, 2009 at 3:35 PM, shelarcy <shelarcy@gmail.com> wrote:
Hi Li,

2009/3/8 Li Qiao <wdxzxy@gmail.com>:
> I am a beginning on wxhaskell. I have installed the wxHaskell-0.11.0 package
> using the binary file. However, I cannot run the samples on Windows XP and
> the error shows as "the application failed to initialize
> properly(0xc0150002). Click OK to terminate the application".
>
> I have tried to reinstall my Microsoft Visual C++ as suggested in other
> sources to solve the 0xc0150002 problem but it doesn't work.
>
> I would greatly appreciated if anyone can help me with this.

What version of Microsoft Visual C++ do you use? I use Visual Studio 2008
for building Windows binary. If you use earlier version, Visual C++ (and
Studio) installs earlier version's runtime. This is different from our required
version.

http://haskell.org/haskellwiki/WxHaskell/Windows
http://haskell.org/haskellwiki/WxHaskell/Troubleshooting#Runtime_issues

And you must also check your Windows XP version. It seems that current
Windows binary doesn't work with 64 bit Windows. So, you can't use Windows
binary, if you use  64 bit version of Windows. We want to fix this problem.

http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00573.html


Best Regards,

--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/