Tech Support > Microsoft Windows > Development Resources
_mlock
Posted on April 16th, 2004 | 1 Comments

Dear all, what is the function (_mlock) do ? I don't call the function manually. But I found that many functions (new, _mbschr, _mbscmp, etc) will use it. I don't know why my program will stop (hang)...

Problem with GUI on Windows XP
Posted on April 16th, 2004 | 0 Comments

Hi. I have a problem with the GUI (statusbar) behaving strangely on Windows XP but not on Windows NT/2000. In the MainFrame statusbar I have implemented icons (bitmaps). In Windows XP they simply...

Border of menus - facts?!?
Posted on April 16th, 2004 | 4 Comments

Hi @all, Currently I'm writing an own set of components (flat style)... Now I have to rewrite parts of the menu drawing. Of course I use WM_DRAWITEM and WM_MEASUREITEM for this! But now: I want to...

SetConsoleWindowInfo fails
Posted on April 16th, 2004 | 1 Comments

Hello, I am trying to expand my console window using SetConsoleWindowInfo function. However, it returns FALSE each time. GetLastError return value is invalid parameter. HANDLE std_out =...

unicode and CEDIT
Posted on April 15th, 2004 | 3 Comments

Hi, I have a very simple dialog with a CRichEdit and a CEDIT. I have compiled with the _UNICODE directive set, and I have replaced the RichEdit by the RichEdit20W. When I use IME to tape Japanese...

USB Hang Up
Posted on April 15th, 2004 | 0 Comments

Occasionally, when communicating with a certain device via USB the device/driver will hang. I can free it up by unplugging the USB cable and then re-plugging back in. My question is: is there a way...

system call in console application
Posted on April 15th, 2004 | 1 Comments

I am having some problems with system calls in my console app. Whenever I call system() it seems to screw up my display. I thought that I would create another screen buffer, use that, and then jump...

strange timer
Posted on April 15th, 2004 | 2 Comments

Ok this is the situation: I have a Timer that that itterates every second checking if there is someone connecting to my socket. But the timer simply freezes everything, I know it works since I've...

spawn or CreateProcess
Posted on April 15th, 2004 | 4 Comments

Hi all, I have a main application A. This one should run another app B, and A should wait for B to finish and then it should check for the return value of B app. Also the B application is a console...

Re: Bison/Flex BASIC Language To ByteCode/ASM
Posted on April 15th, 2004 | 1 Comments

On 4/15/2004 6:11 AM, ME@PRIVACY.NET wrote to ALL: -> > Anyone have any pointers or suggestions? Thoughts? -> -> alt.comp.compilers ? There is comp.compilers; however it takes FOREVER for posts to...

Listbox, WM_SETFONT and Tabstops
Posted on April 15th, 2004 | 1 Comments

Hi all I have a listbox that I create manually within a main window. There are reasons why I must do it this way, so telling me to put the whole thing into a dialog box does not help. Anyways, as...

whats wrong with stackwalk64?
Posted on April 15th, 2004 | 0 Comments

I am writing a tragic exception handler for a fullscreen direct3d program (since the default one just closes the program without any kind of message what so ever!). For some reason my stack walker...

WM_ENDSESSION msg and "The app is not responding"
Posted on April 15th, 2004 | 1 Comments

Hi all, I developed an application that is running all the time in the background. When the system is shut down there are 2 msgs sent by Windows: 1) WM_QUERYENDSESSION 2) WM_ENDSESSION I am doing...

Dumb char problem
Posted on April 15th, 2004 | 4 Comments

I'm having difficult understanding what's going on here let me explain my quandry. char x; x = 133 % 256; Now can someone please tell me the value of x? This is not a trick question, but he's what...

Bison/Flex BASIC Language To ByteCode/ASM
Posted on April 15th, 2004 | 1 Comments

I have implemented a BISON/FLEX implementation which examines a BASIC language file and checks the syntax of the source to see whether it is syntactically correct or not. But what I am having...

"Function-level linking" checkbox disabled
Posted on April 15th, 2004 | 2 Comments

Hi, I'm trying to create a basic MFC dialog-based application in VC6. For some reason, "Function-level linking" checkbox (on compiler "Customize" page) is disabled. What could be the...

FILE pointers
Posted on April 14th, 2004 | 9 Comments

I've got a library function inside of a DLL that does an "fprintf" of some strings to a file pointer (FILE *) that is passed in. The problem is that is crashes with an access violation while...

How to prevent users from moving files
Posted on April 14th, 2004 | 4 Comments

I wrote an application that stores files in a windows diretory. How do I prevent users from moving the files to another directory? Thanks!

Blanking ComboBox Display
Posted on April 14th, 2004 | 4 Comments

Hi Experts: I want to display the value of a selected record's field in a combo box. If the value hasn't been defined for that record, I want the collapsed combo box to display a blank for the...

Creating a HBITMAP
Posted on April 14th, 2004 | 1 Comments

I have a jpeg loaded using the ijg library. I have the pixel data as an array of unsigned char. How can I make an HBITMAP from this data? Thanks Allan