Mark Weinberg
2008-07-24 14:52:28 UTC
Hi,
I'm not sure if I missed something or what, but in attempting to port a dll
from c++builder 4 to 7, the dll appeared to break. The application which
called the dll could no longer identify it, but if I used the one generated
in 4 things worked fine. I looked at the PE header and noticed that the low
and high byte reversed flags were different between the 2 (set in 4, not set
in 7) in the image characteristics section. I used the wizards in each tool
to generate empty dlls (no outside code at all), and the headers also
differed in these flags, so I know it's not my code. Is there a way to set
these flags through a switch or define? I have not been able to find a
mention in the documentation.
Thanks,
Mark
I'm not sure if I missed something or what, but in attempting to port a dll
from c++builder 4 to 7, the dll appeared to break. The application which
called the dll could no longer identify it, but if I used the one generated
in 4 things worked fine. I looked at the PE header and noticed that the low
and high byte reversed flags were different between the 2 (set in 4, not set
in 7) in the image characteristics section. I used the wizards in each tool
to generate empty dlls (no outside code at all), and the headers also
differed in these flags, so I know it's not my code. Is there a way to set
these flags through a switch or define? I have not been able to find a
mention in the documentation.
Thanks,
Mark