- Independent process on XP
- Posted on December 7th, 2003 | 0 Comments
I use VB to create user forms. After collecting user inputs, the data is passed onto a program written in C (invoked by the API CreateProcess). The C program displays a dialog box showing the...
- PSDK and VS 6
- Posted on December 6th, 2003 | 1 Comments
I have a weird problem: I've created an MFC dialog application and want to include some files from the PSDK or source files that require the windows.h from the PSDK. It contains a bunch of...
- [VC6] Edit control problems.
- Posted on December 6th, 2003 | 4 Comments
hello, Using VC 6, I have created an application based on dialog box. On the main form there is an edit box taken form standard "control" toolbar. The dialog box's style is set to "local edit" to...
- Hide a directory
- Posted on December 6th, 2003 | 5 Comments
Hi, What's the best way to have a directory as hidden as possible in ntfs and FAT32? Somethingas the 'System volume information' directory.... TIA
- DLL containing main() - LNK 4086 error
- Posted on December 6th, 2003 | 1 Comments
Hi, I have a DLL containing a function and I want that function to be called "main()". This DLL's source does not have a DllMain() defined anywhere. Now, when I try to build this DLL with VC++, the...
- Windows file DNA
- Posted on December 6th, 2003 | 15 Comments
I'm porting an application from Unix. This tool records facts about various files in a database. In some cases it's interested in whether a file used some time (a week, a month, a year) ago is the...
- "ordinal value of a predefined system window class"?
- Posted on December 6th, 2003 | 6 Comments
Hi Experts: I was really eager to start my first completely resource editor generated window class, but I had to finish up my current dialog box by adding more control, a window of a class I...
- testonly
- Posted on December 6th, 2003 | 0 Comments
testonly
- Memory problems with NODEFAULTLIB executables
- Posted on December 5th, 2003 | 1 Comments
Hello, I've got a strange problem using the message box and variable argument lists. If I print the "debugStr" inside the "Debug" function the values come wrong (and the string gets corrupted) but if...
- Statusbar in dialog application?
- Posted on December 5th, 2003 | 8 Comments
hi Is it possible to create and show an statusbar in a dialog based application? created a SDI application with statusbar support and then transfered the code to my dialog based application. did...
- file associations - I'm an idiot
- Posted on December 5th, 2003 | 4 Comments
Hi, after installing VC6, VC.net 7.0, VC .net 7.1 and uninstalling VC.net 7.0, my dsw files look like a text file. I tried to assiciate the dsw with devenv.exe from my vc6.0 folder, but it still...
- ROP3 and transparency
- Posted on December 5th, 2003 | 2 Comments
I have a bitmap in memory and I want to blit a second bitmap over it, but only the part with the image. The background color on both bitmaps is the same. There must be a combination of BitBlt's with...
- How to get for how long the system is Idle ?
- Posted on December 5th, 2003 | 4 Comments
Hi ! I am wondering if is there any way to know for how long the system (Windows) is Idle. Suppose I want to do something 10 minutes after the system became Idle. Is there an API for doing this...
- DLL unresolved link - postpone to application link?
- Posted on December 5th, 2003 | 1 Comments
Visual Studio C++ .NET When creating a DLL it is 'linked' at which time external references are resolved. What I would like to do is: - Somehow tell the DLL linker to ignore all or certain...
- failure to recurse in MS Detours "traceapi"
- Posted on December 5th, 2003 | 0 Comments
Just wondering if anyone else has run across this bug (or perhaps I should say "disconnect between documentation and implementation") in Detours. Background: I have a program in which, for diagnostic...
- failure to recurse in MS Detours "traceapi"
- Posted on December 5th, 2003 | 0 Comments
Just wondering if anyone else has run across this bug (or perhaps I should say "disconnect between documentation and implementation") in Detours. Background: I have a program in which, for diagnostic...
- How to copy raw image to clipboard??
- Posted on December 5th, 2003 | 2 Comments
Hi, I've got a raw image in memory, how do I copy this to the windows clipboard? I understand I need to use SetClipboardData, preceded by OpenClipboard, but I'm a little confused about what data...
- Using COM object in different threads
- Posted on December 5th, 2003 | 4 Comments
Hello, I have created a COM object, let's say, Mark, and fitted it with an interface IMark. Initially, I was making use of the object in a VBasic client and everything was going smoothly. Now I have...
- CB_GETCURSEL problem
- Posted on December 5th, 2003 | 3 Comments
hi, I'm have trouble using CB_GETCURSEL to get the selected index of my combo box... I get it like this : if(wmEvent == CBN_SELCHANGE) { HWND hText = GetDlgItem(hWnd,IDC_TRIGGERDESC); WORD uIndex =...
- PlaySound(0, 0, 0) doesn't stop previous PlaySound
- Posted on December 5th, 2003 | 4 Comments
I need to play a sound file, but stop it when a key is pressed. I thought that doing PlaySound(filename, NULL, SND_FILENAME); in a thread, and doing a WaitForMultipleObjects on the thread and stdin,...

