Hi Massimo,

----- Original Message ----- From: "Massimo Belgrano" <[EMAIL PROTECTED]>
To: "Harbour Project Main Developer List." <[email protected]>
Sent: Tuesday, September 02, 2008 6:30 AM
Subject: [Harbour] Where find reference for unresolved external


What can be done for messages unresolved external "XYZ"?

Add the missing library!

How find wich is the library?


Assumptions:
1. windows
2. libs are off c:\harbour\lib
3 unresolved external is _hb_fun_token (probably uppercased)

You can use findstr to find the missing external.

Example:
 findstr /i /s/m /c:_hb_fun_token c:\harbour\lib\*.*
 c:\harbour\lib\b32\hbct.lib
 c:\harbour\lib\b32\hbvpdf.lib

The example finds two libraries that either have or required the external. If it's not obvious which you need to use, you can find out what's in a library before you include it.

Another assumption:
4. You are using Borland's compiler which has tlib as the library manager.

 tlib hbvpdf.lib , hbvpdf

The command above with generate all the functions that are in the hbvpdf.lib. I see the following files in hbvpdf.lst so you should be able to use the library hbvpdf as well as hbct to resolve a missing token() reference.

Publics by module

hbvpdf          size = 32610
       _HB_FUN_ALLTOKEN                  _HB_FUN_ARRAY2FILE
       _HB_FUN_ATTOKEN                   _HB_FUN_CHR_RGB
       _HB_FUN_FILE2ARRAY                _HB_FUN_FILEPOS
       _HB_FUN_FILESIZE                  _HB_FUN_NUMAT
       _HB_FUN_NUMTOKEN                  _HB_FUN_PDFADDBUFFER
       _HB_FUN_PDFATSAY                  _HB_FUN_PDFBOLD
       _HB_FUN_PDFBOLDITALIC             _HB_FUN_PDFBOOKADD
       _HB_FUN_PDFBOOKCLOSE              _HB_FUN_PDFBOOKOPEN
       _HB_FUN_PDFBOX                    _HB_FUN_PDFBOX1
       _HB_FUN_PDFCENTER                 _HB_FUN_PDFCLOSE
       _HB_FUN_PDFCLOSEHEADER            _HB_FUN_PDFCREATEHEADER
       _HB_FUN_PDFDELETEHEADER           _HB_FUN_PDFDISABLEHEADER
       _HB_FUN_PDFDRAWHEADER             _HB_FUN_PDFEDITOFFHEADER
       _HB_FUN_PDFEDITONHEADER           _HB_FUN_PDFENABLEHEADER
       _HB_FUN_PDFFILEPRINT              _HB_FUN_PDFHEADER
       _HB_FUN_PDFIMAGE                  _HB_FUN_PDFIMAGEINFO
       _HB_FUN_PDFITALIC                 _HB_FUN_PDFJPEGINFO
       _HB_FUN_PDFLEN                    _HB_FUN_PDFMARGINS
       _HB_FUN_PDFNEWLINE                _HB_FUN_PDFNEWPAGE
       _HB_FUN_PDFNORMAL                 _HB_FUN_PDFOPEN
       _HB_FUN_PDFOPENHEADER             _HB_FUN_PDFPAGENUMBER
       _HB_FUN_PDFPAGEORIENT             _HB_FUN_PDFPAGESIZE
       _HB_FUN_PDFREVERSE                _HB_FUN_PDFRJUST
       _HB_FUN_PDFSAVEHEADER             _HB_FUN_PDFSETFONT
       _HB_FUN_PDFSETLPI                 _HB_FUN_PDFSTRINGB
       _HB_FUN_PDFTEXT                   _HB_FUN_PDFTEXTCOUNT
       _HB_FUN_PDFTIFFINFO               _HB_FUN_PDFUNDERLINE
       _HB_FUN_SWPRUNCMD                 _HB_FUN_TOKEN

hbvpdft         size = 38378
       _HB_FUN_TPDF

hbvpsup         size = 7850
       _HB_FUN_VPDF_FONTSDAT

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to