>Hi,
>
>Thank for your advise and help.
>My foxpro 2.5/2.6 written application can be run on Win3.1/Win9x
>without any problem.
>I can't tell whether the protection DLL file is a 16 bit one as it is
>written by other programmer who had left the company
Actually, you can find out by going into the Win9x explorer, right clicking the .DLL and using QuickView - it should tell you immediately the type of .DLL header found.
>If the Dll is a 16 bit one, then I look for a 32bit DLL
>
>On the other hand, I trace to the CallFN() function that call the HASP
>DLL which will halt my system. If commented out, it run fine.
>So, it maybe the DLL file problem.
>
>Thank for your advise.
>
>
>
>>>Hi,
>>>
>>>I had a foxpro 2.5/2.6 written application that call HASP protection DLL file for protection which when run under WinNT 4, give me only a blank white screen, then halt my system.
>>>
>>>On the other hand, using the same HASH DLL file with my Vfp 3 application, my application run without any problem.
>>>
>>>Could it be the problem of Foxpro 2.5/2.6 REGFN function problem with my application. Please advise or help. Thank a lot
>>
>>Is the .DLL a Win16 or Win32 .DLL? If it's a Win32 .DLL, it's usable from VFP, but not from FPW, which is a 16 bit application.