I have to develop a C++ DLL using Visual Studio 6 (don't ask why!) I am supposed to start from a template DLL project and then add functionality. Documentation states that I need to copy certain files from the template project into my project. However, when I open the template project in VS6, I see that all of these files, while being listed as part of the project, don't actually exist but are instead generated. When I click on them, they are generated empty. I was told that they are not supposed to be empty. So it looks as if there is some sort of problem with their generation. Hence a couple of questions:
- Where in the template project settings can I find the details of how these files are supposed to be generated and what they are actually supposed to contain?
- If they are generated empty, what could be a possible cause for this?

Thanks much!

Recommended Answers

All 2 Replies

What kind of a dll did you create? I have VC++ 6.0 w/SP3 on Windows 7 and created an MFC dll, using all the default settings, and VC++ 6.0 generated eight files, none of them empty. Perhaps you need to reinstall the compiler.

>>Documentation states that I need to copy certain files from the template project into my project
Which files? Do you have custom templates on your computer that either you or someone you work with have created? If yes, then you will probably have to get them from whoever created them.


>>Documentation states that I need to copy certain files from the template project into my project
Which files? Do you have custom templates on your computer that either you or someone you work with have created? If yes, then you will probably have to get them from whoever created them.

This is exactly what I am trying to figure out and I need help determining what settings in the template project I need to look at to determine how these files are auto-generated and what might be going wrong with the generation. By the way, the template project is just a C++ DLL project named "template" created many moons ago in VS6.

So, again: What project settings should I look at to determine how these files are supposed to be generated? Where should I look for signs of what went wrong when the files were generated empty?

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.