Thanks. I will do some further reading on that API. I wanted also to know if the main() version loses some functionality at the gc level, comparatively with the WinMain() Walter-provided boilerplate, but I hope the question is not critical. Thanks again. AF