I was trying to use the dll that is not standart
Win API dll. The function that I try to use
declared as following.

int FileVersion(char *filename)




And here is how I declared it in my VB project

Declare Function D3FileVersion
Lib "d3libshr" (Buffer as string)
as Integer




And here is the error that I got
"Bad DLL calling convention" ERRor 49
Please tell me that doe this error mean.
thks
Alex!