Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Create a DLL in c + + with OOP

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 28-11-2009
Member
 
Join Date: Aug 2009
Posts: 40
Create a DLL in c + + with OOP

I have created a program in VC + +, and i would like to run or compile classes and use that DLL in another project. Which can be called upon from other applications to enhance their functionality of creation of DLLs which are in program C or Dll standard, there is no creation of dll with classes. how to create a DLL? Thank you in advance.
Reply With Quote
  #2  
Old 28-11-2009
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
Re: Create a DLL in c + + with OOP

just create a new project "Dynamic Linked Library" (or is it under VS + +), Otherwise, it's the same thing with a normal project, except that there is no program and there is a macro to the name of each class that you exported (generated automatically by VS).
Reply With Quote
  #3  
Old 28-11-2009
Member
 
Join Date: Jan 2009
Posts: 199
Re: Create a DLL in c + + with OOP

DLLs (Dynamic Link Libraries) are an important aspect of Windows. A DLL contains functions that your executable program can call during execution. In other words, a DLL is a library of functions that your program can link with dynamically. Every DLL must contain a LibMain function and should contain a Windows Exit Procedure (WEP) in addition to the exported functions that can be called by an executable program. Check this Microsoft guide for ore information : How To Write C DLLs
Reply With Quote
  #4  
Old 28-11-2009
Member
 
Join Date: Dec 2008
Posts: 177
Re: Create a DLL in c + + with OOP

A DLL is simply a set of compiled programs (just like a .obj that is created by your compiler). So, you can link the DLLs with any of your projects, If you want to write Windows DLL's in C++ you certainly can. You just need to write wrapper functions to export the function names to other Windows applications.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Create a DLL in c + + with OOP"
Thread Thread Starter Forum Replies Last Post
Create PDF in MAC OS X Elieis Windows Software 5 09-01-2010 02:16 AM
Create mds from mdf superdave1984 Windows Software 4 01-12-2009 04:06 PM
How to create ftp in iis attitude.ashwin Networking & Security 3 13-07-2009 07:38 PM
Help! Vista Cannot create dialup/VPN connections "The wizard cannot create the connection" licensetokill007 Windows Vista Network 14 27-04-2009 03:22 PM
How to create AD Lab Job Active Directory 5 19-12-2008 06:56 PM


All times are GMT +5.5. The time now is 04:04 AM.