Click to See Complete Forum and Search --> : creating DLL
promods73
April 28th, 2007, 06:33 AM
hi all,
i am a beginner in C++ windows programming, I want to create a dll file out of my project, so i used __declspec(dllexport) in declaration of the class, but i am only getting .lib file but not .dll file, i am using VS 2005, so please help me out in this.
thank you
kirants
April 28th, 2007, 10:49 AM
What kind of project did you choose when you created ?
When you select new project , you should be prompted with the following options:
Visual C++
+ ATL
+ CLR
+ General
+ MFC
+ Win32
etc..
If you select any of these, for example , MFC, you see options to choose a DLL.
If you choose Win32, you see option Win32 project. If you select this and look at the status text below, it says "A project for creating a Win32 application, console application, DLL, or static library".
So, your first step should be to select the proper type of project. Have you done that ?
golanshahar
April 28th, 2007, 12:12 PM
This article might help: DLL Tutorial For Beginners (http://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c9855/).
Cheers
promods73
May 2nd, 2007, 01:47 AM
I have used MFC Dialog App wizard, i have not opted for DLL option in it, so is there any other way to create a .dll file for this project at this position????
kirants
May 2nd, 2007, 11:54 AM
Easiest would be to create a new one and add the files / resources from the dialog app wizard project
promods73
May 3rd, 2007, 05:41 AM
thanks for the suggestion
codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.