create dll in visual studio express

Hi everybody,
I have a c file and a h file i have written, which compile successfully. I want to make this into a dll. I know this is kind of a newbie question, but how would I go about doing this in Visual C++ 2005 Express Edition I am not too proficient with using Visual Studio yet, so a step by step guide woudl be extremely helpful.

Thanks a lot!
Kiran


Answer this question

create dll in visual studio express

  • lms07424

    As mentioned in the original post, you need to install the Microsoft Platform SDK (as described here - http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/) to enable the DLL option.

    Cheers,

    =Per

  • javert

    First of all, do you have the PlatformSDK installed. This isn't really necessary but using the major guide on installing this opens up the easy way of creating DLLs. Here is the link to the guide for installing the PSDK. The last step is what you really need in this.

    Once this is done you create the DLL project in this way.

    New Project->Visual C++->Win32->Win32 Console Application.

    This opens up the wizard. Select next and on the second page make sure to select the DLL radio button. When you create the project then, you will have the project set to create a DLL file.



  • Sweeps78

    Take a look at using the /LD option. For more information and hot to set that through the IDE, please take a look at http://msdn2.microsoft.com/en-US/library/2kzt1wy3.aspx

    Hope this helps!

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Ron Rice

    First of all, do you have the PlatformSDK installed. This isn't really necessary but using the major guide on installing this opens up the easy way of creating DLLs. Here is the link to the guide for installing the PSDK. The last step is what you really need in this.

    Once this is done you create the DLL project in this way.

    New Project->Visual C++->Win32->Win32 Console Application.

    This opens up the wizard. Select next and on the second page make sure to select the DLL radio button. When you create the project then, you will have the project set to create a DLL file.

    Well, that's all very well, but the DLL option is greyed out in my version.


  • create dll in visual studio express