Hello,
I would like to know if FireFly is compatible with the "PROFILE statement" ?
I try to put the PROFILE statement at the end of the FF_WINMAIN() without any success; the profile report is generated but almost of the "Call Count" are zero ? I don't know why.
Any ideas ?
Thanks,
Jean-Pierre
Hi Jean-Pierre,
The PB Help file states:
"For the best results in executable files, the PROFILE statement should be the last statement executed in the PBMAIN/WINMAIN function."
This would indicate that the Profile should be one of the last statements executed in your program. Therefore, the best place (in FireFly) to put this statement would be in the WM_DESTROY event handler in the main form of your application. I tested this and it does appear to be the place where it should go.