[fpc-pascal]win and dos exes in one file

Matt Emson memsom at interalpha.co.uk
Tue Feb 13 17:17:56 CET 2001


>Is any way how compile win prog and dos prog in one exe ? 
>(win exe have dos header and them win header) 

It *may* be possible (though I doubt it), it wouldn't be easy and I wouldn't
recomend it at all. 

You'd have to write a stub that was able to pass control to the correct version
of exe startup code.. I don't see it ever happening.

Matt




More information about the fpc-pascal mailing list