>Hello Nick,
>
>I am able to use the following declare statement and its working fine.
>********************************************************
>DECLARE LONG TOCRInitialise IN TOCRDLL.DLL LONG JobNo
>********************************************************
>
>Do you think, it should work or still do i to see.
>
>Thank you very much.
Is that how you use it in VB? I thought you will instantiate it with CREATEOBJECT(). Can't say much since I've never seen this DLL.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison