|
From: Jeroen v. d. Z. <je...@fo...> - 2005-11-23 22:22:18
|
On Wednesday 23 November 2005 03:56 pm, Jean-Dominique Barnichon wrote: > I need to measure time to get an idea of the time percentage spent in the different parts of my program. > > In a recent message (see below), the API fxgetticks() was mentionned, but only under gcc. > Is there a solution under WinXP + VC++6.0 ? > > Actually, i tried it but linking fails with the following error : > > error LNK2001: unresolved external symbol "__int64 __cdecl fxgetticks(void)" (?fxgetticks@@YA_JXZ) > > Any idea on how to get it working ? I think I see what the problem is; in file fxutils.cpp, put the following code in front of fxgetticks() implementation: extern FXAPI FXlong fxgetticks(); I will fix it in the library as well; Incidentally, in FOX 1.6, this will work on other platforms besides x86 as well; in particular x86_64, ia64, ppc, hppa, and sparc-v9 [64bit]. - Jeroen |