Refs #1657. Corrected macro WIN64 to _WIN64 to fix assertion error when using Vector CAN hardware.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@1016 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
Frank Voorburg 2023-01-19 12:57:09 +00:00
parent c338f20843
commit 2ddb317259
2 changed files with 3 additions and 3 deletions

View File

@ -263,13 +263,13 @@ XLstatus xlLoadLibrary(char const * library){
if (!hxlDll){
#ifdef _MFC_VER
#ifdef WIN64
#ifdef _WIN64
MessageBox(NULL,"Dynamic XL Driver Library - not found (vxlapi64.dll)","XL API",MB_OK|MB_ICONEXCLAMATION);
#else
MessageBox(NULL,"Dynamic XL Driver Library - not found (vxlapi.dll)","XL API",MB_OK|MB_ICONEXCLAMATION);
#endif
#else
#ifdef WIN64
#ifdef _WIN64
printf("Dynamic XL Driver Library - not found (vxlapi64.dll)\n");
#else
printf("Dynamic XL Driver Library - not found (vxlapi.dll)\n");
@ -531,7 +531,7 @@ XLstatus xlUnloadLibrary(void){
XLstatus xlOpenDriver(void){
#ifdef WIN64
#ifdef _WIN64
if (xlLoadLibrary("vxlapi64")!=XL_SUCCESS) return XL_ERR_CANNOT_OPEN_DRIVER;
#else
if (xlLoadLibrary("vxlapi")!=XL_SUCCESS) return XL_ERR_CANNOT_OPEN_DRIVER;

Binary file not shown.