Solved

Visual Studio 2005 VC++  -  Not generating DLL

Posted on 2013-01-31
7
438 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 33

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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 …

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now