comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
December 2007
motuwethfrsasuw
     12 48
3456789 49
10111213141516 50
17181920212223 51
24252627282930 52
31       1
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  WIN32 Application - cout does not work...         


Author: mearvk
Date: Dec 29, 2007 13:00

So I'm modding this file and I'm trying to put in some print
statements for debugging purposes. The .exe compiles fine and even
gives me runtime errors (stderr.txt) but it won't print to the cmd
line for debugging. I'm new to C++ so don't overlook any obvious
problems. I've tried cout and fprint and neither works. Let me know if
you need anything else for debugging.

Thanks ahead of time!

// Berkeley Open Infrastructure for Network Computing
// http://boinc.berkeley.edu
// Copyright (C) 2005 University of California
//
// This is free software; you can redistribute it and/or
// modify it...
Show full article (7.00Kb)
2 Comments
  Serial communication errors and fAbortOnError=FALSE?         


Author: Jef Driesen
Date: Dec 29, 2007 10:29

What happens if a serial communication error occurs with the setting
fAbortOnError=FALSE? Are read and write operations terminated with an
error code (just like with fAbortOnError=TRUE, but no need to use
ClearCommError here) or is the error silently ignored. The MSDN
documentation [1,2] is not very clear on this.

If no error is returned, how do I know the read or write operation was
successfully?

[1] http://msdn2.microsoft.com/en-us/library/aa363214.aspx
[2] http://msdn2.microsoft.com/en-us/library/aa363180.aspx
2 Comments
  Memory Performance Tweak         


Author: smartfix
Date: Dec 29, 2007 09:06

These Settings will fine tune your systems memory, management -at
least 512MB of ram recommended, go to start\run\regedit -and then to
the following key http://software-hacks.blogspot.com/
3 Comments
  SHGetFolderPath() returns wrong foler path?         


Author: diandaolly
Date: Dec 29, 2007 05:08

Hi all,

I'd like to get the local app-data directory on my Windows XP
(Brazilian Portuguese version).

I tried the following code:
::SHGetFolderPath(NULL, CSIDL_LOCAL_APPDATA, NULL, 0, pszPath));

But this function returns the following (incorrect) path:
C:\Documents and Settings\admin\Configurações locais\Dados de
aplicativos
which should have been:
C:\Documents and Settings\admin\Configurações locais\Dados de
aplicativos

Any idea what the problem is? Thanks.
2 Comments