01-02-2008 03:11 PM
01-07-2008 05:06 AM
Hi Greg,
Thanks for the update. I wonder.. will this fix be free of charge? My boss decided that we didn't need to keep our service contract...
Another question, which might be related to this issue. After this crash, I haven't been able to build my application into a stand-alone application anymore. It does built an executable, but when I try to run it, I get the error message: "vi is not executable, full development version of Labview is required to fix the errors"
I can't find any problems with the vi... it runs fine as a vi on the development machine. Just not as an executables. Didn't have problems before with building executables... Could this be related? If so, is there a known fix?
(attached the non-running exe)
01-14-2008 10:06 AM
01-16-2008 03:38 AM
Thanks for the suggestion Greg. I forced an upgrade on the typedef's. I did solve a few issues. There were a couple of sub-vi's that would also crash when opening in the editor. That's now solved. Everything seems to work as it should...
Except for the application builder. I still have the same problem. The builder builds the exe without any errors. But when I then try to run it, the thing is broken. (broken run icon) I can't even try to debug, because it doesn't start in the first place...
I'm running out of ideas how to fix this...
01-16-2008 05:08 AM - edited 01-16-2008 05:10 AM
Cute... to try to get the thing running, I'm trying options like including not removing unused polymorphic instances, and not removing unused members of project libraries.
Had to solve a few minor issues to get it to build the application, but that was easily fixed. (All non-related things really...)
Not that it helped... Now, when I try to run the application, I this dialog box:
I guess NI think they need to repeat important messages to us simple users...
But really... I DID understand after the third time!
01-16-2008 07:49 AM
01-17-2008 08:51 AM - edited 01-17-2008 08:52 AM
It looks like your broken app has to do with classes that are in libraries. A class contained in a library built into an application will sometimes work and sometimes fail depending on an ordering used during the build that you have no control over. In your case only the PennyMotor class is causing the problem even though you have other classes in libraries. This has also been fixed but it will not be available until the next full release.
There are a couple of things you can try. It may avoid the problem if you turn off the "Modify project library file after removing unused members" option in the Additional Exclusions settings for your build. If that doesn't work, you can separate the library and class.
One more note on the slightly redundant error message. The vast majority of the time it represents something that went wrong with the build. When we look at what to fix, we tend to choose the build problem that caused the dialog rather than the dialog. It is a stupid dialog but there are priorities.
01-17-2008 09:39 AM