#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#ENDIF
#define IDD_DIALOG1 100
be converted PB using a macro?
Thanks in advance!
--
It's explained in the help file under %Def()
--
Peter Manders.
Wise men talk because they have something to say,
fools because they have to say something. (Plato)
Yes, thank you. I know how to rewrite these statements to PB equivalent
statements, but that was not what I was asking for.
I was looking for a solution where these C/C++ directives could be
placed within a PB macro, so that the compiler would be able to cope
with them. If so both the resource compiler and the PB compiler could
use the same header file. Since a macroname can't start with a #, it
looks to me that it isn't possible to do what I had in mind, so I asked
in case there was a solution to it though. And I can't find such a
soulution to it in the help file.
Thanks for your time!
--
I can't think of a solution for that either. There would have to be at
least one precompiler directive that both could use.
I don't know your exact objective, but you could use a batch file for
conditional compilation, or to translate the C/C++ file on the fly right
before compilation. I'm guessing you want to make sure that both
compilers use the same include file, or at least the same constants that
are defined in it.