First  |  Prev |  Next  |  Last
Pages: 80 81 82 83 84 85 86 87 88 89 90 91 92 93
CFtpConnection::PutFile and ProgressBarCtrl
I am using the CFtpConnection::PutFile and GetFile for transfering files between my local pc and the ftp server. In need to put a progress bar for indicating the size uploaded or downloaded. In msdn helps it says that CInternetSession::OnCallBackStatus can be used to achive this. But How to use it?? Can anyon... 15 Jul 2005 17:24
Forcing a thread to terminate
I've got the ever so fun job of working with a 3rd-party API that has the ability to not return until new data is acquired. I have instances of a thread that call this API function, and can end up hung on that execution. During the shutdown process for the application, and / or recovery, I need to terminate these... 15 Jul 2005 16:22
Problem with blocking of main thread with other thread
I have a problem with blocking of main thread: My application contains an interpreter and I need to write a debugger for it. The mainframe creates a thread that is interpreting instructions. When I need to break execution of instruction thread, I use WaitForSingleObject(m_WaitEventHandle, INFINITE); in the ... 10 Jul 2005 14:40
Undeclared identifier error in file "xlocnum"
I installed the Platform SDK and DX9.0 SDK. I am trying to compile a sample project and I get the following error: c:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2065: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : undeclared identifier c:\program files\microsoft v... 7 Jul 2005 18:28
DumpStack
Hi, Is there a function that retrieves the trace of the stack ? Yoav. ... 6 Jul 2005 03:40
CFile::GetLength error in processing HUGE file.
Hiýý I have a question about my VC6 app. I read a huge binary file, which is >4GB. An exception will throwed when I run to the code below: .... CFile fileSrc(strSrcFilePath,CFile::modeRead); dwSrcLen = (unsigned long)fileSrc.GetLength(); <--- this row of code results in error! .... My app hangs in EINCOR... 5 Jul 2005 11:43
VFW, webcam, image format
Hello, I'm trying to grab pictures from a webcam with Video For Windows (VFW). The source code I use is the following: HWND _capwnd = capCreateCaptureWindow("Capture",WS_POPUP,0,0,1,1,0,0); capDriverConnect(_capwnd,0); capGrabFrame(_capwnd); capEditCopy(_capwnd); OpenClipboard(NULL); HB... 1 Jul 2005 08:52
afxwin1.inl - Debug Assertion Failed
I am running the debugger in VC++ 6.0. It says the assert is on the following line (27): { ASSERT(afxCurrentAppName != NULL); return afxCurrentAppName; } This happens when one of my dlls is executing. I tried adding the following as a global in the main code, but this did not help. CWinApp MyApp("xxxx")... 29 Jun 2005 17:46
File Version without GetFileVersionInfo
Hello, I want to add a function to my DLL to return its file version: Is there a way to retrieve the file version from the string table *without* calling GetFileVersionInfo()? or Is there a way to *set* the file version in the string table using another parameter (which I could then retrieve somehow else)... 22 Jun 2005 01:32
What could cause ::MessageBox to fail?
I've found a very weird MFC glitch, and I'm wondering if anyone can cast any light on it. Repro: VS.Net 2003; start new MFC project, make it a dialog app. Add a handler to OnOK(): void CexittestDlg::OnBnClickedOk() { ::MessageBox(0, "foo", "bar", MB_OK); // works DestroyWindow(); // yes, I ... 20 Jun 2005 11:58
First  |  Prev |  Next  |  Last
Pages: 80 81 82 83 84 85 86 87 88 89 90 91 92 93