- Check if a File is Open
- Posted on July 2nd, 2003 | 2 Comments
Hello, This question may be simple to answer, bu I have searched the MSDN and haven't had any luck. Is there a Win32 API function available to C++ (I'm not using MFC) that will check if a...
- No stdout using CreateProcess() from within a service
- Posted on July 2nd, 2003 | 6 Comments
Hello all, simple question here. I've implemented a windows service that does little except spawn off another executable via CreateProcess(). This process runs just fine (which I know because...
- Re: compiling with warning level 4
- Posted on July 2nd, 2003 | 0 Comments
Sreeram wrote: try #pragma warning(push,3) #include "mmsystem.h" #pragma warning(pop) Damian
- PostMessage CriticalSection
- Posted on July 2nd, 2003 | 0 Comments
I am experiencing very strange deadlocks on a WinCE application. Currently I am suspecting a PostMessage inside a CriticalSection to be the problem. EnterCriticalSection(&cs); PostMessage...
- Powering down a monitor programatically
- Posted on July 2nd, 2003 | 1 Comments
Hi Group, Does anyone know of a Win32 API call that can be used to power down a monitor just as is done within the Windows OS >> Display Properties >> Screen Saver >> Energy Saving features of...
- FSCTL_FIND_FILES_BY_SID (DeviceIoControl)
- Posted on July 2nd, 2003 | 0 Comments
I'm trying to use FSCTL_FIND_FILES_BY_SID to find all the files in a directory whose owner matches a specified SID, but I always get lBytesReturned = 0 (see code below). I should get at least one...
- Memory allocation question...
- Posted on July 2nd, 2003 | 7 Comments
Hello everyone, This is a semi off-topic question, but it's a quick one someone will surely be able to answer here. Is there a problem about using realloc on a block of memory which was allocated...
- Example needed: Read/Write to parallel port on win2k
- Posted on July 2nd, 2003 | 1 Comments
Hello All, Can you point me to a short example on reading/writing from/to parallel ports on win2k using VC6? 10x. Miki
- Re: User draw listbox update anomaly
- Posted on July 2nd, 2003 | 0 Comments
Don't send a WM_PAINT, the system sends that automatically when it is needed and appropriate. At most you might sometimes update your listbox by using InvalidateRect(hwndListbox, NULL, TRUE) but that...
- Re: Obtaining function addresses from a remote process
- Posted on July 2nd, 2003 | 0 Comments
I don't believe this will work with GetProcAddress, which searches only the import address table of the specified module. Functions inside the exe (that you referred to as intrinsic) are not...
- Re: Read/Write memory in CODE segment
- Posted on July 2nd, 2003 | 0 Comments
sounds like you didn't change the read/write permission on the CODE (or .TEXT depending on your compiler) sections of your binary. You must read up on PE file formats and how to change the PE...
- Printing problem
- Posted on July 1st, 2003 | 1 Comments
Hello I have written a program for windows, that prints the context of a RichEdit control. it prints 100 copies of something, then 120 copies of something else, and so on. when the program reaches...
- Internet explorer clipboard bug?
- Posted on July 1st, 2003 | 0 Comments
Hi, I've made a little app which works as a clipboard viewer, monitoring url:s. It works fine except for one thing, when I choose "copy shortcut" in internet explorer, a WM_DRAWCLIPBOARD message is...
- storage
- Posted on July 1st, 2003 | 1 Comments
I am trying to map a folder c:\myfolder\folderx\ as a shorcut to a volume say F:\. The F drive is not actually a physical drive but should appear as a mapped volume. I can add files and...
- Re: (solved) selective linking?
- Posted on July 1st, 2003 | 0 Comments
ok, a bit more reading in docs and it seems fixed. (using dumpbin, lib and some other commands we're usually shielded from to extract the ioinit stuff to separate .obj file) I guess it's more...
- Reading a webpage from C
- Posted on July 1st, 2003 | 4 Comments
Hi Is there an easy way in which I can call a webpage (ideally with 'post' data passed to it), and recieve the page back into a Windows C/C++ program? The page will be a script that reads a database...
- VC++ Project settings issue
- Posted on July 1st, 2003 | 0 Comments
Hello, When I debug my application(NON-MFC) in VC++, it prompts the user for the path of .pdb file of a library that the application uses, though I do not try to step into the library call. It...
- Using Protected Storage for my own needs
- Posted on July 1st, 2003 | 0 Comments
Hi, I'd like to use the Protected Storage service for storing local data that must be kept secure and unmodified (uner NT/2000 and Win9x). I couldn't find any documentation about this service (the...
- Re: Telnet and Expect well on Windows, has anyone got it working well?
- Posted on July 1st, 2003 | 1 Comments
"ee" <eric.noooospammmm.hay@bt.com> wrote in message news:bdpmgr$7r3$1@pheidippides.axion.bt.co.uk... Sorry, what is the problem? Are you sure you use the right telnet version? Chang
- windows coff
- Posted on July 1st, 2003 | 1 Comments
hi, could anybody tell me is there any documentation available on COFF and LIB file formats for WIN98. rgds, Bansidhar

