Groups > Novell > NDS Client > Re: How to install the ndk to work with VisualStudio 6 or 7




How to install the ndk to work with VisualStudio 6 or 7

How to install the ndk to work with VisualStudio 6 or 7
Fri, 25 Feb 2005 21:27:06 GMT
Hi,
I installed the NDK into my computer to devolepe some programe that need a
authentification to a eDirectory network. After the instalaltion i tryed to
build a sample for the NDK that using some header file from the ldapsdk.
This errors appear :
Linking...
abortpo.obj : error LNK2001: unresolved external symbol _ldap_memfree@4
abortpo.obj : error LNK2001: unresolved external symbol _ldap_get_option@12
abortpo.obj : error LNK2001: unresolved external symbol
_ldap_abort_partition_operation@12
abortpo.obj : error LNK2001: unresolved external symbol
_ldap_split_partition@12
abortpo.obj : error LNK2001: unresolved external symbol _ldap_unbind_s@4
abortpo.obj : error LNK2001: unresolved external symbol _ldap_err2string@4
abortpo.obj : error LNK2001: unresolved external symbol
_ldap_simple_bind_s@12
abortpo.obj : error LNK2001: unresolved external symbol _ldap_init@8
abortpo.obj : error LNK2001: unresolved external symbol _ldap_set_option@12

I think i need some .lib or .obj to build it. Can any body help me to config
properly the VisualStudio 6 or 7 to build an application that using the ndk
library ?

Post Reply
Re: How to install the ndk to work with VisualStudio 6 or 7
Fri, 25 Feb 2005 23:23:07 GMT
Hi Patrick.
take a look here:
http://www.gknw.com/development/iis/
I compiled this with MSVC6; just take the *.dsp file as sample...

Guenter.

"Patrik Dufresne" <ikus060@hotmail.com> wrote in
news:KKMTd.1174$255.721@prv-forum2.provo.novell.com: 

> Hi,
> I installed the NDK into my computer to devolepe some programe that need
> a authentification to a eDirectory network. After the instalaltion i
> tryed to build a sample for the NDK that using some header file from the
> ldapsdk. This errors appear :
> Linking...
> abortpo.obj : error LNK2001: unresolved external symbol _ldap_memfree@4
> abortpo.obj : error LNK2001: unresolved external symbol
> _ldap_get_option@12 abortpo.obj : error LNK2001: unresolved external
> symbol _ldap_abort_partition_operation@12
> abortpo.obj : error LNK2001: unresolved external symbol
> _ldap_split_partition@12
> abortpo.obj : error LNK2001: unresolved external symbol _ldap_unbind_s@4
> abortpo.obj : error LNK2001: unresolved external symbol
> _ldap_err2string@4 abortpo.obj : error LNK2001: unresolved external
> symbol _ldap_simple_bind_s@12
> abortpo.obj : error LNK2001: unresolved external symbol _ldap_init@8
> abortpo.obj : error LNK2001: unresolved external symbol
> _ldap_set_option@12 
> 
> I think i need some .lib or .obj to build it. Can any body help me to
> config properly the VisualStudio 6 or 7 to build an application that
> using the ndk library ?
> 
> 
> 
Post Reply
Re: How to install the ndk to work with VisualStudio 6 or 7
Mon, 28 Feb 2005 22:28:03 GMT
Thank to you,
I compared you projet with my, and i found that i need to add the .lib file
to the Link section...

Patrik Dufresne


"Guenter Knauf, DevNet SysOp 32" <devforums@novell.com> wrote in
message
news:vrOTd.1273$255.1002@prv-forum2.provo.novell.com...
> Hi Patrick.
> take a look here:
> http://www.gknw.com/development/iis/
> I compiled this with MSVC6; just take the *.dsp file as sample...
>
> Guenter.
>
> "Patrik Dufresne" <ikus060@hotmail.com> wrote in
> news:KKMTd.1174$255.721@prv-forum2.provo.novell.com:
>
> > Hi,
> > I installed the NDK into my computer to devolepe some programe that
need
> > a authentification to a eDirectory network. After the instalaltion i
> > tryed to build a sample for the NDK that using some header file from
the
> > ldapsdk. This errors appear :
> > Linking...
> > abortpo.obj : error LNK2001: unresolved external symbol
_ldap_memfree@4
> > abortpo.obj : error LNK2001: unresolved external symbol
> > _ldap_get_option@12 abortpo.obj : error LNK2001: unresolved external
> > symbol _ldap_abort_partition_operation@12
> > abortpo.obj : error LNK2001: unresolved external symbol
> > _ldap_split_partition@12
> > abortpo.obj : error LNK2001: unresolved external symbol
_ldap_unbind_s@4
> > abortpo.obj : error LNK2001: unresolved external symbol
> > _ldap_err2string@4 abortpo.obj : error LNK2001: unresolved external
> > symbol _ldap_simple_bind_s@12
> > abortpo.obj : error LNK2001: unresolved external symbol _ldap_init@8
> > abortpo.obj : error LNK2001: unresolved external symbol
> > _ldap_set_option@12
> >
> > I think i need some .lib or .obj to build it. Can any body help me to
> > config properly the VisualStudio 6 or 7 to build an application that
> > using the ndk library ?
> >
> >
> >
>

Post Reply
about | contact