windows-xp

msvcrt-ruby18.dll not found when trying to use Heroku for Windows XP

倾然丶 夕夏残阳落幕 提交于 2019-12-10 11:29:42
问题 I have a student developing on Windows XP, and he's getting a strange error when trying to run heroku keys:add . The error is: This application has failed to start because msvcrt-ruby18.dll was not found. Re-installing the application may fix this problem. After about half an hour of trying, my google-fu has failed me on this one. Can anyone help? 回答1: FYI our solution was to install Ruby 1.8.7. Since Ruby has added significant performance benefits in 1.9.2, it's not a great solution, but

Can not find index view when deploying to production?

你。 提交于 2019-12-10 11:28:47
问题 I'm hit a problem when attempting to deploy a MVC app as a sub-application of an existing ASP.NET 3.5 app (non MVC). The error is: The view 'index' or its master could not be found. The following locations were searched: ~/Views/employment/index.aspx ~/Views/employment/index.ascx ~/Views/Shared/index.aspx ~/Views/Shared/index.ascx The application works fine when running inside of visual studio web developer express SP1 and also works when configured as the top level web site. I'm developing

Ruby on Rails: How to start the WEBrick server automatically on Windows in background?

此生再无相见时 提交于 2019-12-10 11:26:05
问题 In order to run the my Rails application on Windows XP I open a command line, cd to application's directory, and then run rails server . I would like to automate this, such that every time I turn on my computer, all I'll have to do is to type localhost:3000 in a browser. How could I do this ? 回答1: The simpler way is to create a batch file with the instruction what you give in the command prompt like d: cd projects\myapp ruby script\server and then drop a copy of the file to Windows Start ->

What .NET framework “shipped” with Windows XP

故事扮演 提交于 2019-12-10 11:04:30
问题 Could you tell me what .NET framework installed by default on Windows XP system? Because I wanted to write a C# application that does not require anything else to be installed. If none is there any way not to force users to download .net framework (for example 3.5) but install it? 回答1: Windows XP did not come with any version of the .NET Framework. You can distribute the .NET Framework 3.5 redistributable with your app. Get it here. Depending on the setup mechanism of your app, you will be

WTSRegisterSessionNotification doesn't work sometimes on startup with XP home

我们两清 提交于 2019-12-10 10:47:20
问题 I'm using the function/message to check if the workstation is locked. Now my application is in the startup folder. It has worked without any problems on XP pro, but since I'm using the program on XP home WTSRegisterSessionNotification fails about 50% of the time on startup, but it never fails when the system is already booted up. Any idea why this could happen? 回答1: On XP, services start in the background and do not block boot or logon. The termsrv service is most likely not running by the

“Windows” key as part of a shortcut key

戏子无情 提交于 2019-12-10 10:24:32
问题 I very often open a console window while doing my development. Usually Win + R -> cmd -> enter. However, Windows also lets you add a shortcut key to any shortcut ... but when I try to add Win + C to make the shortcut for my favorite-sized/shaped/buffered console appear, it uses Ctrl + Alt + C instead (already used in various editors and other apps...no go.) Is there any way to use the windows key as part of a shortcut key combo? (This would be with Windows XP) 回答1: You can use autohotkey for

Windows OSes and Memory Management— What happens when an application is minimized?

北战南征 提交于 2019-12-10 10:12:37
问题 I'm asking this question for posterity reasons and general interest. Years ago I noticed an odd behavior within Windows. I know this works in XP and at that time it also worked in Windows 2000 and even 98 and I'd assume this behavior still works for Windows 7. To setup my question, try this experiment by following these steps. Open the Task Manager and navigate to the Processes tab. Open an application that you use that you know consumes a fair amount of memory (a web browser should work fine

tnsping ping fails, even though I can successfully connect to database

耗尽温柔 提交于 2019-12-10 04:19:16
问题 In trying to establish connectivity from my workstation (actually, am seeing the same behavior on both WinXP32 and Win764 workstations) to an Oracle server, the first thing I always try is a tnsping. When I do so, this is what I get: > C:\>tnsping MYDBNAME > > TNS Ping Utility for 32-bit Windows: > Version 10.2.0.1.0 - Production on > 25-JAN-2 011 15:03:35 > > Copyright (c) 1997, 2005, Oracle. All > rights reserved. > > Message 3511 not found; No message > file for product=NETWORK, > facility

Why go 64 bit OS? [closed]

荒凉一梦 提交于 2019-12-10 04:03:23
问题 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 5 years ago . On these questions: Which Vista edition is best for a developer machine? Vista or XP for Dev Machine People are recommending 64 bit, can you explain why? Is it just so you can have more then 3GB of addressable RAM that 32 bit gives you? And how does Visual Studio benefit from all this extra RAM? I went from 64

How can I set the RAILS_ENV in a Windows console?

泄露秘密 提交于 2019-12-10 02:16:03
问题 On Linux and OS X, I'm accustomed to running Rake tasks in specified Rails "environments" by doing this: $ export RAILS_ENV=monster_island ; rake monsters:destroy_all How can I do the equivalent if I'm running the task on Windows XP in a Windows console? 回答1: c:>set RAILS_ENV=monster_island If you run set without any other arguments, you will see the environment variables that are set. Running set in a console will set that variable for just that console and won't be persisted across sessions