If foxtools.fll is included in the project, try removing it from the project and re-build.
>Sergey
>
>Thanks for the redirect, I will certainly look in more detail later. On a hunch, commented out those two lines of code, rebuild the exe (recompiled all) and am still getting the error. I guess I will have to look further, but I'm not seeing anything that would require msvcr70.dll
>
>Dorris
>
>>It's outdated code from 16-bit FoxPro for Windows. See Message ID:
1231463 on how to do it correctly.
>>
>>>
>>>Working on an old application, not sure if I have the latest and greatest source code, but (of course) the .exe works fine at the development machine, but when we try to run it on a production machine, I'm getting the dreaded "the application has failed to start because MSVCR70.DLL was not found..." error. The line of code in question (I think) is:
>>>
>>> Set Library To "FOXTOOLS.FLL"
>>> MReg=REGFN("SndPlaySound","CI","I","mmsystem")
>>>
>>>An earlier version of the exe works on the production machine, so I'm kinda in a quandry
>>>
>>>Thanks all
>>>
>>>Dorris
If it's not broken, fix it until it is.
My Blog