cen-xfs

How to display the values from structures in C# from C++

霸气de小男生 提交于 2020-05-11 05:22:19
问题 abc.h file typedef struct sp_BankNoteTypeList { int cim_usNumOfNoteTypes; struct sp_notetype { USHORT cim_usNoteID; CHAR cim_cCurrencyID[3]; ULONG cim_ulValues; bool cim_bConfigured; }SP_CIMNOTETYPE[12]; }SP_CIMNOTETYPELIST,*SP_LPCIMNOTETYPELIST; BNA_API int BanknoteType(SP_CIMNOTETYPELIST *sp_BankNoteType); abc.cpp (DLL File) int BanknoteType(SP_CIMNOTETYPELIST *sp_BankNoteType) { LPWFSCIMNOTETYPE fw_notetypedata; LPWFSCIMNOTETYPELIST lpNoteTypeList; //output param hResult = WFSGetInfo

How to display the values from structures in C# from C++

允我心安 提交于 2020-05-11 05:22:14
问题 abc.h file typedef struct sp_BankNoteTypeList { int cim_usNumOfNoteTypes; struct sp_notetype { USHORT cim_usNoteID; CHAR cim_cCurrencyID[3]; ULONG cim_ulValues; bool cim_bConfigured; }SP_CIMNOTETYPE[12]; }SP_CIMNOTETYPELIST,*SP_LPCIMNOTETYPELIST; BNA_API int BanknoteType(SP_CIMNOTETYPELIST *sp_BankNoteType); abc.cpp (DLL File) int BanknoteType(SP_CIMNOTETYPELIST *sp_BankNoteType) { LPWFSCIMNOTETYPE fw_notetypedata; LPWFSCIMNOTETYPELIST lpNoteTypeList; //output param hResult = WFSGetInfo

Fill struct from IntPtr received in lParam property of Window Message going across process boundaries in C#

柔情痞子 提交于 2020-01-25 10:35:08
问题 I posted this question a few days ago, and I have some follow up doubts about marshaling an IntPtr to a struct. The thing goes like this: As stated in the question I am referencing, I make calls to asynchronous methods on a native Dll. These methods communicate their completion with Windows Messages. I receive the Windows Message correctly now and, within it, an lParam property (of type IntPrt). According to the documentation I am following, this lParam points to the struct that has the

How to find Logical Name for PinPad XFS if it is not mentioned in Manual

醉酒当歌 提交于 2019-12-23 02:17:13
问题 I have started XFS implementation of SZZT Pinpad .I am facing an issue with the WFSOpen command Its giving an error “ – 14 “which is mentioned as WFS_ERR_HARDWARE_ERROR in the Manual. Please let us know if we are missing out on any parameter Value for the same . Also we are unable to find the logical Name for SZZT Pinpad in the Manual . As of now we are using the same name which is been mentioned in the Registry 回答1: I've had recently this problem. In my case, it was due to the service

How to dynamically fill the structure which is a pointer to pointer of arrays in C++ implementing xfs

最后都变了- 提交于 2019-12-18 09:07:05
问题 Structure 1: typedef struct _wfs_cdm_cu_info { USHORT usTellerID; USHORT usCount; LPWFSCDMCASHUNIT * lppList; } WFSCDMCUINFO, * LPWFSCDMCUINFO; Structure 2: typedef struct _wfs_cdm_cashunit { USHORT usNumber; USHORT usType; LPSTR lpszCashUnitName; CHAR cUnitID[5]; CHAR cCurrencyID[3]; ULONG ulValues; ULONG ulInitialCount; ULONG ulCount; ULONG ulRejectCount; ULONG ulMinimum; ULONG ulMaximum; BOOL bAppLock; USHORT usStatus; USHORT usNumPhysicalCUs; LPWFSCDMPHCU * lppPhysical; } WFSCDMCASHUNIT,

Implementing NEW service provide (SP) with CEN-XFS compliance

99封情书 提交于 2019-12-12 07:32:37
问题 We are trying to develop windows application + device driver with CEN XFS compliance.Also, NOOB to WINDOWS applications. http://en.wikipedia.org/wiki/CEN/XFS simple architectural flow: Windows Application | _____________________ | XFS APIs | (CEN/XFS SDK DLL) | | | XFS SPIs | |_____________________|---XFS Manager | | Service providers (SP) (DEVICE DRIVER) To understand the SP's functionality, we recently took one of the device vendors SP's DLL for accessing their device and we were able to

Receiving Windows Message on C# from managed Dll using p/invoke

♀尐吖头ヾ 提交于 2019-12-11 05:49:03
问题 I have to call some native C functions from C# using p/invoke. So far, I had no problems marshaling the different methods and structures to C#. Where my problem resides is in the fact that many of the methods I have to call are asynchronous, and return their final results to my WinForms application through Windows Messages. For instance, I have a call to a method that has the following signature in C: HRESULT AsyncOpenSession( LPSTR lpszLogicalName, HANDLE hApp, LPSTR lpszAppID, DWORD

required info about j/xfs [closed]

萝らか妹 提交于 2019-12-10 12:33:00
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . What exactly is j/xfs in simple terms? 回答1: http://en.wikipedia.org/wiki/CEN/XFS J/XFS - a Java implementation of the CEN XFS API CEN/XFS or XFS provides a client-server architecture for financial applications on

How to find Logical Name for PinPad XFS if it is not mentioned in Manual

…衆ロ難τιáo~ 提交于 2019-12-06 15:37:12
I have started XFS implementation of SZZT Pinpad .I am facing an issue with the WFSOpen command Its giving an error “ – 14 “which is mentioned as WFS_ERR_HARDWARE_ERROR in the Manual. Please let us know if we are missing out on any parameter Value for the same . Also we are unable to find the logical Name for SZZT Pinpad in the Manual . As of now we are using the same name which is been mentioned in the Registry I've had recently this problem. In my case, it was due to the service provider not being found (more exactly, the SP implementation DLL). The reason behind, in my case, was that I was

where can i find XFS API reference and samples?

拟墨画扇 提交于 2019-12-05 04:52:40
问题 I wanna work with CEN/XFS (Extensions for Financial Services), possibly in C#.NET. could anyone tell me how and where can i find XFS last release API reference and samples? and does .NET framework have classes & tools for XFS? Thanks. 回答1: I found the documentation and API reference: http://www.cen.eu/work/areas/ICT/eBusiness/Pages/CWA15748.aspx 来源: https://stackoverflow.com/questions/4324104/where-can-i-find-xfs-api-reference-and-samples