Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353460

Summary: Unicode applications don't show up in Select Process dialog
Product: [Tools] CDT Reporter: Marc-André Laperle <malaperle>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact: Doug Schaefer <cdtdoug>
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:

Description Marc-André Laperle CLA 2011-07-31 01:46:25 EDT
On Windows, listtasks.exe only supports AINSI process names. It seems applications compiled with /D "_UNICODE" /D "UNICODE" don't show up.

1. Create C/C++ Attach to Application debug configuration
2. In the Select Process dialog, notice how a lot of processes are missing

I'm working on bug 236330 so I might fix it at the same time. Changing to TCHAR and GetModuleFileNameExW fixes this but I want to try to keep the 16 bit process name handling too when running in 32 bit.
Comment 1 Marc-André Laperle CLA 2020-07-16 00:04:02 EDT
I don't remember what happened after this bug report, maybe this got fixed at the same time as 64 bit. But it works now.