Link to home
Start Free TrialLog in
Avatar of egono
egono

asked on

How to call NWGetFileServerDateAndTime from nwcalls.dll

I know how to call a function from a DLL, what I dont know
are the parameters for this call

function NWGetFileServerDateAndTime(var ???): ???;
           far; external 'NWCALLS';

I think the unit CALSRV16.PAS should have a complete
declaration, but I didnt find this file (it must be in
the Netware SDK - 37 MB thats a little bit too much for me).

At http://doc1.provo.novell.com:80/current_sdk.htm is the
documentation for the sdk (if I try to get some info about
the function, I receive a "500 Server Error" :-( )

anyone with more luck ???
Avatar of Waldek
Waldek

Try This GetDateTime (year,month,day,hour,minute,second,day_of_week:integer);


Avatar of egono

ASKER

Hi Waldek,

I'd like to have the time from the server, not from the WS.
Avatar of egono

ASKER

Adjusted points to 200
Do you have a C-header file for that library ? We could translate the function call from C to Delphi.
Avatar of egono

ASKER

Hi d003303

no I have nothing, just the DLL. But there must be some
header files in the Netware SDK (and some Delphi units too)
If you have a fast connection you can download 37 MB from
the novell server.
OK, I take a look at it.
Are you using Delphi 1 (because of the unit CALSRV16.PAS) ?
ASKER CERTIFIED SOLUTION
Avatar of d003303
d003303

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of egono

ASKER

Hi Slash,

I'm using Delphi 3. If you mail me the Delphi includes I
would be very happy (and you will get a A Grade).

Please mail not to my home adress, mail to
katrin.wetzke@mdr.de

many thx ...


Avatar of egono

ASKER

OK ! thx again ...

it seems to me that I need also the dll's cause I have only
the nwcalls.dll. Do you think it's possible that you mail me
these files also ???

I've sent them to you. Please review the license agreement on the novell site for redistribution of binaries from the SDK.

Slash/d003303