RFID Demo Project Failing to Launch

C, C++, and Visual C++
Post Reply
MayDay
Fresh meat
Posts: 2
Joined: Sat Aug 19, 2017 1:59 pm
Contact:

RFID Demo Project Failing to Launch

Post by MayDay »

Hey All - Newb question here, please bear with me.

I'm unable to get the RFID C demo project up and running. I've gone through the documentation about a dozen times over the course of 4-5 hours and still can't figure out how to get the basics working.

I'm running VisualStudio2017 and the output is throwing this at me:

Code: Select all

'RFIDExample.exe' (Win32): Loaded 'D:\Projects\tests\RFID_Example\Debug\RFIDExample.exe'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\kernel32.dll'
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\phidget22.dll'. Cannot find or open the PDB file.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\hid.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnssd.dll'. Cannot find or open the PDB file.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Symbols loaded.
'RFIDExample.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Symbols loaded.
The thread 0x1b40 has exited with code -1073741510 (0xc000013a).
The thread 0x3704 has exited with code -1073741510 (0xc000013a).
The thread 0x2a10 has exited with code -1073741510 (0xc000013a).
The thread 0x3924 has exited with code -1073741510 (0xc000013a).
The thread 0x4140 has exited with code -1073741510 (0xc000013a).
The thread 0x312c has exited with code -1073741510 (0xc000013a).
The program '[18216] RFIDExample.exe' has exited with code -1073741510 (0xc000013a).
When I first launch the project, VisualStudio prompts me to retarget the project. I also have to set the paths of the phidget22 source to where I've placed them (different than the default). Could this be causing the error?
MayDay
Fresh meat
Posts: 2
Joined: Sat Aug 19, 2017 1:59 pm
Contact:

Re: RFID Demo Project Failing to Launch

Post by MayDay »

Solved it!

The Phidget RFID example project for C doesn't work with a fresh install of Visual Studio 2017.

You'll have to grab the 2015 build tools here: http://landinghub.visualstudio.com/visu ... uild-tools

After that, I was able to compile and run the program. Another thing to watch out for: blank RFID tags are unreadable. You'll have to write to them without being able to detect them first.

If you're a C guy, you can probably mod the example project. I'm more familiar with AS3 so I used the deprecated API for the 1023 model.

Now the C example is functioning as expected :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests