Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Browsing    [ Add a report in this area ]  
Report #:  35346   Status: Open
find declaration doesn't work for the export section of a DLL
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Markus Humm
Report Type:  Basic functionality failure Date Reported:  10/17/2006 2:37:20 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   242495
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: 3
Description
The "find declaration" menu doesn't work for exported functions of DLLs.
Steps to Reproduce:
1. Open the attached DLL project in BDS2006
2. Navigate to MyExportProc in exports directive
3. Right click and select "Find declaration" from context menu

exp: Implementation of MyExportProc should be shown
act: nothing

Alternative steps:

1. create a new dll which exports some
   functions or open some existing dll project.

   It should at least separate the export
   section (library file) and the unit where
   the functions are really declared.

2. Place the cursor on one of the functions in
   the exports clause

3. open the context menu and select "show
   declaration"

4. watch you staying exactly where you are,
   that means the IDE doesn't do any search
   buts hints at you it could, since it
   presents that menu item.
Workarounds
Manually search the declaration, which is tiresome and error prone, esp. when several functions with the same name but in different units exist you'll have to find out first which can be meant.
Attachment
QC35346.zip
Comments

Sebastian Modersohn at 10/17/2006 9:09:52 AM -
I can confirm this. I also attached a trivial test case, updated the steps and changed the report into a basic functionality failure.

Server Response from: ETNACODE01