Profiler Problem in VC6 
Author Message
 Profiler Problem in VC6

The profil item in the Build-Menu is always disabled, although I build
the exe-File with the "enable profiling" flag in the link option.
I use the enterprise version and all relevant options seem to be
installed. Service Packs are not installed.
Has anyone an idea, whats going wrong?

thanks

Peter



Sat, 22 Sep 2001 03:00:00 GMT  
 Profiler Problem in VC6
Quote:
> The profil item in the Build-Menu is always disabled, although I build
> the exe-File with the "enable profiling" flag in the link option.
> I use the enterprise version and all relevant options seem to be
> installed. Service Packs are not installed.
> Has anyone an idea, whats going wrong?

Did you include debug info *inside* the exe file?
A separate .pdb debug file won't do for profiling.

Also (rather arcane) you have to use Microsoft debug
information as specified in the Settings | Link | Debug
tab.... but that's the default anyway....

Also, be sure to run a "rebuild all" that might help.

Greetings
Wessel



Sat, 22 Sep 2001 03:00:00 GMT  
 Profiler Problem in VC6
Peter

I had the same problem, however it was available when I was logged in as
Administrator. So to get around the problem I logged in as administrator and
exported the Registry entries for dev studio then logged in as and imported
the registry which worked. I haven't had time to narrow down what entry was
missing though.

Hope it helps

Dave

Quote:

>The profil item in the Build-Menu is always disabled, although I build
>the exe-File with the "enable profiling" flag in the link option.
>I use the enterprise version and all relevant options seem to be
>installed. Service Packs are not installed.
>Has anyone an idea, whats going wrong?

>thanks

>Peter



Sat, 22 Sep 2001 03:00:00 GMT  
 Profiler Problem in VC6
David,

thank you for your hint: the relevant key in the registry seems to be (in
NT4.0/SP4)
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\General:
ProfilerInstalled= 0x00000001
At least it works in my station.

Thanks a lot.

Quote:

> Peter

> I had the same problem, however it was available when I was logged in as
> Administrator. So to get around the problem I logged in as administrator and
> exported the Registry entries for dev studio then logged in as and imported
> the registry which worked. I haven't had time to narrow down what entry was
> missing though.

> Hope it helps

> Dave

> >The profil item in the Build-Menu is always disabled, although I build
> >the exe-File with the "enable profiling" flag in the link option.
> >I use the enterprise version and all relevant options seem to be
> >installed. Service Packs are not installed.
> >Has anyone an idea, whats going wrong?

> >thanks

> >Peter

--
ISAC GmbH
Friedrichstr. 153a
10117 Berlin
Germany
Phone: (+49) 30-203951-0
Fax:     (+49) 30-203951-29



Mon, 24 Sep 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Profiler in VC6

2. HiProf profiler, using with VC6

3. Problem with PROF profiler on sun unix and cc compiler

4. Watcom v 10 sampler/profiler problem

5. Problems with profiler

6. Link problem with Profiler in VC++ 6.0

7. Problem using the Profiler and program DLL's

8. Problems with Microsoft's Source Profiler

9. Link problem with Profiler in VC++ 6.0

10. Problem with profiler or iostream?

11. VC6 to VC7 migration problem (problem with ATL and MFC)

12. Is it possible to convert my German VC6.0 to an English VC6.0

 

 
Powered by phpBB® Forum Software