Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging DLL gives RTE File Not Found

Status
Not open for further replies.

wfbeach

Programmer
May 15, 2002
2
US
I am new to Visual Basic 6.0 (Prof Ed), Visual C++ 6.0 and Visual Studio 6.0. I am using DLLs written in C to provide custom functions for Visual Basic applications.

I now need to debug the DLL C code, and to that end have successfully compiled a debug version of my DLL.

I have also generated an EXE file from the Visual Basic calling app, and the application runs indistinguishably well (properly using the DLL functions) whether I run it interpretively from within Visual Basic, or from the precompiled Visual Basic EXE file. The Basic Declare Sub/Function Lib strings of course all point to the Debug version of the DLL.

I have made the EXE and DLL file references needed for debugging in Project->Settings->Debug of the Viual
C++6.0 DLL project. I use the full path in each case.

However, when I attempt to debug from within the DLL project, I consistantly get a Run Time Error '53'
File Not Found, followed by app termination. The Debug Output verifies that Symbols were Loaded for the proper debug version of the DLL, and that the proper version of the basic application's EXE file was Loaded.

Suggestions anyone?

 
This is to report that I was able to do the needed debugging of the DLL by writing a stub Visual Basic app containing only functions that called the DLL routines. I'd still like someone explain to me what sort of file VB looking for, that it needs when the DLL it uses is debug compiled and doesn't need when the DLL is release compiled.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top