First  |  Prev |  Next  |  Last
Pages: 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
SetWaitableTimer issues
Hi there, MyApp creates a thread. And that thread uses CreateWaitableTime, SetWaitableTimer, WaitForSingleObject. But the problem my app is facing is if I go for the following code VOID CALLBACK TimerProc(LPVOID lpArgToCompletionRoutine, DWORD dwTimerLowValue, DWORD dwTimerHighValue) { //my code here; } ... 24 Mar 2006 12:04
linker problem: __iob
I am getting the following error when compiling a project: jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob referenced in function _output_message I am having to ignore libcmt.lib as I am getting many linker errors when it isnt ignored. Does anybody know how I can resolve the above link... 23 Mar 2006 04:49
Question on CreateProcess / WinExec...
I'm using a call to WinExec, but in trying to get my code to compile under unicode, this call is not supported. I'm looking at CreateProcess and it looks like it requires you to close some handles or you'll leak. But WinExec works in an async way, how can I make CreateProcess work in an async way and not leak t... 23 Mar 2006 04:49
Q: Call _endthreadex or not?
Hi, I read the following in the March 2005 MSDN: "You can call _endthread or _endthreadex explicitly to terminate a thread; however, _endthread or _endthreadex is called automatically when the thread returns from the routine passed as a parameter to _beginthread or _beginthreadex." This lets me b... 22 Mar 2006 18:30
Antialiasing
I am drawing lines and curves using API functions: LineTo( ) and PolyBezierTo( ) is there any easy way to antialias the lines and curves to give them a "smooth" look? I am using Windows 98 and XP. Cheers, Allan Murray ... 19 Mar 2006 08:10
Book (Tutorial) Suggestion?
I just downloaded Microsoft Visual C++ 2005 Express Edition and I installed the Platform SDK for it. Now I need to learn how to use the Kit and how to create Windows programs. Can anyone recommend a book or two that can teach a newbie like myself how to create windows programs using this software? (I'm rea... 11 Mar 2006 21:27
WMI, C++, PercentIdleTime, PercentProcessorTime and a Remote Windows 2003 Multiprocessor Box
Hello, Firstoff, I apologize for the cross-post. I have an odd problem accessing Win32_PerfRawData_PerfProc_Process::PercentProcessorTime and Win32_PerfFawData_PerfOS_Processor::PercentIdleTime counters on a remote Windows 2003 box with four processors. The process returns correct results from remote WinXPP... 10 Mar 2006 22:10
static text as hyperlink problems
I'm trying to make static text in a dialog box behave like a hyperlink using plain vanilla Win32 (no MFC) - in VC++ Before I implement the ShellExecute bit on WM_LBUTTONDOWN I need to get some things working... 1. I would like to change the text color when the mouse hovers over the text. The program is able t... 9 Mar 2006 13:27
Transparent Windows
Dear all, How do I make a Window transparent in Win32? No MFC please, I'm not allowed to use it! Carly ... 7 Mar 2006 08:17
ShellExecuteEx and a PIDL
Here's my code: void OpenLink(int CSIDL) { LPITEMIDLIST pidl; if (SHGetSpecialFolderLocation(NULL,CSIDL,&pidl)!=S_OK) { MessageBox(NULL,"Failed!",NULL,MB_OK); return; } SHELLEXECUTEINFO sei={0}; sei.cbSize=sizeof(sei); sei.fMask=SEE_MASK_IDLIST; sei.lpIDList=pidl; sei.lpVerb="open"; sei.nShow=SW_SHOWNOR... 16 Mar 2006 05:53
First  |  Prev |  Next  |  Last
Pages: 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260