<div class="gmail_quote">2012/1/7 Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Ruben,<br>
<div class="im"><br>
> I see I missed some curly braces. I also modified spacing a tiny bit.<br>
</div>Doesn't seem so. E.g. you have:<br>
<br>
+    if ( !VirtualQuery(addr, &b, sizeof(b)) )<br>
+        exit(1);<br>
+    if( !VirtualProtect(b.BaseAddress, b.RegionSize,<br>
PAGE_EXECUTE_READWRITE, &b.Protect) )<br>
Add space after "if". Do not put spaces after "(" and before ")". Same<br>
for other places in the file.<br></blockquote><div><br></div><div>OK, I followed the rules you set forth here. But the files followed different ones, hence my confusion. I modified the rest of the file to follow these spacing guidelines (code which was wrongly formatted to begin with). </div>
<div><br></div><div>Thanks for having patience :),</div><div><br></div><div>Ruben </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</div></div></blockquote></div><br>