[Progress Communities] [Progress OpenEdge ABL] Forum Post: Handling multi-threaded .NET events

  • Thread starter Thread starter a.j.piper
  • Start date Start date
Status
Not open for further replies.
A

a.j.piper

Guest
Hi, I'm trying to integrate to a 3rd party .NET assembly (Creditcall ChipDNA SDK - Pre-Certified - Download ChipDNA, Creditcall's Payment Gateway EMV SDK & API ) and I'm hitting the dreaded "You are trying to use a multi-threaded .NET object in a way that is not supported. The ABL cannot be called on a thread other than the main thread. (15740) " error. From what I can gather, I need to write a wrapper assembly in C#/VB.NET to raise the events to the main thread. However I'm struggling to find any example code where people have done this (I'm not too familiar with either language). Has anybody ever successfully integrated an assembly that uses multi-threaded events? Thanks Andrew

Continue reading...
 
Status
Not open for further replies.
Back
Top