Archived

This topic is now archived and is closed to further replies.

Freaker13

Inline assembly

Recommended Posts

Hi all, i want to use inline assembly in visual studio. When i use win api i get the message:unhandled exception : Privileged instruction this is my code:
__asm
{
     //set normal file attr

     lea   eax,outputName
     push  80h
     push  eax
     call  SetFileAttributes
}

thx in advance
   [/code] 





<SPAN CLASS=editedby>[edited by - Freaker13 on November 18, 2003 7:57:59 AM]</SPAN>

Share this post


Link to post
Share on other sites