Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Problem with IMCENUMPROC
Problem with IMCENUMPROC [message #41182] Fri, 08 November 2013 20:20 Go to previous message
NeilMonday is currently offline  NeilMonday
Messages: 15
Registered: May 2013
Promising Member
I think I am having trouble including Controls4U. I get the following error when building, and I have traced it to Controls4U.h. I cannot find anywhere that defines 'IMCENUMPROC'.

...
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\imm.h(159) : error C2062: type 'int' unexpected
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\imm.h(357) : error C2061: syntax error : identifier 'IMCENUMPROC'
...


This is one way that the includes go all of the way to imm.h where the error is.

My code has:
 
#include <Controls4U/Controls4U.h>

which contains:
#if defined(PLATFORM_WIN32) 
#include "Controls4U/ActiveX.h"
#endif

which contains:
#include <Mshtml.h>

which contains:
#include "dimm.h"

which contains:
#include <imm.h>

which contains:
typedef BOOL    (CALLBACK* IMCENUMPROC)(HIMC, LPARAM);
...
BOOL WINAPI ImmEnumInputContext(DWORD idThread, IMCENUMPROC lpfn, LPARAM lParam);


Is there something I need to do to get this to build properly?

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Build debian package on Debian/kFreeBSD
Next Topic: Need Books
Goto Forum:
  


Current Time: Sun Apr 28 16:38:36 CEST 2024

Total time taken to generate the page: 0.03783 seconds