Tech Support > Microsoft Windows > Development Resources
Redirected STDIN is not read by spawned thread in release mode
Posted on August 19th, 2005 | 0 Comments

Hi, I have a win32 GUI program that spawns a thread function, mythrdfunc(), which is defined in a separate dll. The dll is originally an old rather large console program that is doing lots of...

Redirected STDIN never gets read by thread in release mode
Posted on August 19th, 2005 | 0 Comments

Hi, I have a win32 GUI program that spawns a thread function, mythrdfunc(), which is defined in a separate dll. The dll is originally an old rather large console program that is doing lots of...

Oko IDDE and DB-manager available.
Posted on August 19th, 2005 | 0 Comments

We have finished testing Oko. It now becomes shareware. You can download an evaluation copy and/or purchase a registered copy on-line: www.ploko.net. Oko is a development tool for building Windows...

What's so special about MSCTFIME UI
Posted on August 19th, 2005 | 3 Comments

Hello, I am calling InternetErrorDlg() and want the dialog to be top most, so I searched for topmost window of desktop, (and got this IME window - wndclass is MSCTFIME UI) and used it as parent (the...

choice of IDE
Posted on August 19th, 2005 | 26 Comments

I'm at a point where I want to choose a platform for migrating an existing application (which is written in C and mostly with a WIN32 eventloop, some home brewn cascade menus and dialog boxes -...

Subclassing static control
Posted on August 19th, 2005 | 8 Comments

I'm subclassing STATIC, but my WndProc doesn't receive WM_GETFOCUS, WM_KEYDOWN, WM_KEYUP messages. Is there a way to overcome this behavior? I tried subclassing EDIT. However it changes cursor shape...

Window without Maximize Icon
Posted on August 19th, 2005 | 3 Comments

My intuition and reading what I can find on the Internet tells me that CreateWindow with the style WS_SYSMENU | WS_CAPTION | WS_THICKFRAME | WS_MINIMIZE should create a window with a minimize box and...

DeviceIoControl and FSCTL_FILESYSTEM_GET_STATISTICS
Posted on August 18th, 2005 | 5 Comments

Hello, I am trying to use this API function to get informations about a HDD. But GetLastError allways return ERROR_MORE_DATA. I am also to silly to understand the description of...

Bitfields in C++ structs and 32-bit/64-bit portability
Posted on August 18th, 2005 | 3 Comments

I see lots of stuff in MSDN (admittedly an older version) documented like this: typedef struct tagEXTLOGPEN { UINT elpPenStyle; UINT elpWidth; UINT elpBrushStyle; COLORREF elpColor; LONG...

ReadFile EofChar ?
Posted on August 18th, 2005 | 4 Comments

Hello, I have ReadFile reading from a serial port. In the DCB, I have set EofChar to '\n'. A multi-line text file is coming in the serial port. I want ReadFile to return on each '\n', but it won't....

FAT32 Code - Trouble finding Root Directory Structure
Posted on August 18th, 2005 | 0 Comments

I'm working with a file that was created using linux dd to create a dump of a fat32 file system. In other words, it has the MBR intact, and the location of the beginning of the FAT boot record is...

CryptGenKey & CryptImportKey slow in certain situations
Posted on August 18th, 2005 | 1 Comments

I am trying to fix a nasty bug in my CryptoAPI code. The symptoms are that CryptGenKey & CryptImportKey take quite some time (5-10 seconds) to run on some machines, but it works fine on mine and lost...

[delphi] communicating to process
Posted on August 18th, 2005 | 0 Comments

There is some piece of code: procedure TForm1.Button1Click(Sender: TObject); var hndl :HWND; begin hndl:= FindWindow(nil, nameofwindow) ; SetForegroundWindow(hndl); PostMessage(handle, WM_KEYDOWN,...

txt files, notepad and registry
Posted on August 18th, 2005 | 3 Comments

Hello, forgive me my English. I'm lost. To confirm that I know how Windows is keeping information about files' associations in registry, I wanted to find out how it is with .txt files. On my system...

GetModuleFileNameEx on W95/98
Posted on August 18th, 2005 | 1 Comments

Hi, How can I know the full path of an external process under windows 95/98, like I do on WNT/2000/XP using GetModuleFileNameEx? I tried with GetModuleFileName, but I read that this return me only...

Excel cell update advise using COM instead of DDE?
Posted on August 18th, 2005 | 3 Comments

I'm looking for a method to pull data out of Excel cells and get notification of updates, using the COM automation stuff instead of DDE. This is in C++ -- we are successfully using RTD to get data...

Access violation on VC++ multithreaded application
Posted on August 18th, 2005 | 3 Comments

Hi all, I'm working on a multithreaded application written in vc++ 6.0. The application works fine when executed in several operating system but in a machine with windows 2003 server operating...

wm_size repaints
Posted on August 17th, 2005 | 6 Comments

I've been doing some investigation into resize repaints, i.e., when you drag the edge of a window, and Windows gives you continuous wm_resize and wm_paint messages to update the window while it is...

Help, i need more memory or a bigger heap!
Posted on August 17th, 2005 | 4 Comments

Posted August 16, 2005 12:56 I am developing on windows XP professional, with 512 Megs of ram, writing a console program in MSVC++ 6.0. I am writing a program that processes very large matrixes....

the (non) joy of exporting dll functions
Posted on August 17th, 2005 | 5 Comments

Hey. I'm working on a dll and I'm trying to export the Dll(Un)RegisterServer/GetClassObject/CanUnloadNow functions.... i've tried both the def file and the __declspec(dllexport) method and i still...