Make sure you've also got msvcp71.dll
--
rk
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Jeff Roberts Sent: Tuesday, July 1, 2025 9:36 PM To: profoxtech@leafe.com Cc: profoxtech@leafe.com Subject: Re: Issues with codemine.flll and msvcrt.dll
Here's an update in case anyone has any other ideas. I've tried copying msvcrt.dll (both one from syswow64 and system32, same results), msvcr70.dll, and msvcr71.dll into the application folder, and I am also running the commands below before I try to do source\appmain.prg. I verified I have codemine.fll in the project's root. However, I am still getting that same "The files codemine.fll and msvcrt.dll must be placed in the application directory or in your Windows system directory." error message. I'm somewhat at a loss. I am not entirely out of options; I can make changes, build the executable, and run it, but it would be much easier if I could run everything from Visual FoxPro. I don't know if it is pertinent, but I believe this application was running in a previous version of Visual FoxPro. I only had VFP6 and VFP9 on hand, so I used VFP9.
set defa to "C:\development\Projects\app_files\project"
set path to c:\fox\xsource\vfpsource\builders additive
set path to "C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc" additive
set path to "C:\Program Files (x86)\Microsoft Visual FoxPro 9\Gallery" additive
set path to "C:\Program Files (x86)\Microsoft Visual FoxPro 9" additive
set path to "C:\Program Files (x86)\Microsoft Visual FoxPro 9\Graphics\Icons\Arrows" additive
set path to "C:\fox\xsource\VFPSource\builders" additive
set path to "C:\fox\xsource\VFPSource\Wizards\wzcommon" additive
SET PATH TO "C:\codemine\common50\cmapp.vcx" additive
SET PATH TO "C:\codemine\common50" additive
SET PATH TO "C:\development\Projects\app_files\project\source" additive
SET PATH TO "c:\windows\syswow64" additive
CD C:\development\Projects\app_files\project
SET LIBRARY TO codemine.fll additive