09-11-2009 09:22 AM
Hello all..
I'm having issues with InetLaunchDefaultWebBrowser in CVI v9.0.1 (375) on WinXP Pro SP3.
I get the error "Undefined symbol" when attempting to run debug.
Any ideas?? Thanks much in advance.
Solved! Go to Solution.
09-11-2009 10:10 AM
Gromit:
Can you post the complete error message?
Do you get the error during compile or while the program is running?
What statement generates the error?
I run InetLaunchDefaultWebBrowser () on CVI v9.0.1 (375) on WinXP Pro SP2 with no problem.
Did you #include <cvintwrk.h> in your .c file?
Here's a short but complete program to launch the browser to get to this page.
#include <cvintwrk.h>
main()
{
InetLaunchDefaultWebBrowser ("http://forums.ni.com/ni/board/message?board.id=180&thread.id=43046");
}
09-11-2009 10:18 AM
09-11-2009 10:27 AM
Gromit:
One of the things I like about CVI is that at compile time it suggests header files for its library functions.
For example, when I try to compile the code I posted without the #include statement, a message box pops up stating
The following include statements are needed in
InetLaunchDefaultWebBrowser.c
#include <cvintwrk.h>
Do you want to add them to the top of the file?
Nice helpful hint.
09-11-2009 10:32 AM
Yes, I know that, but in this case.. it did NOT offer the info.. weird.
Thanks again.