You know... after having some issues with your program here... as well as an issue that you want to take 1/8th of everyone's work... I decided to pull this apart.
"This program cannot be run in DOS mode"
Really? A DOS program that can't be run in DOS? Silly me...
"Smolen.Royalty: 1/8....main loop...Exit!"
Explain this one... ^ ^
I can understand the royalty, because you were up-front about it...
But I've ran this program on my quarkcoinQT server for 24 hours, and didn't get a single quark out of it on my 7870 pitcairn. On top of that... to be quite honest... it's more profitable to mine with a good i7 or xeon cpu than it is with any gpu due to power usage.