mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 15:55:53 +01:00
dc95249786
[*] samples/LibTest/CvLatentSvmDetector/latentsvmdetect.dpr Initiated translation of the C++ part OpenCV library using wrapper in the form of interfaces An example of technology - see * Opencv_classes\opencv_classes.sln (VC2010) * Include\opencv_classes\opencv_classes.pas * Samples\Classes\Mat\Mat.dpr Submitted comments and suggestions Signed-off-by: Laex <laex@bk.ru>
20 lines
384 B
C++
20 lines
384 B
C++
// dllmain.cpp: îïðåäåëÿåò òî÷êó âõîäà äëÿ ïðèëîæåíèÿ DLL.
|
|
#include "stdafx.h"
|
|
|
|
BOOL APIENTRY DllMain( HMODULE hModule,
|
|
DWORD ul_reason_for_call,
|
|
LPVOID lpReserved
|
|
)
|
|
{
|
|
switch (ul_reason_for_call)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
case DLL_THREAD_ATTACH:
|
|
case DLL_THREAD_DETACH:
|
|
case DLL_PROCESS_DETACH:
|
|
break;
|
|
}
|
|
return TRUE;
|
|
}
|
|
|