prototype with undefined argument list!! EEK!
no idea what would be crashing in that code though.
if in doubt, printf/OutputDebugStringA are your friends, when it crashes only with non-debug builds anyway.
make sure you're not editing the string somehow? :s