Hi ,

currently , i am facing the problem of pass an int value from C Dll to a VB program.
my problem is ==>
when i pass an int value from C dll to vb , i am getting always zero val of that int in my Vb appln.

In Vb i have declared as :-

public declare funtion abc lib "c:\winnt\system32\mydll.dll" (byval myint as long) as integer

while in my Vb program i am calling this function as

return= abc(myint)

can you tell me what might be the problem ...
thanks