Page 1 of 2
FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun Sep 04, 2022 3:16 pm
by nageswaragunupudi
Please build and execute
fwh\samples\fwfuncs.prg
![Image](https://imagizer.imageshack.com/v2/xq90/923/Dboowj.jpg)
This sample program is available from FWH version 19.01 onwards.
Note:
This program requires Borland compiler installed on your PC.
Please see this line near the top of the program.
- Code: Select all Expand view
static cBccFolder := "c:\bcc7\" // your bcc folder here
Set your bcc folder name here.
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun Sep 04, 2022 6:39 pm
by Otto
Dear Mr. Rao,
Thank you so much. I did not know this function.
Best regards,
Otto
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun Sep 04, 2022 8:03 pm
by TimStone
For those of us who do not have, or use, Borland, it would be nice to have access to this program.
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun Sep 04, 2022 11:30 pm
by Antonio Linares
Dear Tim,
fwfuncs.prg is available from FWH\samples and you can build it using buildh32.bat fwfuncs using MSVC
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Sep 05, 2022 5:52 am
by Antonio Linares
But there should be a Borland folder. Because this program uses bcc's lib.exe to extract module and function names from the libs
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Sep 13, 2022 8:43 pm
by Marc Venken
If I want this program to show my functions, I looks that I need to make a LIB ?
Is there a easy way ? I have 2 prg files but most of them are in 1 prg file.
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 14, 2022 5:01 am
by Antonio Linares
Dear Marc,
tlib.exe mylib.lib + myprg1.obj myprg2.obj ...
in case you want to replace the OBJs inside it:
tlib.exe mylib.lib -+ myprg1.obj myprg2.obj ...
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 14, 2022 8:31 am
by Marc Venken
Making the lib is ok.
The program is making a LST file from the lib, but when I make a LST file from my lib
WaitRun( cBccFolder + "bin\tlib.exe ..\lib\maveco.lib, maveco.lst " )
the content is :
No public symbols exist.
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 14, 2022 9:04 am
by Marc Venken
This program is reading all functions from the libs.
It is correct that it will not read any functions that are used in prg's from to sample dir ?
Maybe this can be added to the program ? There are very interesting functions written by users and I test them in the samples dir, so they sit there waiting to be explored )))
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 15, 2022 6:11 am
by Antonio Linares
Dear Marc,
How did you solved it ? glad to know it is working.
Yes, you are right, there are so many examples and users code that it is difficult to have it properly organized
![Smile :-)](./images/smilies/icon_smile.gif)
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 15, 2022 6:22 am
by Marc Venken
Antonio Linares wrote:Dear Marc,
How did you solved it ? glad to know it is working.
Yes, you are right, there are so many examples and users code that it is difficult to have it properly organized
![Smile :-)](./images/smilies/icon_smile.gif)
I did not solve it.
I was just able to make the lib that is giving a empty .LST file, so the program wont read the functions. Therefore I asked if it is possible to read the prg from samples folder en read those functions into it.
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 15, 2022 6:28 am
by Marc Venken
Antonio Linares wrote:Dear Marc,
Yes, you are right, there are so many examples and users code that it is difficult to have it properly organized
![Smile :-)](./images/smilies/icon_smile.gif)
We have now 3 programs that can read the forum content. I wonder if one of them could also extract the source code and/or functions that are used in the topics. Maybe a FLAG that there is sourcecode into a topic can be shown ?
We know then were to look for sample code. I have ideas, but can not program them, sorry
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 15, 2022 6:56 am
by Antonio Linares
Dear Marc,
> We have now 3 programs that can read the forum content
Where are them ? Could you please point them ? thank you
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 15, 2022 10:30 am
by Marc Venken
Antonio Linares wrote:Dear Marc,
> We have now 3 programs that can read the forum content
Where are them ? Could you please point them ? thank you
The latest from Jimmy :
viewtopic.php?f=3&t=35170&p=253005&hilit=jimmy&sid=fa32be760e6ea5217537aac610fed512#p253005The biggest from Uwe :
viewtopic.php?f=3&t=35170&hilit=jimmy&start=105#p211936The original from Mr. Rao :
viewtopic.php?f=3&t=33496
Re: FWH: All functions, classes, methods with source code
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 15, 2022 6:58 pm
by Antonio Linares
Thank you Marc,
We have three great tools there
![Smile :-)](./images/smilies/icon_smile.gif)