[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Datatype mapping for openldap



Sankar P wrote:
Hi,

I saw some example code on MSDN which I tried to compile against
openldap on Linux and got some errors.

The C code that I tried to compile was:
http://msdn.microsoft.com/en-us/library/aa367017(v=vs.85).aspx

The errors were related to the undefined nature of types such as:
DWORD, PCHAR, BOOL, TRUE, FALSE and functions such as _snprintf_s etc.

Those are Windows-specific definitions and have nothing to do with LDAP or OpenLDAP.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/