Tech Support > Microsoft Windows > Development Resources
Open Com Port > COM9 in C++
Posted on April 20th, 2004 | 2 Comments

Hi everybody ! I need some help in programming an RS232 serial interface. Opening a com port upper than "COM9:" (for example "COM10:", "COM11:" etc)returns ERROR_INVALID_NAME error. Details: I...

OT? How to unload a dll
Posted on April 20th, 2004 | 5 Comments

Is there a way to unload a dll from memory, either programmatically or otherwise? The reason I ask is, if my program loads a dll and crashes without unloading it, then the dll is still active in...

Upward compatibility of exe's compiled with VC++ 5.0
Posted on April 20th, 2004 | 1 Comments

I have had my VC++ 5.0 for several years now. It was first used to create exe's under NT 4.0 and Win95. It has also worked well with Win-Me and Win2000. Are exe's generated with this compiler...

font problem
Posted on April 20th, 2004 | 1 Comments

Hello, I am trying to output lines to label an axis of some graphs using TextOut(...). This works fine on most computers but users with asian fonts complain that "-" come out as "?". Is this a...

login id retrieval
Posted on April 20th, 2004 | 1 Comments

Anyone any idea on how I get the login id of the person who is logged into a NT box? Thanks, Martin

Balloon tool tip using Shell_NotifyIcon
Posted on April 20th, 2004 | 0 Comments

I am using Shell_NotifyIcon API to display a Balloon tool tip over my Apps' Systray Icon. I am using this to notify the user of the Application status during start-up. Once the App is fully loaded,...

[ANN] upp-mignw-0.1.8 released
Posted on April 20th, 2004 | 0 Comments

Ultimate++ is the new generation C++ Windows/Linux open-source development platform. By utilizing a couple of new principles Ultimate++ achieves significant reduction of code complexity and this way...

Multi-Threaded MDI
Posted on April 20th, 2004 | 1 Comments

Hi, I'm developing a multi-threaded MDI application. When I'm closing an MDI child window its thread sends WM_MDIDESTROY to the MDI client but the MDI child that should be destroyed never gets the...

Running an Exe using ActiveX Dll
Posted on April 20th, 2004 | 0 Comments

Hi, I am writing a server side component for my VB client side App. The VB app calls an ActiveX component(dll), this dll has to run an exe located at a particular path, the path info will be passed...

Hook Problem (Please Help!!!!)
Posted on April 20th, 2004 | 8 Comments

I'm trying to install a global Windows-hook that monitors every message sent to a window, but the callback function to the hook only receives messages from its own window. I don't know what i am...

DLL Injection
Posted on April 20th, 2004 | 1 Comments

Does anyone know a good tutorial to DLL injection? thanx in advice, BigMomma

Can edit control parse text?
Posted on April 20th, 2004 | 1 Comments

I was wondering whether a multiline edit control has the power to parse text. What I would like to do is send an EM_GETLINE message to retrieve each line in the text buffer and then parse out the...

Q: Return value optimization thru several function calls?
Posted on April 20th, 2004 | 1 Comments

Hi! I am using VC++ 7.1 and have a question about return value optimization. Consider the following code: #include <list> #include <string> struct test {

FindResource workings
Posted on April 19th, 2004 | 3 Comments

Hello, in my resource file I have the lines IDR_MAINFRAME ICON DISCARDABLE "somefile.ico" and IDR_MAINFRAME BITMAP DISCARDABLE "someotherfile.bmp"

How to get window status
Posted on April 19th, 2004 | 2 Comments

Hi, I search everywhere but in vain, How can I get a window status : HIDE / SHOW / MAXIMIZE / MINIMIZE / SHOWDEFAULT / SHOWMAXIMIZED / SHOWNORMAL Thanks -- Don...

WinFx - More than just .NET 2.0?
Posted on April 19th, 2004 | 1 Comments

WinFX is more than just .NET framework 2.0 isn't it? Is it a replacement for the Win32 subsystem, moving us to a managed world at the user mode level i.e. calls like System.IO.File.Open would go...

64bit time in milliseconds
Posted on April 19th, 2004 | 1 Comments

Hi, Is there a WIN32 way of generating the current GMT time in milliseconds into a 64bit value, much as the java gettimemillis() does ? regards & thanks in advance John

Dynamic libraries
Posted on April 19th, 2004 | 4 Comments

Hello I've been using DLL dynamic libraries for some years now, but recently I have thinked about creating portable code that is compilable and runnable in both Windows and Linux. Clearly, when I...

MSVC.net Resource Editor
Posted on April 19th, 2004 | 6 Comments

Are there any alternative (GOOD) resource-editors than the MSVC.net rc editor? Maybe I'm not skilled enough to use the msvc rc editor correctly, but I consider it as pretty fucked up! Especially the...

writing text into a image buffer
Posted on April 19th, 2004 | 1 Comments

Hi there, I need to write a certain text into an RGB image buffer, is there a simple way to do that? I'm using Visual C++. I mean I have a pointer to a buffer which contains an RGB image, I'd like to...