Software Archive
Read-only legacy content
17061 Discussions

Debugging DLLs used in vba/Excel

Intel_C_Intel
Employee
310 Views
In the past, with DF5.xx and Excel 97 I happily debugged via Excel (appropriate parameters in Project settings launched Excel etc).

With df6.1 and, later, df6.5 I can neither:

(1) build|start debug|go
or
(2) build|start debug|attach to process (i.e. a pre-launched Excel)

I get

MSDEV.EXE: The instruction at "0x50c1820" reference at "0x00000000". The memory could; not be "reached".

and finally

Unhanded Exception in DFDEV.EXE: 0xc0000005: Access Violation

Is there a generic problem or are past "missed errors" now haunting me? [obviously I can send the Project if necessary]
0 Kudos
3 Replies
Intel_C_Intel
Employee
310 Views
Should I stuck to the subject "DLL files with Excel "rather than my new one?
0 Kudos
Steven_L_Intel1
Employee
310 Views
Delete the .OPT file in your project folder. This will probably fix the problem.

Steve
0 Kudos
Intel_C_Intel
Employee
310 Views
Steve: "deleting .opt files" works. Thanks for the rapid response.
0 Kudos
Reply