Novell Home

TID101512 (DELIMP1) - Problems with Delphi IMP files

From Developer Community

There are some bugs in the Delphi import files that might cause problems. See the detailed description for more information.

Problems with Delphi IMP files

Problems with IMP files in Vol 14:

* Two names for function 1157 in NetWin32.dll
Function 1157 in NetWin32.dll is declared as NWDSOpenConnToNDSServer
in NETNDS32.IMP and NETNDS16.imp, but as NWDSCONNECTTONDSSERVER (with
typo) in NETCON32.IMP and NETCON16.imp.

* NWGETNWNETVERSION declared differently
The function NWGETNWNETVERSION is declared as function in NETCON32.imp
and NETCON16.imp, but as procedure in NETNDS32.imp and NETNDS16.imp

* NWDSFREEFILTER declared differently
The function NWDSFREEFILTER is declared as prodedure in NETNDS32.IMP
and NETNDS16.imp, but declared as procedure in NETCON32.IMP and NETCON16.imp

* Bad index number for NWDSPutChange in import files
The function NWDSPutChange has an incorrect index declaration in the
32 bit Pascal IMP files. It says index 1032, but should be 1016.
The 16 bit declarations seem to be OK.

* Missing declarations in NETNDS16.IMP
Add these declarations to NETNDS16.IMP:
Function NWDSListPartitionsExtInfo; external 'NETWIN16.DLL' index 1171;
Function NWDSGetPartitionExtInfoPtr; external 'NETWIN16.DLL' index 1172;
Function NWDSGetPartitionExtInfo; external 'NETWIN16.DLL' index 1173;
Function NWDSPutAttrNameAndVal; external 'NETWIN16.DLL' index 3048;
Function NWDSPutChangeAndVal; external 'NETWIN16.DLL' index 3049;
Function NWDSReadObjectDSIInfo; external 'NETWIN16.DLL' index 3050;
Function NWDSGetDSIInfo; external 'NETWIN16.DLL' index 3051;

--devsup

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.