Re: 8800GTX + Direct3D8 + Visual C++ + XP = Random Performance Increase
Send a driver bug form to nVidia. Send the source code along with it. Its your best bet, check to see if it performs the same as other cards (preferably different series, ex 6,7,8, along with ATI cards).
The problem is impossible to diagnose without the program.