Monthly Archive: April 2016

Call to undefined function curl_init() 0

Call to undefined function curl_init()

You need to uncomment extension=php_curl.dll But it might not work! If it doesn't it just means you are editing the wrong php.ini or that no php.ini is used. Verify what is the status by...

CloseHandle HANGS on HANDLE created from CreatePipe 0

CloseHandle HANGS on HANDLE created from CreatePipe

Solution Add CloseHandle(hChildStd_OUT_Wr) after CreateProcess(...) Problematic Code THREAD1: HANDLE hChildStd_OUT_Rd; HANDLE hChildStd_OUT_Wr; CreatePipe(&hChildStd_OUT_Rd, &hChildStd_OUT_Wr, &saAttr, 0); PROCESS_INFORMATION piProcInfo; STARTUPINFO siStartInfo; BOOL bSuccess = FALSE; // Set up members of the PROCESS_INFORMATION structure. ZeroMemory( &piProcInfo,...

QObject: Cannot create children for a parent that is in a different thread. 0

QObject: Cannot create children for a parent that is in a different thread.

Verifying sig of "/var/folders/zq/8tgn5xxs6xjdmhky_c3x3s79yx39ym/T/HaivisionHelper_sample-outputter/checksum_7158d01e2df962079a3cda50ed56df92/sample-outputter" Going to launching... After launching... QObject: Cannot create children for a parent that is in a different thread. (Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070) QObject:...

Redirect output in QtProcess 0

Redirect output in QtProcess

Method 1 - process->setStandardOutputFile() with process->start() Pro: - Easy to program Cons: - Does not work with process->startDetached(). Only works with process->start() - Only write to the file once the process exit. The file...

Add to PATH on OSX 10.11 0

Add to PATH on OSX 10.11

[MTL-MAC-095:~/] flemieux% set path = ($path /Users/flemieux/Qt5.4.2/5.4/clang_64/bin) [MTL-MAC-095:~/] flemieux% echo $path /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/flemieux/Qt5.4.2/5.4/clang_64/bin