Hi Herman,
Thank a lot for your help for the Winio, it working for me as I
am able to detect change in the bit of the parallel port of my
printer.
For the DLL declaration, I had tried but it don't seem to be
working in Win2k for my case, any suggestion why ?
>>Hi,
>>
>>If we are using some external DLL, we must declare it first
>>like
>>
>> DECLARE xxxx IN xxxxx
>>
>> For win32 API, we declare it like
>>
>> DECLARE xxx IN Win32API
>>
>>
>>Can we copy the DLL to our window system folder and declare it
>>like
>>
>> DECLARE xxx IN C:\TEST\XXX.DLL
>>
>>
>>If not, any way to overcome this issue as I don't want the
>>DLL to be in the same folder as my application.
>>Please advise. Thank you
>
>Yes, you can. Let's say you copy the dll into c:\temp so the declaration is like this
>
>
Declare xxx in C:\Temp\dll.dll>
>But if you copy to windows system folder then you don't have to include the directory name. It will search automatically. All you have to do is
>
>
Declare xxx in dll.dll>
>HTH
Best Regards
Virusim