LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

InetLaunchDefaultWebBrowser

Solved!
Go to solution

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.

 

 

 

0 Kudos
Message 1 of 5
(3,882 Views)
Solution
Accepted by Gromit

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");
}

Message 2 of 5
(3,875 Views)
Thanks AI S... I was missing the include file.  I did not find any referance to it in the help files.
0 Kudos
Message 3 of 5
(3,871 Views)

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.

0 Kudos
Message 4 of 5
(3,867 Views)

Yes, I know that, but in this case.. it did NOT offer the info.. weird.

 

Thanks again.

0 Kudos
Message 5 of 5
(3,864 Views)