The Method to make DLL and using / C++ / Class DLL 만들기

Created Date : 2011.08.
Language : C++ /MFC
Tool : Visual Studio C++ 2008
Library & Utilized : -
Reference : -
Etc. : -

*Make DLL
1. create project

2. create basic class
 3. Add functions

Now, we will  process theses functions in the new class.
Because we donn't want to exposure source code of function.
So we made interface class for dll distribution.

4. Create Class #1
This is class for basic calculation. (+,-,/,*)

5. Create Class #2
This is class for squre, sqrt calculation.

6. Use Class #1, Class #2 in the Dll interface class.

7. Compile and Use dll, lib, h at other program.

*Use DLL
1. Make project

2. Copy lib, dll, h into new project folder.

3. Write dll file name into Additional library

4. Now, let's program using dll

Source code <here>

In the source code, Making DLL and Using DLL projects are included.
And also there is a document but it is written by korean but it is same content with I posted.
Thank you.

Plz give me your valuable opnion.
And I want to your comment about my broken english.


Popular posts from this blog

OpenCV Stitching example (Stitcher class, Panorama)

(OpenCV Study) Background subtractor MOG, MOG2, GMG example source code (BackgroundSubtractorMOG, BackgroundSubtractorMOG2, BackgroundSubtractorGMG)

Example source code of extract HOG feature from images, save descriptor values to xml file, using opencv (using HOGDescriptor )

Real-time N camera stitching Class.

8 point algorithm (Matlab source code) / The method to get the Fundamental Matrix and the Essential matrix

Optical Flow sample source code using OpenCV

Video Stabilization example source code, (using cvFindHomography, cvWarpPerspective functions in openCV)

(OpenCV Study) calcOpticalFlowFarneback example source code ( dense optical flow )

yuv422(YUYV) to RGB and RGB to yuv422(YUYV), (Using OpenCV and TBB)

OpenCV Drawing Example, (line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours)