LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

WAB example or pointer.

Hi,

I am considering using the Windows Address Book as part of a CVI
application I am developing.

The SDK help says there is an API and I have located the various wab*.h
files.

However, I can't locate a wab*.Lib file to include in my project. As the
help is somewhat sketchy, I can't be sure that there should be one.

Can someone point me at an example or better documentation to get me
going with this please?
--
Regards,

John Cameron.
Type softly, read gently.
0 Kudos
Message 1 of 4
(3,420 Views)
Isn't this a part of the Windows SDK, just #include <Wab.h> and you're done.

Best place for further information is to search the Microsoft MSDN site for "wab":
http://msdn.microsoft.com/library/default.asp


0 Kudos
Message 2 of 4
(3,396 Views)
In message <1129790457824-279604@exchange.ni.com>, JPL6 <x@no.email>
writes
>Isn't this a part of the Windows SDK, just #include &lt;Wab.h&gt; and
>you're done.
>
>Best place for further information is to search the Microsoft MSDN site
>for "wab":
>http://msdn.microsoft.com/library/default.asp

If it's that simple I must be missing something.

There is no problem compiling (as you would expect) but the linker fails
to find the functions. I have includes wab.h but the linker throws up
the following error;

Undefined symbol '_WABOpen@16' referenced in "trywab.c".

WAB has no lib file, so how does the linker know where to find the
functions?

--
Regards,

John Cameron.
Type softly, read gently.
0 Kudos
Message 3 of 4
(3,397 Views)
WAB32.dll is normally loaded dynamically (so not statically via an import library), because it is not normally on the search path for DLLs and you need to look in the registry to find out where it is.
 
There is some advice on using the DLL here.
 
Martin.
--
Martin
Certified CVI Developer
0 Kudos
Message 4 of 4
(3,386 Views)