05-12-2014 04:17 AM
I have used ini and toolbar functions in my project, these functions are included in inifile.fp and toolbar.fp. Recently I found my released .exe routine userly got run-time error. And I changed CVI compiling environment as below:
1. add these two fp files in the customize library, and do not include them in my project tree;
2. do not include fp files in customize library, and add them in my project tree directly, CVI will load related instruments automaticly.
Does these two settings has any different? Which setting is better?
Thanks!
Solved! Go to Solution.
05-12-2014 04:35 AM
The 'Customize Library' menu entry specifies libraries to load once you start CVI - independent of the project. So if you need an instrument driver for one project only I would add it to the specific project.
05-12-2014 04:56 AM
You mean customize library's application domain is all CVI projects? So these two settings I montioned above should be the same. But I feel the first setting cases my released routine unstable. It sounds very strenge, my project can pass the complie and also can create release exe succes in both two settings, but the exe created in the first setting usually have run-time error.
05-12-2014 05:32 AM
Yes, I would think that both variants should work for you.
Did you check that the path names are correct (and identical) in both cases?
06-08-2014 08:27 PM
Hi Wolfgang,
Thanks for your helping. I have found the problem. The key issue is cvirte2012 have a bug in table control, it may case function protection when mouse move to a deteleted row. I have been updated it to cvirte2013, and the crash does not happen any more.
Bance