- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to step into and debug a DLL project but I can't seem to be able to do it (I am using CVF version 6.6C). I checked the sample DLL projects provided byCVFand the step into/debug operation works fine with these samples. Cansomebody tell mehow I might be able to achieve this with my project?
Here is what I did:
1. I created a DLL (call it MyDLL) project and exported 3 functions.
2. In the same workspaceI created a windows console project (call it Test) that included a main program to test the DLL.
3. I made MyDLL a dependency of Test.
4. I changed the Linker settings so that MyDLL.dll is created in the Test folder so that Test.exe can find the dll.
5. I experimented with including and excluding the MyDLL.lib file in Test. The outcome is the same; i.e. I can't step into MyDLL for debugging.
I can compile both projects without any problem. Test.exe can find MyDLL.dll. When I use "Step Into" button for the call to the first function from MyDLL, it doesn't work. The effect is as if I pressed the "Step Over" button. But from the text output created by the functionit appears that the function works correctly. Then thecall to the second function crashesTest.exe. If I can step intoMyDLL code, I can figure out what the problem might be.
Thanks for any help in advance,
Jon
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page