Hi,

I think I have encountered a bug in the winldap.h of your mingw distribution.

The function ldap_explode_dnA should return a PCHAR* instead of just a PCHAR.
After changing that in the headerfile the function works as expected.

Without the asterisk it does not work.
According to MSDN the function is defined returning a PCHAR* : 
http://msdn.microsoft.com/en-us/library/aa366576(VS.85).aspx

Attached you will find a diff containing the changes I made to the header file 
to get it working.

Mit freundlichen Grüßen / Best regards

Markus Liebe

Robert Bosch GmbH
Automotive Electronics, RtP2/TEF72
Postfach 13 42
72703 Reutlingen
GERMANY
www.bosch.com

Tel. 07121 35-35246
[email protected]

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, 
Siegfried Dais;
Bernd Bohr, Rudolf Colm, Volkmar Denner, Gerhard Kümmel, Wolfgang Malchow, 
Peter Marks,
Peter Tyroller; Uwe Raschke


Attachment: winldap.diff
Description: winldap.diff

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to