- Insert conrtolls to a "MainWindow"
- Posted on May 6th, 2004 | 4 Comments
Hi, I got a (newbie)-question which has been asked serveral times yet but I couldn`t find a satisfying answer : Is it ( and if yes how ) possible to place controlls on a usual window which has been...
- Finding an application's directory
- Posted on May 6th, 2004 | 14 Comments
I'm certainly getting the runaround from the VC++ 6.0 help over this. All I want is to find the location of my MFC application's executable file, since that's where other files that I need are...
- detect we are in telnet
- Posted on May 6th, 2004 | 5 Comments
Hi Is there a way to know that our running program is in a telnet mode ? My program is a command line and I have to know if it is ran on local or remote computer via telnet. any idea ? thanks
- HttsSendRequest not working, no error
- Posted on May 6th, 2004 | 0 Comments
hCO =InternetConnect(hIO, "www.fides-dvp.de", 80, "yyyy", "xxxx", INTERNET_SERVICE_HTTP, INTERNET_FLAG_NO_CACHE_WRITE, 0); hIS = HttpOpenRequest(hCO, _T("POST"), "/cgi-local/ftp", NULL, NULL, NULL,...
- C++ / JNI memory leakage, help needed
- Posted on May 6th, 2004 | 19 Comments
Hi group! I am using C++ and java with JNI to get some text in a RICHEDIT to my java program. I do so by accessing a C++ method every second. It all works fine except that it leaks memory every call...
- MoveWindow() vs DeferWindowPos()
- Posted on May 6th, 2004 | 1 Comments
Is there any benefit to DeferWindowPos() instead of using a sequence of MoveWindow() calls?? Is DeferWindowPos() really faster? why? Also, what is the correct way to use DeferWindowPos() if, say I...
- EM_PASTESPECIAL
- Posted on May 5th, 2004 | 0 Comments
Would I be able to use EM_PASTESPECIAL to add small images to a Rich Edit Control? Does anyone have example code of how to do this without using MFC? Thanks Allan
- Read out Java-Applet running in IE6 via Windows-Hooks
- Posted on May 5th, 2004 | 0 Comments
Hello! Is it possible to read out the displayed data of a java-applet that is runnig in IE6 via a windows-hook that reads out the messages send to the java-applet-window-handle ? THANKS for your...
- Multi-line v2.0 richedit control - GetWindowText vs EM_GETSELTEXT
- Posted on May 5th, 2004 | 2 Comments
Surprised that I can find anyone else having this problem, but Richedit control version 2.0 (riched20, class-name richedit20A/W) has a serious quirk to do with the fact that for all EM_ specific...
- Implementing Message Queues in Windows
- Posted on May 5th, 2004 | 5 Comments
Hello, could you give me some pointers on how to create message queues in Windows? I basically need to enable communication between two threads via messages. Thanks for the help.
- Problem with USB driver...
- Posted on May 5th, 2004 | 1 Comments
Hello, I made a driver in Windows XP with Visual studio 6, XP DDK and Driverstudio. The driver works fine on windows XP, but it doesn't work on Windows98. I can install the driver on a win98 system...
- SHBrowseForFolders, SHGetMalloc: pMalloc->Free not recognized
- Posted on May 5th, 2004 | 4 Comments
Hello all, I'm working on an old application that was written in plain old C. I've completed the upgrade to 32-Bit-Windows (yes, it was really old) and I'm now adding some user-friendly dialogs....
- overlapped MessageBox()
- Posted on May 5th, 2004 | 2 Comments
Hi all How can I show a MessageBox without waiting for the user to press a button? I think of something like an overlapped execution. I don't care about any return values. My main thread has to...
- Win32 Threads
- Posted on May 5th, 2004 | 3 Comments
Hi, I am going to be writing a multithreaded Windows application in C++ and need some advice: 1. Which thread package should I use and where can I get it? Is Win32 Threads better than a Windows...
- OFN_ENABLESIZING & Programmatic Resizing
- Posted on May 5th, 2004 | 4 Comments
I'm asking this on behalf of a friend (although I did some testing myself). He's using GetOpenFileName with OFN_ENABLESIZING in flags. This enables sizing of the dialog, and when it's dragged by the...
- Shell calls without stopping the calling programme
- Posted on May 5th, 2004 | 9 Comments
If I put in my C++ (Visual Studio) a shell call system("notepad file.txt"); which opens a Notepad window with file.txt, there is a problem that the programme stops as long as Notepad window is...
- Child windows paint too slow!
- Posted on May 5th, 2004 | 6 Comments
I have created my own child window using RegisterClassEx() and I want this child to cover half of my main window's client area. In other words, this child window is sitting "on top" of the parent...
- Codewarrior 9.2 Winsock2.h problem...
- Posted on May 4th, 2004 | 10 Comments
Hi, I'm having a problem with a fairly new install of Codewarrior 9.2. I created a new project (Win32 C++ stationary -> Win32 GUI app using default libraries). All I've done so far is #include...
- buffer overrun -> code injection
- Posted on May 4th, 2004 | 17 Comments
Hi, well, there's a new mothod of writing viruses now: Calculation an IP address, making contact with the machine, using on of the announced MS security leaks, force a buffer overrun and inject...
- Choosing fonts
- Posted on May 4th, 2004 | 3 Comments
I am using ChooseFont() to allow the user to choose a font. This uses the CHOOSEFONT struct. How do I set the font with this info so my Rich Edit control will use the font chosen? Thanks Allan

