|
| |||||||||
| Tags: classes, dll, program c, vc |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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. |
|
#2
| ||||
| ||||
| 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). |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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. |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 |