   Pragma in msvc
  Since the MSVC pragma for including lib-files isn''t guaranteed to work on any compiler, I need some way to determine if the code is being compiled using MSVC. Preferably any version that supports the pragma but if that''s impossible Im using .NET.Thanks! 
  there are a flags that are defined by the compiler and that tells the type of the application,the compiler type and so on.to check for MSVC u''ll have to check for _MSVC_ if i''m not wrong.Do this:#ifdef _MSVC_#pragma comment(lib,"OpenGL32.lib")#endif /* _MSVC_ */   "Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR ;  pragmas that are not known by the compiler are ignored 