After some compilations i succeeded almost but:
struct CheckItem
{
bool (CCheckerSubs::*funcTest)();
};
class CCheckerSubs
{
public:
// in reality make some checks but....
bool check() { return true; };
}
class CCheckCtrlKuvio
{
CheckItem* m_arrChecks[1];
CCheckerSubs* m_pCheckerSubs;
}
CCheckCtrlKuvio::CCheckCtrlKuvio()
{
m_pCheckerSubs = new CCheckerSubs();
m_arrChecks[0] = new CheckItem;
m_arrChecks[0]->funcTest = m_pCheckerSubs->check;
}
Compiling............
.\AbtnCheckCtrlKuvio.cpp(496) : error C3867:
'CAbntCheckerSubs::check_3_7_6_4_3': function call missing argument list; use
'&CAbntCheckerSubs::check_3_7_6_4_3' to create a pointer to member
eVC compiler and PDA's using Pocket PC 2003 and Windiws Mobile 5 / 6 works
fine.
OK I skip that checking -> (set those function settings to NULL)
-> No compiler errors BUT
LINK : fatal error LNK1117: syntax error in option 'MAPINFO:LINES'
MSDN support pages and MSDN help lives still time of MSVC 6 time.... -> no
support
Please tell me truth why was Jesus crusified,
Tuomo Pusa
Jesus was crucified because he posted a .NET question in a VB6 group.
Don't let this happen to you -- find a group with "dotnet" in its name
for your post.
--
Jim
> Please tell me truth why was Jesus crusified,
Interesting question for a technical group. Here's one equally off topic:
Why is there air?
See if you can find a relation between the two....
Merry Christmas!
LFS