It certainly doesn't crash when I do that although it doesn't run properly. The problem seems to be that the Poly icon is not available in a stand-alone executable and trying to load it results in a exception that stops the program. I've fixed this in the CVS version.
Which compiler did you use to build PolyML 5.0 on Windows?
Regards, David.
Thanks for your quick response. I used VC6 and VC7.1 to build PolyML on Windows. I can build it with VC8 also, but it seems to me, that I do something wrong: I wrote a simple rc file which included poly.ico, so certainly the LoadIcon is not a problem for me.
I have used the following commands to produce mlEdit.exe.
In PolyML:
PolyML.make "mlsource/extra/Win"; PolyML.use "mlsource/extra/Win/Examples/mlEdit"; PolyML.export ("mlEdit", mlEdit);
At the Windows prompt:
rc mlEdit.rc cl /FemlEdit.exe mlEdit.obj mlEdit.res
PolyMainLib.lib PolyLib.lib libcmt.lib /link /subsystem:windows
What I am doing wrong ?
Thanks, Andr?s P?hi