Jump to content
Xtreme .Net Talk

VB.net IRQ Event handler? How to write


Recommended Posts

Guest cgchris99
Posted

I have a digital I/O card in a PC that will generate an IRQ on change of state of the Digital Input.

 

They have reference code on how to handle this in Visual C but nothing on VB or VB.net.

 

How do I write an event handler that fires on IRQ 16?

 

An example would be great.

 

Thanks

  • *Gurus*
Posted
You can't. .NET is way, way higher level than handling IRQs. You'll have to do it in Visual C++. If you used the Managed Classes you might be able to expose your C++ program as a .NET class with an event, but it's going to be an awful lot of effort.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...