Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Focus.fll question.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00261970
Message ID:
00262154
Vues:
21
>Can anyone help me with this one. Im getting an invalid focus.fll file error. Before you say "You need the Kernel.dll file in your system directory" Ive tried that <g>. The strange thing is I only get the error on some machines. I wrote a short EXE (the code is below) to test it and put it into a folder with the Focus.fll and the foxtools.fll. On some workstations it fires up no problem, on others i get an "invalid focus.fll" error. I also tried moving both flls into the windows system or system32 folder to no avail. And just to be sure, i scanned the harddrive for additional copies of the kernel.dll and didnt find any. Anyone? Anyone? Bueller? Bueller?
>
>
>[Here's the sample EXE]
>
>SET LIBR TO FOXTOOLS.FLL ADDITIVE
>SET LIBR TO FOCUS.FLL ADDITIVE
>lcLibr = set('library')
>wait window iif(!empty(lcLibr),lcLibr,'No libraries loaded')
>
>Thanks in advance,
>Darryl


Darryl,

I had the same problem so I asked Pat Boens at the Focus site about the problem. Here was his response:

*************
The problem is rooted in the Winsock DLLs. On Windows NT and Windows 98 the
Winsock DLLs are the same. On Windows 95, the Winsock DLL should be manually
updated. The offending DLL is WS2_32.DLL. It can bve freely downloaded from
Microsoft's Web Site. See the following information :

Release notes:

http://www.microsoft.com/windows95/downloads/contents/wuadmintools/S_WUNetwo
rkingTools/W95Sockets2/ReleaseNotes/ReleaseNotes.asp

The download page:

http://www.microsoft.com/windows95/downloads/contents/wuadmintools/s_wunetwo
rkingtools/w95sockets2/default.asp?

*************
This corrected the problem. However, I don't know why FOCUS.FLL would need this to run ALL of the functions instead of generating the error ONLY for those functions that require Winsock. There are only a few functions in focus that require Winsock to be installed but focus will generate an error upon load if winsock is not available. Maybe they can correct this issue. I have email Pat to see if this can be accomplished.

Hope this helps!

James
James Moore
Owner/Developer
Ministry Tracking Software, Inc.
www.youthtrack.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform