Thanks Alex...
I used the code you mentioned like,
var dDLL = DLL.DefineDLL("USER32");
var dProc = dDLL.DefineProc("LoadCursorW", vt_i4, vt_ui2, vt_i4);
var lib = DLL.Load("USER32.DLL", "USER32");
global_cache[cursorID] = lib.LoadCursorW(0, cursorID);
above code is part of loadCursor(cursorId).
Its working fine and returning my cursor type. But always TC logs warnings like "A function with specified name is already defined".
So I changed my functionName to "LoadCursorA" from "LoadCursorW". But no luck..
How can I suppress those warnings?
Thanks...