Pelles C forum

Pelles C => Bug reports => Topic started by: ElectroDoc on November 27, 2010, 09:38:06 AM

Title: "Call tips" problem
Post by: ElectroDoc on November 27, 2010, 09:38:06 AM
A very useful feature of Pelles C is the "call tips" which is a tool tip displayed when you type a left parenthesis following a function name.

The problem is, when I define UNICODE and _UNICODE at the top of my source code, and then type one of the Win32 API functions, the IDE displays a call tip for ANSI version of the function (although the compiled exe uses the correct UNICODE version).

When I type (for example:) MessageBox   it shows me a tip for MessageBoxA (even if I defined UNICODE before)
But when I type MessageBoxW   it shows the correct tip (MessageBoxW)

(The problem still exists in version 6.5 RC3)
(A screen shot is inclosed)
Title: Re: "Call tips" problem
Post by: Pelle on November 28, 2010, 08:01:47 PM
The IDE will look in the (hopefully) associated project file (CCFLAGS) for UNICODE, but will not scan the current source file. I can't see this as a bug, and I doubt it will be added...