Thank you for your quick response, but I think you don't understand my
question.
I now use gcc to compile win32 binaries (using cygwin and mingw).
There are no native os calls to unix or linux involved here.
My question is about the difference in memory layout of C++ classes
between gcc and vc++ and if this can be made compatible by using any
compiler directive at the gcc side...
nk*********@gmail.com schreef:
br**********@gmail.com wrote:
Hello,
I am looking for a solution to interface with C++ classes implemented
in a dll compiled by gcc.
This dll will be however accessed by a visual c++ compiled host (not
made by me).
Both implementations will share headers that define virtual c++ class
interfaces.
Is this possible? In other words, can the gcc compiler behave like the
Visual C++ compiler?
I know that by default the object memory mapping model differs for both
compilers.
Thanks in advance.
Best regards,
Bram Doornbos
Then How to access Native OS functionality ? Windows native calls are
quite different than that of unix. So even if you are able to map
memory model, native call issue is still there.
--Naresh Prajapati