I have a small application I have written in C# using Visual Studio 2008. I am using inpout.dll as found in many places on the net. My application runs fine on 2 of my PC's but I get a "SEHException" on a third machine. All three machines are running XP Pro w/ SP3. All three have ECP parallel ports with the same addresses and DMA interrupt. All 3 machines have .NET 3.5. Can anyone give me anything I should be looking for to solve this?
Here is the excepton dump I get:
[EXCEPTION DETAILS]
System.Runtime.InteropServices.SEHException was unhandled
Message="External component has thrown an exception."
Source="Furnace Control"
ErrorCode=-2147467259
StackTrace:
at Furnace_Control.Form1.PortAccess.Output(Int32 adress, Int32 value)
at Furnace_Control.Form1..ctor() in C:\Furnace Control\Furnace Control\Form1.cs:line 128
at Furnace_Control.Program.Main() in C:\Furnace Control\Furnace Control\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
[END OF EXCEPTION DETAILS]
Thanks for ideas you might have.
I'd be happy to send code details if that would help.
Peter
Parallel Port Programming Exceptions in C#
Page 1 of 11 Replies - 2948 Views - Last Post: 07 February 2010 - 03:45 PM
Replies To: Parallel Port Programming Exceptions in C#
#2
Re: Parallel Port Programming Exceptions in C#
Posted 07 February 2010 - 03:45 PM
hello
my name is byambaa
may i ask a question .
do you now that parallel port programming that primer any image file .tga file read after this file send by parallel port by bait by bait on vusual c# can you tell me
my name is byambaa
may i ask a question .
do you now that parallel port programming that primer any image file .tga file read after this file send by parallel port by bait by bait on vusual c# can you tell me
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|