NO

Author Topic: "Call tips" problem  (Read 2526 times)

ElectroDoc

  • Guest
"Call tips" problem
« 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)
« Last Edit: November 27, 2010, 09:49:20 AM by ElectroDoc »

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: "Call tips" problem
« Reply #1 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...
/Pelle