need help: de{*word*81} kernel error 1
hi everybody,
desperately need help on using dll's in D2. tried everything to use
dll, wrapper or not, keep getting 'de{*word*81} kernel error 1' at
runtime. everythings compiles fine, but no way to make it work.
happened with different dlls, here is some sample:
the user32.dll messagebox works, and so far its the only one i could
get working. maybe a newbie question, since nobody else seems to have
this problem.
anyways drives me crazy.
any help greatly appreciated, greetinx ulf.
...
implementation
Function NDdeGetNodeName
( lpszNodeName : PChar;
cchNodeName : LongInt ) : Word;
stdcall; external 'nddeapi.dll' name 'NDDEGETNODENAME';
function MessageBox(HWnd: Integer; Text, Caption: PChar ;Flags:
Integer): Integer; stdcall;
external 'user32.dll' name 'MessageBoxA';