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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

finding undefineds

Status
Not open for further replies.

DanNorris2000

Technical User
Joined
Nov 10, 2000
Messages
186
Location
US
Ran creating an executable. I got several errors
such as
Visual Class library.... \tsbase.vcx has the following errors
frsrec_s.bmp - undefined
Unknown ISTAG - Undefined
How do you find where these are used so that I may correct or remove?
 
use the class browser and create a coded version of your class library. Just use the satandard 'find' and you'll find where the undefined variables/procedure calls are used.

Menu: Tools/Class browser.
open the class library and choose the toolbarbutton 'Create class code' and use CTRL+F to find them.

HTH,
Weedz (Edward W.F. Veld)
My private project:Download the CrownBase source code !!
 
Locate these files, and include them in your project. You may also need to include the path to that VCX in your VFP PATH.

Rick
 
some of the.bmp's that it can't find I do not want anyway. One .bmp is said to exist in a form that I have, but I can't find it referenced anywhere in the form. Another .bmp use to be part of a tabbed form. That particular tab was removed long ago.
thanks
 
When building the EXE from the project and it complains about the missing routine, tell it "Ignore All". It'll log the errors in the project's error log; it should have the same name as the project file but with an .ERR extension. This should list the locations of the missing procedures.
 
Yes. I have seen the log and it does list the locations of the missing items. I just doesnt appear to be correct. I have a very simply form that the error log says is missing a bmp file, but when I edit the form I see no object that might have referenced that file. a search of code revealed nothing either.
 
How about hacking the form .scx and seeing if it might be somewhere in there. Also, have you run the 'cleanup' thing on the project before you build / compile it? Dave Dardinger
 
Better than Hacking each .SCX, try the GoFish tool that can be downloaded from ... It automatically searches every VCX/SCX/FRX/PRG/MNX (and a few others I can't remember,) that are in the search directory (or that are in the search project).

It's really easy to use and effective!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top