Solved

Visual Studio 2005 VC++  -  Not generating DLL

Posted on 2013-01-31
7
446 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 
LVL 34

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

Independent Software Vendors: 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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

751 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