//Declaration
static UINT Thread(LPVOID pParam);
//Definition
UINT Thread(LPVOID pParam)
{
//Thread Part
while( ((GUIView*)pParam)->Thread_B )
{
//Time delay
Sleep(100);
//Processing
((GUIView*)pParam)->DoProcessing();
}
return 0;
}
//Thread Begin
void GUIView::BegainThread()
{
Thread_B = true;
::AfxBeginThread(Thread, this);
}
9/08/2012
Making thread on MFC (example source code)
Simple source code
Subscribe to:
Comments (Atom)
-
Google Coral USB Edge TPU Implementation Guide 1. Installation and Troubleshooting 1.1 Hardware Requirements Google Coral USB Accelerator ...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
This is data acquisition source code of LMS511(SICK co.) Source code is made by MFC(vs 2008). The sensor is communicated by TCP/IP. ...
-
ONNX Runtime with ROCm (AMD GPU) Setup Guide Installation Prerequisites ROCm installed (6.0+ recommended) Python 3.8-3.10 Install ONNX Runti...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
MareArts ANPR mobile app Download on App Store https://apps.apple.com/app/marearts-anpr/id6753904859 Experience the power of MareArts ANPR...
-
Background subtractor example souce code. OpenCV support about 3 types subtraction algorithm. Those are MOG, MOG2, GMG algorithms. Det...
-
Created Date : 2011.2 Language : C/C++ Tool : Microsoft Visual C++ 2010 Library & Utilized : OpenCV 2.2 Reference : Interent Refer...
-
Average by 2 steps moving window . import pandas as pd data = [ 100 , 200 , 100 , 100 , 200 , 100 ] df = pd.DataFrame(data) df.rolling(...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...