James, thanks for the lnik - the problem compiles but now I get an unhandled
exception :
MCppCodeDomParser Error: Line: 113, Column: 1 --- Unexpected token
for a 'term'
& the Form1 [Design] can no longer be opened - what's going on ?
ak
> http://support.microsoft.com/default.aspx/kb/888267
>
[quoted text clipped - 18 lines]
> >
> > ak
James Park - 26 Jul 2005 23:35 GMT
If you are doing:
void InitializeComponent(void)
{
#ifdef GetObject
#pragma message("Undefine the GetObject function for your managed code.")
#pragma push_macro("GetObject")
#undef GetObject
#endif
...
#ifndef GetObject
#pragma message( "Redefine the GetObject function to the unmanaged code
definition.")
#pragma pop_macro("GetObject")
#endif
}
try:
#ifdef GetObject
#pragma message("Undefine the GetObject function for your managed code.")
#pragma push_macro("GetObject")
#undef GetObject
#endif
void InitializeComponent(void)
{
...
}
#ifndef GetObject
#pragma message( "Redefine the GetObject function to the unmanaged code
definition.")
#pragma pop_macro("GetObject")
#endif
> James, thanks for the lnik - the problem compiles but now I get an
> unhandled
[quoted text clipped - 31 lines]
>> >
>> > ak
AK - 27 Jul 2005 19:16 GMT
Thanks for the help - the program runs OK now, but the icon is the default one.
It doesn't seem to use my icon defined in Resource View as IDI_ICON1
& filename app.ico .
ak
> If you are doing:
>
[quoted text clipped - 65 lines]
> >> >
> >> > ak