windows-xp

When can a memory leak occur?

自古美人都是妖i 提交于 2019-12-03 06:51:46
I don't know what to think here... We have a component that runs as a service. It runs perfectly well on my local machine, but on some other machine (on both machine RAM's are equal to 2GB) it starts to generate bad_alloc exceptions on the second and consecutive days. The thing is that the memory usage of the process stays the same at aproximately 50Mb level. The other weird thing is that by means of tracing messages we have localized the exception to be thrown from a stringstream object which does but insert no more than 1-2 Kb data into the stream. We're using STL-Port if that matters. Now,

IF EXIST C:\\directory\\ goto a else goto b problems windows XP batch files

风流意气都作罢 提交于 2019-12-03 06:34:28
whenever i run the code below it occurs to me I have made a mistake using the if exist lines, as no matter whether the directory exists or not, it acts as if the line was never there... either that or its not reading the else line. echo off echo echo (c) Ryan Leach 2010 echo Stockmaster Backup System for exclusive use of Riverland Paper Supplies echo echo Please ensure that all computers are out of stock master to the windows xp screen echo and that the backup usb with the day of the week labeled on it is inserted pause IF EXIST D:\RPS_BACKUP\backups_to_zip\ goto zipexist else goto

Is AppData now the 'correct' place to install user-specific apps (which modify their own data)?

为君一笑 提交于 2019-12-03 06:18:57
问题 I'm probably just being very thick here, but it's not clear to me where I'm supposed to install 'new' user-specific programs on Windows 7 ( and presumably Vista too, though I've not specifically looked at that scenario yet ). Under Windows XP (rightly or wrongly) we always installed our programs into folders under ' Program Files ' and accepted that they'd be kind-of available to everyone. From what I can gather under Windows 7 I'm supposed to install my software under the user's AppData

Embed Git bash in PyCharm as external tool and work with it in PyCharm window (windows xp)

纵饮孤独 提交于 2019-12-03 05:57:07
问题 I added cmd as external tool in PyCharm, and it works nicely in PyCharm console (View -> Run). Here is described how to launch Git bash from cmd. It opens in separate window, but I want it to be in the same PyCharm window, so I can type commands without pressing the CTRL+TAB. I suppose there should be other way, more straight-forward, but I dont see it. 回答1: Configure the Terminal to use bash.exe or sh.exe from Git installation like this: "c:\Program Files\Git\bin\sh.exe" --login Use Tools |

Borderless TForm with drop shadow

风流意气都作罢 提交于 2019-12-03 05:08:49
问题 I have made a TForm derivative that acts like the drop down part of a combo, or a hint window, or a popup menu - a temporary thing. It has no caption - its BorderStyle is set to bsNone. The form is displayed non-modally using Show, having set its position. To make it stand out, it needs a drop shadow around its border. However, a consequence of setting its border to bsNone is that the drop shadow disappears. Various Google sources suggest variations of this: procedure TdlgEditServiceTask

Opening a remote machine's Windows C drive [closed]

烈酒焚心 提交于 2019-12-03 03:44:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 10 years ago . I'm trying to locally mount a machine's C drive that is on my LAN. I need to able to browse the contents of the other machine when tracing through code. I once saw a sys admin do some crazy windows incantation from the cmd prompt. Something like $remote_machine/local_access/C Is anyone familiar with how this is

Does anyone know of a good alternative to Pipe Viewer for Windows Platform?

你说的曾经没有我的故事 提交于 2019-12-03 03:29:34
If you do not know what Pipe Viewer is (I did not know about it until 5 minutes ago), then this blog does a good job giving a brief introduction to it with some examples. I write a lot of Perl Scripts as an ETL developer and a lot of times, the files that I work with take really long time to operate with (unzipping, moving, etc). Therefore, this tool would be awesome except I work in a Windows Environment. If anyone knows of a tool that gives you Progress of an operation running in the pipeline, please let me know as that would make my scripts that much more useful. I doubt such a tool exists

MSMQ Issue reading remote private queues (again)

a 夏天 提交于 2019-12-03 03:07:37
Ok my issue is similar to How to receive message from a private workgroup queue (and I am basically using the same code). I am creating the queue on the host machine using MessageQueue.Create(@".\Private$\MyNewPrivateQueue"); Opening the queue on the remote machine with var queue = new MessageQueue(@"FormatName:DIRECT=TCP:xxx.xxx.xxx.xxx\PRIVATE$\MyNewPrivateQueue"); And writing/reading data using queue.send() and queue.Receive() I have two systems that I am experimenting with. Windows 7 Home Premium x64 Windows XP SP3 When I create the private queue on the W7 system and try to write then read

Can't install PostgreSQL: An error occurred executing the Microsoft VC++ runtime installer on Windows XP

丶灬走出姿态 提交于 2019-12-03 02:55:01
问题 I downloaded installer postgresql-9.0.1-1-windows.exe from the official site, ran it, and then got an error: An error occurred executing the Microsoft VC++ runtime installer What is the reason for this error message? Platform: Windows XP SP3, Dell Inspiron 1501. Processor: AMD Sempron 3500+ 回答1: One of the reasons this can happen is because the installer attempts to install an older version of the VC++ runtime than what you are currently using. See this installation log, found in your user's

How to start MySQL server on windows xp

时光总嘲笑我的痴心妄想 提交于 2019-12-03 02:25:58
问题 Whenever I try to start MySQL by typing > mysql -u root I get the error ERROR 2003(HY000): Can't connect to MySQL server on 'localhost' (10061) How can I solve the problem above? I just downloaded MySQL and unzipped it in the E: drive. I have not done anything else. Do I have to make a connection first? If so, how can I do that? 回答1: The MySQL server can be started manually from the command line. This can be done on any version of Windows. To start the mysqld server from the command line, you