Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visual Studio 2005 VC++  -  Not generating DLL

Posted on 2013-01-31
7
Medium Priority
?
454 Views
Last Modified: 2013-02-12
Hello Experts
I have visual studio 2005 and add a simple class to try make the DLL, its generating all other files when I build it but not DLL
I have also used the following as well
http://msdn.microsoft.com/en-us/library/ms235636%28v=vs.80%29.aspx

Please can someone adivse how can I go about generating DLL?

Thanks
K
0
Comment
Question by:newbie27
  • 4
  • 2
7 Comments
 
LVL 18

Expert Comment

by:UnifiedIS
ID: 38840637
When you say it is generating all other files, what is it generating?
Is the project set to output a class library?
0
 
LVL 8

Author Comment

by:newbie27
ID: 38841856
Hello, please check the attached screenshot
Scree.jpg
untitled.JPG
0
 
LVL 18

Expert Comment

by:UnifiedIS
ID: 38843638
I created a new C++ class library project and built it and ended up with 2 debug directories.  The one with the .dll is directly beneath the solution directory.
There is also a debug folder inside the project directory that has similar files to your output.  Can you see if you have another debug directory up a level from your untitled screenshot?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 35

Expert Comment

by:sarabande
ID: 38851062
it looks to me as if you only compiled but not linked.

you might right-click on the dll project name in the solution tree and choose the rebuild option. then your output window should show log messages of the whole build which first compiles all sources (cpp files) and then links all object modules (*.obj, *.lib, *.res) to an executable file, in your case a *.dll file.

note, if you encounter a compile error you would need to correct it before you come to the linker step. if the linker misses some object module or input library your output window would show a linker error. in both these cases a dll file was not created.

Sara
0
 
LVL 8

Author Comment

by:newbie27
ID: 38858965
Hello Experts

Thanks for your input. I have finally managed to create a DLL using VS 2010 not sure what was the problem with my 2005, the same project compiled and works great. I can even include the .DLL file in some other vb application.

However, now the problem is when I try to include the newly created DLL in VS 2005 or even run a project on the machine which has no VS 2012 installed , I am getting this error

Unable to load DLL 'LibCurlForDotNet.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Driving me crazy now really... Please can someone advise?

Thanks
0
 
LVL 8

Accepted Solution

by:
newbie27 earned 0 total points
ID: 38859110
0
 
LVL 8

Author Closing Comment

by:newbie27
ID: 38879555
Fixed by checking dependancies
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Introduction to Processes

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question