01-28-2015 03:41 PM
Hello all,
just found a bug in CVI 2013 sp2.
I have a function with a variable number of args:
void Secure(const int MainPanel, ...) { ... }
I started typing above:
/// HIFN Whatever /// HIPAR MainPanel / Something /// HIPAR ... / Others /// HIPAR ... / Some more
... And CVI crashed. Twice.
Solved! Go to Solution.
01-29-2015 04:48 PM
Hi gdargaud,
I've been trying to reproduce the crash and have not been successful yet. Does the crash occur while you are typing the code or only at execution? Is there any addition code or is it only the 4 Source Code Tags and the function declaration?
01-30-2015 03:52 AM
Hello, gdargaud!
The crash you experienced is caused by the fact that CVI is unable to handle the incorrect usage of the HIPAR in conjunction with the "..." variadic parameter name string, when it tried to generate browsing information.
The problem is filed under bug ID #514226 and will be resolved in an upcoming version of CVI.
Meanwhile, the best workaround for this problem is one of the following:
Best regards!
- Johannes
02-02-2015 03:27 AM
Kudo for reproducing the bug and thanks for the HIPARV, I didn't know that one.
02-02-2015 03:35 AM
You are welcome, gdargaud! 😉