05-20-2015 02:06 AM
Dear All LabView Pros
It became necessary to change my LabView program to Unicode. Therefore, I had to add "UniCode=true" to the ini-File of my exe.
Unfortunately everytime I rebuild my exe the ini-File gets re-written but without my modifications.
How can I set my modification permanently?
Cheers
Ben
05-20-2015 02:09 AM
05-20-2015 02:11 AM
ha!
If everything would be that easy!
Thank you for your quick reply
05-21-2015 02:44 AM
Just as a wrapup of this topic here is a screenshot of the corresponding setting in the Build-Specification.
Best regards,
Peter
05-21-2015 07:43 AM
Including your own custom INI is probably the easiest solution. But another solution I've seen done which has its benefits, is to use the Post Build feature of the application builder. Here you can specify a VI to run after a build is done. This VI that runs can then edit the INI file for the application that was just built to always have the INI settings you want.
In my mind this is a more modular solution, because it can work on any project, where including your INI file only works if you have an INI file, and in that file you know the name of the application being built. Renameing the application, or taking the INI to another project means you need to remember to edit that INI. But running a Post Build VI can get that information and set the file for you regardless of the application name.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord