May 31st, 2013, 04:58 AM
"Port I/O instructions and c#"
I am converting my MFC based technical project to c#. Every thing is fine except port I/O instructions.
There are no _inp / _Outp equivalent commands in c#.
I tried to use them by including C Dll file containing I/O code. I tried
_inp/_outp instructions and also _asm out dx,ax instructions.
Its giving SEHExcepion error for using privileged instructions. I read on net that , these commands cant work in user mode.
Now what is a solution for this ? I need to read data from my hardware card RAM.
pl guide ...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!