| From: | |
| Date: | 26 Feb 2001 at 18:16:08 |
| Subject: | Re: Link together C and C++ |
Hello Backa
On 26-Feb-01, you wrote:
> Hmmm...
> If I can't call C++ from C, how I can compile MUI-targeted application
> in C++ ??? I do not have idea!
You can do it because you're not calling C++ from C.
> When I compile MUI program (test.c - simple window with one button!),
> all is Ok. But when I start to write own class, my DoMethod() is
> trashed... :( Different declaration, etc...
> This was a reason for having testmain.c (MUI gui) and test.cpp (piece
> of source with own classes).
>
The easiest way to do it, is to force all your C code through a
C++ compiler.
Regards
Steve
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/