Tools
vbthr.asc
Associated article: Multithreading and Visual Basic
Tags: Tools
Published source code accompanying Dino Esposito's article in which he presents techniques for implementing multithreading under Visual Basic (which does not support native multithreading). Also see VBTHR.ZIP.
_Multithreading and Visual Basic_ by Dino Esposito Example 1: pfn = GetProcAddress( m_hModule, m_function ); m_hThread = CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)pfn, (LPVOID)m_params, 0, &dwThreadId ); Example 2: hInst = GetWindowLong(hWnd, GWL_HINSTANCE) hwndAni = CreateWindowEx(0, "SysAnimate32", "", ...


