windows-xp-sp3

Cant Run Application Created With QT5 And VS2013 In Windows XP

只谈情不闲聊 提交于 2019-12-04 10:51:52
I have application created with QT5 and Visual Studio 2013 . I also use QT WebEngine in my application. My application works fine in windows 7 (32 bit) . For some reason i need to run it in windows xp sp3 (32 bit). When i run it, I get the following error: The procedure entry point strnlen could not be located in the dynamic link library msvcrt.dll I press OK several time and it goes away and my QMainWindow will pop out, But its totally BLACK and i see the following errors in debugger. class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags<enum

Can't load 'C:/strawberry/perl/site/lib/auto/XML/LibXML/LibXML.dll' for module XML::LibXML

霸气de小男生 提交于 2019-12-04 09:53:11
I have downloaded strawberry PERL and writing one application with CGI Perl Apache on Winxp sp3). One of the libraries (written by someone else) which I using uses XML::LibXML. When i load the page it gives Internal Server Error. From Apache error log i can see this error: Can't load 'C:/strawberry/perl/site/lib/auto/XML/LibXML/LibXML.dll' for module XML::LibXML: load_file:The specified module could not be found at C:/strawberry/perl/lib/DynaLoader.pm line 190. C:/strawberry/perl/site/lib/auto/XML/LibXML/LibXML.dll exists with all permissions. Also this library works properly on Linux. My

How accurate is Sleep() or sleep()

杀马特。学长 韩版系。学妹 提交于 2019-12-04 04:26:26
问题 I'm trying simulate a key down and key up action. For example: 2638 millseconds. SendMessage(hWnd, WM_KEYDOWN, keyCode, 0); Sleep(2638); SendMessage(hWnd, WM_KEYUP, keyCode, 0); How would you know if it really worked? 回答1: You wouldn't with this code, since accurately measuring the time that code takes to execute is a difficult task. To get to the question posed by your question title (you should really ask one question at a time...) the accuracy of said functions is dictated by the operating

Is it possible to have advertised shortcuts and ProgId for a per user MSI?

六眼飞鱼酱① 提交于 2019-12-03 20:12:25
I have a permachine MSI installer that I'm converting to a per user installer that is installing files to the LocalAppDataFolder. To get rid of ICE38 warnings I added a registry as the keypath. The problem is in one of my components I have a advertised shortcut and ProgId. I'm now getting: ICE19 - 'settings' advertises component: 'CMP_Rapid'. This component cannot be advertised because the KeyPath type disallows it ICE19 - Shortcut: 'SHC_RunConfigExe' advertises component: 'CMP_Rapid'. This component cannot be advertised because the KeyPath type disallows it. ICE50 - Component 'CMP_Rapid' has

How accurate is Sleep() or sleep()

守給你的承諾、 提交于 2019-12-01 20:41:07
I'm trying simulate a key down and key up action. For example: 2638 millseconds. SendMessage(hWnd, WM_KEYDOWN, keyCode, 0); Sleep(2638); SendMessage(hWnd, WM_KEYUP, keyCode, 0); How would you know if it really worked? You wouldn't with this code, since accurately measuring the time that code takes to execute is a difficult task. To get to the question posed by your question title (you should really ask one question at a time...) the accuracy of said functions is dictated by the operating system. On Linux, the system clock granularity is 10ms, so timed process suspension via nanosleep() is only

VS2013 “v120_xp” as platform toolset by default

谁都会走 提交于 2019-12-01 18:31:55
In order to deploy C++ application built with VS2013 compiler under Windows XP, the "v120_xp" platform toolset has to be set: this make it possible the deployment from XP to 8.1. So next come the question: why this platform toolset is not the only one and the default? The "v120" platform toolset is suitable starting from Windows Vista. Is there any performance drawback? I've tested an application built towards both the platform toolsets under Windows 8 but I've seen no difference in performance (apparently..). There are quite a few things you just can't do with the XP-dedicated toolset - it

VS 2010 error - cannot open file “iostream”

核能气质少年 提交于 2019-11-30 08:13:42
I've just migrated from VS2005 to VS2010 and it fails to compile a simple program. #include <iostream> using std::cout; using std::endl; int main() { cout << "Hello Visual Studio 2010 :)" << endl; } Errors - 1 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. 2 IntelliSense: cannot open source file "iostream" 3 IntelliSense: name followed by '::' must be a class or namespace name 4 IntelliSense: name followed by '::' must be a class or namespace name 5 IntelliSense: identifier "cout" is undefined 6 IntelliSense: identifier "endl" is undefined PS : I'm

How to Run PHP on IIS7.5 Express?

人盡茶涼 提交于 2019-11-29 03:21:05
I have Win XP SP3 and have installed IIS7.5 Express and want to run PHP on it. I am able to run simple HTML code on the server, I am able to start and stop the server by running iisservices.exe, but I am not able to run php scripts on it. If I have the following PHP file: <? php echo "hello world"; ?> <html>HI</html> The output is HI but the PHP script doesn't run. I have followed the steps described in this article to install PHP: http://learn.iis.net/page.aspx/724/install-and-configure-php/ But can't proceed from step 10 onwards because IIS Express doesn't have an IIS Management Console MMC

How to Run PHP on IIS7.5 Express?

爱⌒轻易说出口 提交于 2019-11-27 17:30:43
问题 I have Win XP SP3 and have installed IIS7.5 Express and want to run PHP on it. I am able to run simple HTML code on the server, I am able to start and stop the server by running iisservices.exe, but I am not able to run php scripts on it. If I have the following PHP file: <? php echo "hello world"; ?> <html>HI</html> The output is HI but the PHP script doesn't run. I have followed the steps described in this article to install PHP: http://learn.iis.net/page.aspx/724/install-and-configure-php/

Properly print utf8 characters in windows console

谁说我不能喝 提交于 2019-11-27 07:18:57
This is the way I try to do it: #include <stdio.h> #include <windows.h> using namespace std; int main() { SetConsoleOutputCP(CP_UTF8); //german chars won't appear char const* text = "aäbcdefghijklmnoöpqrsßtuüvwxyz"; int len = MultiByteToWideChar(CP_UTF8, 0, text, -1, 0, 0); wchar_t *unicode_text = new wchar_t[len]; MultiByteToWideChar(CP_UTF8, 0, text, -1, unicode_text, len); wprintf(L"%s", unicode_text); } And the effect is that only us ascii chars are displayed. No errors are shown. The source file is encoded in utf8. So, what I'm doing wrong here ? to WouterH: int main() {