Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link Command Failed in FoxPro 2.6 under Windows XP

Status
Not open for further replies.

FoxGyver

Programmer
Nov 1, 2002
5
ID
When I try to compile a new prg to exe from FoxPro 2.6, an error was display "Link Command Failed"

Even I try a simple command in the prg such as CLEAR only. FoxPro can't compile the prg. I Try using tamedos 4.5 and no effect.

I try build the exe using Stand Alone Extended option.
 
In the .LNK properties that you use to start up FOXPROX.EXE, make sure the Memory tab has the Extended (XMS) Total set to "Auto", and the "Uses HMA" property is checked. Finally make sure ther linker is in the current FP PATH. Note: Expanded (EMS) memory option should be set to "None", since NT/2000/XP use a bit different model than DOS did.

Rick
 
I have tried the advise from Rick and Dave, but the message "Link Command Failed" still pop up every time I try to compile the prg to EXE file.

Before I use windows XP (Sp2), it works fine on Win 95,98 and 98 SE.
 
Well I know it's not explicitly XP or FPD 2.6a, because I just tried a couple different programs and they worked just fine. Since XP SP2 is still in beta (it hasn't been officially released), I'd be most suspicious of that. Have you tried it under XP SP1? (Note: I'm running XP Pro SP1, with all the current updates - including some that are part of SP2, but they are all official at this point!)

Did you check to see if WLINK8.EXE (linker) and all the .LIB files (especially FOXPROSX.LIB and WOVL.LIB) are present?

Rick
 
Also, take a look at your DKSETUP.INI file. Look and see if there are any settings there that may lead the linker astray. You may need to just delete or rename it so it gets rectreated.
It may be located where you are creating the exe or in your startup directory, or maybe the FOXPRO?? directory.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Finally, I found the solution for the problem I have in the recent weeks.
I use the utility from Win XP - Program Compatiilty Wizard ( available on Progam - Accessories ), and it works fine ! I can compile any of my prg. Thank you all for the help and advise.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top