• Advertisement

Archived

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

Inline assembly

This topic is 5214 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement

  • Advertisement