Hello,
I'm using the Oscat libraries on an IFM CR1203 HMI to create an FTP client application to transfer CSV files from datalogger to a server. When build the program I get the following errors:
C0338: The Library 'sysfile23, 3.5.13.0 (system)' is only supported in 32 bit applications
C0338: The Library 'syssocket23, 3.5.13.0 (system)' is only supported in 32 bit applications
Sorry, did not read that you are using OSCAT NETWORK.
You are unfortunately out of luck, but IIRC OSCAT libraries are installed in source form, so you can change the dependencies to SysFile and SysSocket2 and the relevant calls inside the library, then recompile.
These two compatibility libraries won't be adapted to run on 64-bit.
Last edit: sgronchi 2022-10-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are able to use the Codesys Library Manager (documented at https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_obj_library_manager.html ), then locate the OSCAT NETWORK library (should be in C:\ProgramData\CODESYS\Managed Libraries\OSCAT\NETWORK\1.3.5.2), save in another location and open it, increase the library version under "Project Information", open the Library Manager you find under POUs tab (not the one under Devices, if there is one), delete the two libraries, add the two new libraries, fix all the compilation errors (using the brain, not in a monkey way ;-) ), then click "Save and install into repository".
You should then check that in your project the version matches the one you wrote previously, otherwise update the reference.
Last edit: sgronchi 2022-10-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using the Oscat libraries on an IFM CR1203 HMI to create an FTP client application to transfer CSV files from datalogger to a server. When build the program I get the following errors:
C0338: The Library 'sysfile23, 3.5.13.0 (system)' is only supported in 32 bit applications
C0338: The Library 'syssocket23, 3.5.13.0 (system)' is only supported in 32 bit applications
Does anyone know how to solve?
Thanks!
Sorry, did not read that you are using OSCAT NETWORK.
You are unfortunately out of luck, but IIRC OSCAT libraries are installed in source form, so you can change the dependencies to SysFile and SysSocket2 and the relevant calls inside the library, then recompile.
These two compatibility libraries won't be adapted to run on 64-bit.
Last edit: sgronchi 2022-10-14
Thanks for the answer!
I'm new to this subject, do you have a manual that teaches how to make this change?
No manual. This is the manual for developing libraries https://content.helpme-codesys.com/en/LibDevSummary/index.html but it's only tangentially related.
If you are able to use the Codesys Library Manager (documented at https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_obj_library_manager.html ), then locate the OSCAT NETWORK library (should be in C:\ProgramData\CODESYS\Managed Libraries\OSCAT\NETWORK\1.3.5.2), save in another location and open it, increase the library version under "Project Information", open the Library Manager you find under POUs tab (not the one under Devices, if there is one), delete the two libraries, add the two new libraries, fix all the compilation errors (using the brain, not in a monkey way ;-) ), then click "Save and install into repository".
You should then check that in your project the version matches the one you wrote previously, otherwise update the reference.
Last edit: sgronchi 2022-10-14