compatibility

Tuple templates in GCC

橙三吉。 提交于 2019-12-10 15:49:58
问题 I first started C++ with Microsoft VC++ in VS2010. I recently found some work, but I've been using RHEL 5 with GCC. My code is mostly native C++, but I've noticed one thing... GCC doesn't appear to recognize the <tuple> header file, or the tuple template. At first I thought maybe it's just a typo, until I looked at cplusplus.com and found that the header is indeed not part of the standard library. The problem is that I like to write my code in Visual Studio because the environment is way

Geolocations with javascript

爷,独闯天下 提交于 2019-12-10 14:45:00
问题 I'm working on a script to get the Geolocations (Lat, lon) that I can use to center my instance of google maps. For now i work with 2 possible technologies. One is the google.loader.ClientLocation object. I haven't tested this one yet because it returns null for me. I think because I'm not living on a regular location (Willemstad, Curacao using a wireless internet connection. So my modem is wireless.). Therefore I made a backup plan using navigator.geolocation . This works great in Chrome,

WPF Windows 8 Compatibility Issue

ぐ巨炮叔叔 提交于 2019-12-10 13:55:35
问题 Given a button (or a combobox, or any control for that matter): <Button x:Name="button" Command="{Binding DoStuff}" Margin="10,0,5,5" Content="Do Stuff!" Style="{StaticResource buttonDefaults}"/> With the style: <Style x:Key="buttonDefaults" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}"> <Style.Resources> <ResourceDictionary Source="/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml"/> </Style.Resources> <Setter Property="Background"> <Setter.Value>

[program name].exe has stopped working

ぐ巨炮叔叔 提交于 2019-12-10 13:00:57
问题 I have a .NET application that was built on Framework 2.0. I've built an installer for it and am trying to run it on a machine that has 3.5. All relevant environments are on Windows 7 The application runs perfectly in VS debug mode on my development machine, which also has Framework 3.5. The installer runs fine on both my development machine and the user's machine After installation, running the program immediately results in "[program name].exe has stopped working" with no further

Object has type qualifiers that are not compatible with the member function

谁说胖子不能爱 提交于 2019-12-10 12:49:11
问题 My class Game has a member EntityManager entityManager_ . The class EntityManager has a private member Player player_ and the public getter function Player &EntityManager::getPlayer() which returns player_ . The class Player has for example the functions void startMoving() and sf::Vector2f getPosition() const . Now, I can without problems call entityManager_.getPlayer().startMoving(); from within my Game class, but when I try for example the following code to get the player's position: sf:

Importing std::tr1 into std - is it legal? Does it improve portability?

房东的猫 提交于 2019-12-10 12:42:47
问题 I have C++03 code that looks like this: #include <boost/tr1/unordered_map.hpp> ... std::tr1::unordered_map<std::string, int> mystuff; ... I started to wonder that i would suffer later if/when i convert my code to C++11, which (i guess) doesn't have std::tr1::unordered_map but has std::unordered_map instead. So i came up with the following hack: namespace std { using namespace ::std::tr1; } ... std::unordered_map<std::string, int> mystuff; // no tr1 now! ... Is it legal (maybe importing stuff

How can I check my OpenGL version?

核能气质少年 提交于 2019-12-10 12:16:46
问题 when I run glxinfo I get: ... direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 ... client glx vendor string: NVIDIA Corporation client glx version string: 1.4 ... GLX version: 1.4 ... OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 9500M GS/PCI/SSE2 OpenGL version string: 3.2.0 NVIDIA 195.36.24 OpenGL shading language version string: 1.50 NVIDIA via Cg compiler ... Without polling extension functionality, from what

The compatibility issue between NDIS version and Windows version

二次信任 提交于 2019-12-10 11:42:20
问题 everyone. I am doing some modifications to the WinPcap, a packet capturing library. My boss want me to transfer the NDIS version of WinPcap from NDIS 4 to NDIS 6. And the compatibility requirement is Windows XP/Vista/7/8 (32bit and 64bit). I found that the latest version of NDIS is 6.3, but I'm afraid that NDIS 6.3 does not support XP any more, is this true? Also I found in WinPcap website that the current WinPcap 4.1.3 has already supported Windows XP/2003/Vista/2008/Win7/2008R2/Win8 (x86

Dynamics AX 2009 / BizTalk Server 2013 Compatibility

和自甴很熟 提交于 2019-12-10 11:34:02
问题 Is BizTalk Server 2013 compatible with the Dynamics AX 2009 AIF BizTalk Adapter? I've searched but can't find any information to say either way. I found that BizTalk Server 2010 is compatible with AX2009 SP1 RU7: http://blogs.msdn.com/b/emeadaxsupport/archive/2011/09/29/microsoft-biztalk-server-2010-passes-compatibility-testing-with-microsoft-dynamics-ax-2009-sp1.aspx (Apologies if this is not the correct site for this question, as it's not directly programming related; however I couldn't

What is the latest version Hibernate for Java 1.5

此生再无相见时 提交于 2019-12-10 11:25:23
问题 We are using Weblogic 10, so maximum Java allowed there is Java 1.5 I inherited the code using EJB3 So, I will have to work on it within a realm of my Java 1.5 limitation. I think, original designers had in mind to use Hibernate for implementing Data access, and at some point we will migrate to JBOSS, so would like to keep Hibernate as a choice There is one sitting in a project - version 3.2.1.ga. Same is a version for hibernate-entitymanager.jar What is the latest version of Hibernate that I