//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:
Posts (Atom)
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
Mounting Remote Data for GPU Training This guide explains how to access data from Computer A (data server) on Computer B (GPU machine) for...
-
line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours example source code!!. ... //http://study....
-
I once wrote the following article. http://study.marearts.com/2014/04/opencv-study-mat-point-access-method.html This article is a sample c...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
refer to this code: . # If you want to combine a Vision Transformer (ViT) as an encoder with a Transformer-based decoder, # you can follow t...
-
EMD(earth mover distance) method is very good method to compare image similarity. But processing time is slow. For using the EMD compare, ...
-
dp parameter is about resolution of voting space. dp is larger, voting resolution is small compare to image size. so dp is larger, circle...
-
fig 1. Left: set 4 points (Left Top, Right Top, Right Bottom, Left Bottom), right:warped image to (0,0) (300,0), (300,300), (0,300) Fi...
-
Complete Tutorial: LabelMe with Login System and Dataset Management This guide provides step-by-step instructions for setting up LabelMe wit...