.Net based implementation
Moderators: aardvark, davebush, Admin
.Net based implementation
Hi, I have a couple questions. First, I am trying to implement a paylink device using c# .net. Do you know of any .net wrappers that have been created for the Aesimhei.dll file?
Second, I am trying to get the status of a coin hopper (full, low...) and haven't been able to find a function that will give me this. I've used the demo.exe program, and it will give the status (some devices are low, while others are full). After that, I will use my own program which calls ReadDispenserDetails, and the DispenserBlock doesn't appear to show any status information. The CoinCountStatus is 0 for every hopper, which is what I would have thought would report the full/low status. Anyway, I'm not sure if I'm doing something wrong to get a different status than demo.exe program, maybe it's somewhere in my .net conversion. Any help with this will definitely be appreciated.
Danny
Second, I am trying to get the status of a coin hopper (full, low...) and haven't been able to find a function that will give me this. I've used the demo.exe program, and it will give the status (some devices are low, while others are full). After that, I will use my own program which calls ReadDispenserDetails, and the DispenserBlock doesn't appear to show any status information. The CoinCountStatus is 0 for every hopper, which is what I would have thought would report the full/low status. Anyway, I'm not sure if I'm doing something wrong to get a different status than demo.exe program, maybe it's somewhere in my .net conversion. Any help with this will definitely be appreciated.
Danny
As we have no .NET expertise in house, we contracted out the creation of a .NET interface, together with a demonstration program which will serve as both a test harness and an example of how it is intended to be used. The current situation is that the interface is complete (apart from the esoteric section to do with printing Barcodes), but the Demo program is still being worked on.
You can get hold of the initial version from http://www.aardvark.eu.com/downloads/so ... %20Net.zip.
So far as hopper levels are concerned, these are a relatively new feature that came in with release 1.10. You can get this entire latest release from http://www.aardvark.eu.com/downloads/so ... bution.zip. (You may find that the hopper levels are not in the .NET implementation.)
You can get hold of the initial version from http://www.aardvark.eu.com/downloads/so ... %20Net.zip.
So far as hopper levels are concerned, these are a relatively new feature that came in with release 1.10. You can get this entire latest release from http://www.aardvark.eu.com/downloads/so ... bution.zip. (You may find that the hopper levels are not in the .NET implementation.)
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
If I can't get the levels working with the .net version, I will just keep using the version I have been using for now.
As for the newer distribution, now I definitely think I am doing something wrong since that is the same distribution I have been using. Would it be possible to get some sample code that shows how to print out levels of the hoppers? Thanks for your help.
As for the newer distribution, now I definitely think I am doing something wrong since that is the same distribution I have been using. Would it be possible to get some sample code that shows how to print out levels of the hoppers? Thanks for your help.
I know it's written in Pascal (Delphi), but the entire source of the demo program is in the SDK/Examples folder.
I you look at the Dispenser.pas file it should be pretty easy to see what's going on.
Note that you have to use the DLL and AESImhei.h files from this latest release and you have to be running 4.1.10.4 Firmware. (To update the Paylink firmware, run one of the programs in the Firmware folder.)
I you look at the Dispenser.pas file it should be pretty easy to see what's going on.
Note that you have to use the DLL and AESImhei.h files from this latest release and you have to be running 4.1.10.4 Firmware. (To update the Paylink firmware, run one of the programs in the Firmware folder.)
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
-
Qaiser
Doesn't compile
Is there are new demo project planned. I've just downloaded the SDK and the .net implementation doesn't even compile. It doesn't get the Main method to start the program and looks like code is unfinished doesn't even compile. I've managed to fixed the bugs but when I run it, it doesn't do anything.
Any help is appreciated.
Any help is appreciated.
-
Qaiser
Doesn't compile
Is there are new demo project planned. I've just downloaded the SDK and the .net implementation doesn't even compile. It doesn't get the Main method to start the program and looks like code is unfinished doesn't even compile. I've managed to fixed the bugs but when I run it, it doesn't do anything.
Any help is appreciated.
Any help is appreciated.
-
stormgames
- Posts: 3
- Joined: Thu Jul 27, 2006 11:00 am
.net
Hi
I've been using it for .net 1.1 , .net 2 and .net 3 for about 5 years now, without any problems at all.
In fact, it's rock solid, and very ,very straight forward to do.
I've been using it for .net 1.1 , .net 2 and .net 3 for about 5 years now, without any problems at all.
In fact, it's rock solid, and very ,very straight forward to do.
We have now completely revisited the dot net support.
It is generally available as a part of the 4-1-10-15 release, which will be on the main web sit shortly.
A pre-release version can be downloaded from ftp://aesoffice.eu.com/FTPSpace/4-1-10- ... bution.zip.
This contains AesImhei.Net.dll, which is a thin interface layer to AesImhei.dll, together with the 64 bit version AesImhei64.net.dll which is a thin interface layer to AesImhei64.dll.
It is generally available as a part of the 4-1-10-15 release, which will be on the main web sit shortly.
A pre-release version can be downloaded from ftp://aesoffice.eu.com/FTPSpace/4-1-10- ... bution.zip.
This contains AesImhei.Net.dll, which is a thin interface layer to AesImhei.dll, together with the 64 bit version AesImhei64.net.dll which is a thin interface layer to AesImhei64.dll.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Re: .Net based implementation
I am trying to run TestApp located on:
D:\4-1-11-9Distribution\SDK\Dot Net\AesImhei.Net\TestApp
I am using MS Visual Studio 2010 version
I receive error when I try to compile:
Error 1 The name 'AESImhei' does not exist in the current context
I have put AesImhei.Net.dll file on C:\Windows and C:\Windows\System32
AESWDriver.exe is also running OK
Any Help please
D:\4-1-11-9Distribution\SDK\Dot Net\AesImhei.Net\TestApp
I am using MS Visual Studio 2010 version
I receive error when I try to compile:
Error 1 The name 'AESImhei' does not exist in the current context
I have put AesImhei.Net.dll file on C:\Windows and C:\Windows\System32
AESWDriver.exe is also running OK
Any Help please
Re: .Net based implementation
I'm not enough of a dot net expert to help here.
All I can do is to point out that you have all the source, and so should be to start from scratch if necessary.
All I can do is to point out that you have all the source, and so should be to start from scratch if necessary.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.