06-28-2012 04:56 PM
hello I´m trying to create an installer for an application created in a previous version of Labwindows CVI that a dont know becasuse i receive just de sources files, i´m working with 2010 version, the problem is that the application run perfect in debug mode but when i run it in release mode the application doesnt work, only the icon in the taskbar is showed but the graphic interface never appears, someone can help me with that
Solved! Go to Solution.
06-29-2012 06:01 AM
Try to see if there are specific #ifdef in the source that may explain differences in compilation. Such as _CVI_DEBUG_. Otherwise you program may be buggy, with pointers initialised properly, by pure chance, in debug mode.
06-29-2012 10:28 AM
I check all source files an there is no any #ifdef that could cause problems, the program is correct because is running in an old PC, what i am doing is trying to create an installer to change the program to a new PC, what i receive was just the folders project that are in that machine, but i can do work the program in my machine.
07-02-2012 09:57 AM
Does your program run in release mode in CVI (Ctrl-F5 after a complete compile, instead of Shift-F5) ? If so the problem must be in the configuration of the installer. See the details of the installer configuration. Are you including the runtime engine ?
07-03-2012 05:21 PM
yes it is, i am not creating the installer because the program does not work in my PC, but the code is right because is working in the old PC, I have in the project dll´s and lib´s compiled in CVI 7.11 could be that the reason or is compatible with CVI 2010
07-04-2012 03:36 AM
Try to recreate the export library from the dll
07-04-2012 05:27 PM
thanks for your help, the problem was not with the code, and was not with the RT Engine version, was a bad configuration in the release compilation configuration, I was not adding the externals dll´s and lib´s into the external modules option in target settings