Original Post
Hi I created a simple class for testing purposes to see how C++ is serious about memebr access specifiers. Inside the DLL module a simple class with a private/protected member. Inside the client EXE program I used the same header for class definition with a change to the protected/private member to public so that I thought I could access it breaking the C++ protection mechanism. Using Visual C++ toolkit 2003 the program still cannot resolve the public symbol in the class since it's declared in the DLL as protected/private. This is a good thing; however, it's not true for GCC and Intel C++ under Linux. Which behaviour is more accurate and is it possible to do the same under the Linux? It seems that MS has stronger programming platforma nd more secure. Thanks for your help in advance.