Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have downloaded the source code from the following link but it gives SHE exception on execution.What should i do now
Reading from Parallel Port using Inpout32.dll[^]
Posted
Updated 1-Oct-12 3:09am
v2

Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
 
Share this answer
 
SEHException[^]s stem from unmanaged code that was called from your code. It's hard to tell what exactly caused that. First step would be to investigate the SEHException.ErrorCode property. That would be a HRESULT that can be investigated further.

2nd approach: Debug your code. What line of code throws the exception?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900