I'm getting exactly the same problem. Runs fine from the IDE (debug or otherwise) but once I create an .exe the first run always fails with a MAV. Second run (and thereafter) works fine.
And it happens on both my work desktop PC (Windows 2000) and my laptop (XP SP2), so I doubt it's drivers (as they have completely different hardware).
Edit: Done a bit more experimenting and it appears to only happen when I compile the .exe from within Protean and answer "Yes" when asked to run it. If I answer "No" and run the .exe from Explorer then it works fine. Oh well, panic over.
And it happens on both my work desktop PC (Windows 2000) and my laptop (XP SP2), so I doubt it's drivers (as they have completely different hardware).
Edit: Done a bit more experimenting and it appears to only happen when I compile the .exe from within Protean and answer "Yes" when asked to run it. If I answer "No" and run the .exe from Explorer then it works fine. Oh well, panic over.