-
Andrew Davis
- PowerBuilder
- Friday, 7 November 2025 07:32 PM UTC
Hi,
I hope someone can point me in the right direction to get started on this.
I was talking with Bruce at the London PB meeting about importing a DLL that runs and connect to a handheld RFID reader.
I wanted to do this years ago but it was just too big a task back then. Anyway i have another project requiring use of the same RFID scanner.
The way i made it work for me before was that i took the SDK example code - which connected to the reader, adjusted the power, and displayed the RFID epc number and altered it, to interface to it i used text files - i sent them to the App and it created files of the RFID epc it had read.
This worked fine, but was clunky and a little slow but as i say it worked for the application i needed it for.
My new requirement needs to be a little slicker - here is the thing -Bruce mentioned that it would probably possible to use the App I have written to create the connection etc and then use the DLL importer just to get the information from the variables in the app - this he said would be much less complicated.
Howveer I don't know where to start - the DLL importer can see the DLL that is supplied with the SDK. But my app does not have a DLL. How do i make an existing visual app have a DLL.
Something was said about making the appropriate variables 'visible' how do i do that.
I am including the whole application - its basically one screen that opens reads the com port via a text file and connects.
When the trigger of the gun is pulled the reader reads and sends the output to the screen and to a text file which my PB app pics up
Any help with this would be really appreciated.
regards
Andrew
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.