Click here to Skip to main content
15,908,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interfacing with C Vendor DLLs Pin
Evelyne24-Sep-04 16:15
Evelyne24-Sep-04 16:15 
GeneralRe: Interfacing with C Vendor DLLs Pin
Evelyne28-Sep-04 10:32
Evelyne28-Sep-04 10:32 
Thought I would update you. I was out of commission over the weekend because of Hurricane Jeanne, no power, no work on Monday.

I have changed my code to the following (yes, I still have the absolute path in here!) and I do get to my interrupt routine now:

public delegate void Callback(short DevNum, uint dwIrqStatus);
public static Callback cbm = new Callback(eomInterrupt);

[DllImport("C:\\acs\\bin\\Release\\emace_32.dll",CallingConvention=CallingConvention.StdCall)]
public static extern short aceSetIrqConditions(short DevNum, ushort bEnable, uint dwIrqMask, Callback cbm);

public static void eomInterrupt(short DevNum, uint dwIrqStatus)
{
/* confirm that IRQ is ACE_IMR1_BC_MSG_EOM */
if((dwIrqStatus & ACS1553.ACE_IMR1_BC_MSG_EOM) != 0)
{
irqCount++;
}
}

Thanks for your help,


Evelyne S. Mitchell
QuestionC# SQL data check like in PHP??? Pin
cemlouis23-Sep-04 4:44
cemlouis23-Sep-04 4:44 
AnswerRe: C# SQL data check like in PHP??? Pin
Werdna23-Sep-04 10:32
Werdna23-Sep-04 10:32 
GeneralRe: C# SQL data check like in PHP??? Pin
cemlouis23-Sep-04 11:12
cemlouis23-Sep-04 11:12 
GeneralRe: C# SQL data check like in PHP??? Pin
Werdna23-Sep-04 11:38
Werdna23-Sep-04 11:38 
GeneralRe: C# SQL data check like in PHP??? Pin
cemlouis23-Sep-04 12:20
cemlouis23-Sep-04 12:20 
Generalreading a file Pin
cmarmr23-Sep-04 3:42
cmarmr23-Sep-04 3:42 
GeneralRe: reading a file Pin
Heath Stewart23-Sep-04 6:21
protectorHeath Stewart23-Sep-04 6:21 
GeneralRe: reading a file Pin
cmarmr23-Sep-04 8:12
cmarmr23-Sep-04 8:12 
GeneralRe: reading a file Pin
StealthyMark24-Sep-04 1:16
StealthyMark24-Sep-04 1:16 
Generalwhich events ocur Pin
karanba23-Sep-04 3:39
karanba23-Sep-04 3:39 
GeneralRe: which events ocur Pin
Heath Stewart23-Sep-04 7:52
protectorHeath Stewart23-Sep-04 7:52 
GeneralUsing Web service as business logic layer Pin
shambho23-Sep-04 2:59
shambho23-Sep-04 2:59 
GeneralRe: Using Web service as business logic layer Pin
Salil Khedkar23-Sep-04 3:48
Salil Khedkar23-Sep-04 3:48 
GeneralRe: Using Web service as business logic layer Pin
shambho23-Sep-04 4:59
shambho23-Sep-04 4:59 
GeneralRe: Using Web service as business logic layer Pin
Heath Stewart23-Sep-04 7:39
protectorHeath Stewart23-Sep-04 7:39 
GeneralFind controls without knowing the name Pin
coddyuk23-Sep-04 2:49
coddyuk23-Sep-04 2:49 
GeneralRe: Find controls without knowing the name Pin
sreejith ss nair23-Sep-04 3:20
sreejith ss nair23-Sep-04 3:20 
GeneralRe: Find controls without knowing the name Pin
shambho23-Sep-04 3:40
shambho23-Sep-04 3:40 
GeneralRe: Find controls without knowing the name Pin
coddyuk23-Sep-04 4:30
coddyuk23-Sep-04 4:30 
Generalmouse position from Non client area Pin
Ajmoda23-Sep-04 1:12
Ajmoda23-Sep-04 1:12 
GeneralRe: mouse position from Non client area [EDITED] Pin
Stefan Troschuetz23-Sep-04 1:30
Stefan Troschuetz23-Sep-04 1:30 
GeneralRe: mouse position from Non client area Pin
Ajmoda23-Sep-04 1:36
Ajmoda23-Sep-04 1:36 
GeneralRe: mouse position from Non client area Pin
Stefan Troschuetz23-Sep-04 1:44
Stefan Troschuetz23-Sep-04 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.