Hello Giovanni,
I recently found some code examples on CodeGuru site related to your problem. The article (including source code in VC++) is named "Microsecond delay" and can be viewed by following the hyperlink below:
http://www.codeguru.com/misc/microsecond_delay.shtml
Best regards,
Silvius
Silvius Iancu