>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