Main Menu

"Call tips" problem

Started by ElectroDoc, November 27, 2010, 09:38:06 AM

Previous topic - Next topic

ElectroDoc

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)

Pelle

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...
/Pelle