Closed KB4MDD closed 2 years ago
There is an issue IRCDDBGatewayConfig.cpp with this code:
m_config->Read(m_name + KEY_GPSD_PORT, &temp, long(DEFAULT_GPSD_PORT));
m_gpsdPort = (unsigned int)temp;
I attempted to fix the problem and caused the above reported error. When I got the fix right, the problem went away and everything works.
This should be:
m_config->Read(m_name + KEY_GPSD_PORT, &m_gpsdPort, DEFAULT_GPSD_PORT);
//m_gpsdPort = (unsigned int)temp;
I have compiled the latest version on Windows. When I run ircddbgateway.exe, it faults with this error in the logfile.
Can't read value of key 'HKCU\Software\G4KLX\ircDDB Gateway' (error 234: More data is available.)
I removed the registry key for ircDDB Gateway and just run the program to see if it would launch - it does launch. Looks ok, but not setup.
I stopped ircddbgateway and ran the ircddbgatewayconfig to setup the program. When I attempt to run ircddbgateway.exe again, it fails with one line in the log.
I am using visual studio 2019 with WxWidgets 3.1.5 on Windows 10. I am compiling as 32bit.
Is there something else to set to make it work properly on Windows?