A
Achim Domma (Procoders)
Hi,
I try to develop a .Net class library using managed c++ and have several
problems:
- If I use operator new, I get a linker error because operator new is
missing. Searching the web I found out, that this is a well known
problem which has to do with the initialization of the C/C++ runtime
libraries. The proposed workaround looks not very promissing. But why
would somebody use managed C++ is you could not use common C++ features?
- I develop a library to work with AVI files. If I include windows.h and
wfw.h in different source units, I get a linker error concerning
metadata. Searching the web I found out that the reason seems to be,
that structures with the same name are defined twice with differnt
layout. How could this happen if I use standard include files?
Could somebody help? At the moment, managed C++ makes no sense at all to me.
regards,
Achim
I try to develop a .Net class library using managed c++ and have several
problems:
- If I use operator new, I get a linker error because operator new is
missing. Searching the web I found out, that this is a well known
problem which has to do with the initialization of the C/C++ runtime
libraries. The proposed workaround looks not very promissing. But why
would somebody use managed C++ is you could not use common C++ features?
- I develop a library to work with AVI files. If I include windows.h and
wfw.h in different source units, I get a linker error concerning
metadata. Searching the web I found out that the reason seems to be,
that structures with the same name are defined twice with differnt
layout. How could this happen if I use standard include files?
Could somebody help? At the moment, managed C++ makes no sense at all to me.
regards,
Achim