There's nothing obivously wrong here. But I have a suggestion and some questions:
\- first, it may be crashing in the VixJob_Wait(), since the printf() may not be flushing -- can you tweak the code to be sure its flushing?
\- where does the debugger say the crash is?
\- what version of VMware server (and Vix) are you using?
\- I don't know anything about Dev-C++ -- is there a chance its got any incompatibilities with MS VC 2003 libraries?