problem about win64-Collection of common programming errors


  • Tom
    visual-studio-2010 visual-c++ win64
    I was browsing the web and found out that my application would probably not work on (win)64bit machines. And that this is due to the fact that MSVC uses my default 32bit runtime and sets the application to work only on 32bit machines.How can i set my simple application to run on x86 machines? thus making 64bit machines use WoW64 when executing my app? I’m using MS visual studio 2010 express (kinda short at the moment).

  • Adam Tuttle
    .net asp.net configuration 64bit win64
    Environment: Windows Server 2003 R2 Enterprise 64bit, SP2 .NET framework is supposedly installed (2.0 SP2, 3.0 SP2, 3.5 SP1)I say “supposedly” because they are listed as installed under Add/Remove programs. I’m not sure it’s properly installed, because the “ASP.NET” tab isn’t added to any of the sites in IIS.In the IIS Web Service Extensions section, I have both “ASP.NET v2.0.50727” (Allowed), and “ASP.NET v2.0.50727 (32-bit)” (Prohibited).The site in question has script-execute enabled.Problem:

  • Uri Cohen
    python cygwin mingw cross-compiling win64
    I’m trying to build a python extension DLL on a 64bit Win7 machine using cygwin (as cygwin only run as 32bit process, this is actually cross-compiling).I created libpython27.a myself from python27.dll using dlltool (as explained, for example, here), but the build fail during the linker phase sayingskipping incompatible c:\Python27\libs/libpython27.a when searching for -lpython27 This is exactly the error reported here (where the guy ended up moving to MSVC compiler…). More info: – Active Pyth

  • Phu Ta
    debugging win64 windows64 printstacktrace
    My task is porting a DLL from 32 to 64, that DLL is used to print stack trace of application (when the app is being crashed), the DLL use AddVectoredExceptionHandler to get stack trace, it works fine on windows 32 but cannot work on 64, can you give me any suggestion? Some links I referred but cannot help: http://msdn.microsoft.com/en-us/library/windows/desktop/ms681411%28v=vs.85%29.aspxhttp://pypeelf.googlecode.com/svn/branches/third-party/winappdbg-1.3/winappdbg/win32/context_amd64.py

  • mephisto123
    c# libcurl win64
    I wrote multi-threaded FTP uploader on C#.NET using libcurl.NET.Everything works fine on my machine, but when I give application (exe + libcurl.dll + 2 libcurl C# binding DLLs) to my friend who is running Win64, application crashes.After adding exception catcher to whole Main() function, I was able to get readable error message: “An attempt was made to load a program with an incorrect format (Exception from HRESULT = 0x8007000b)”After googling for a while, I found an advice to enable unmanaged c

  • TLama
    delphi delphi-xe3 win64 bass.dll
    I can’t run my 64-bit Delphi application with the 64-bit version of bass.dll. I’m using Delphi XE3 to build my application.Application crashed to start with 0xc000007b. Debugger Messages: Thread Start: Thread ID: 7692. Process Project1.exe (7444) Process Start: D:\svn\preplayer\Project1.exe. Base Address: $0000000076DBC500. Process Project1.exe (7444) Module Load: Project1. Has Debug Info. Base Address: $0000000000400000. Process Project1.exe (7444) Module Load: ntdll.dll. No Debug Info. Base Ad

  • Joel Spolsky
    vb6 listview treeview win64 imagelist
    I have an old VB6 application that uses an ImageList control from COMCTL32.OCX (“Microsoft Windows Common Controls 5.0 (SP2)”) to provide icons for TreeViews and ListViews.The app won’t even launch on Windows 7.0 64 bit. The minute it tries to load the form that has the ImageList on it, it crashes (well, actually, the app winks out, exiting without a trace).Removing the ImageList from the form solves the problem.Any ideas?

  • jamylak
    python scipy python-2.6 win64
    I’m trying to use the scipy package in my 32-bit Python 2.6 on 64-bit Windows 7.I have installed Scipy 0.12.0 from the 32-bit Python Superpack binary installer. The installation went through smoothly, but after completion, I’m encountering a crash every time I try to use it in any other way than just importing the whole package – either running the test (scipy.test()) or importing one of its submodules. When I just import the whole package, it generates a warning:C:\Program Files (x86)\ESRI\Pyth

  • sebt
    .net vb.net visual-studio exception-handling win64
    I started asking this question here, and got very informative answers, but still can’t get round the problem. That question has been closed as it’s a known issue. I know it’s a known issue: my question is what can I possibly do about it?To summarise:VS debugger swallows unhandled exceptions occurring in a Form_Load event (or any calls therefrom) when debugging on Windows 64-bit systems (in my case, Win 7 64-bit). As it stands, this makes VS useless as a dev environment One suggestion was to m

  • Martin B
    c# visual-studio-2008 win64 virtualstore
    I have a little tray application that wants to write to its own folder under the Program Files directory. I know this is not an ultimate design and I will fix it, but first I want to understand how this works.Running this on a 32-bit Vista machine it writes the files to the VirtualStore and it works just like it should.But when installing this on a Vista 64-bit machine I immediately get hit with an UnauthorizedAccessException for trying to write to the directory within Program Files (and Program

  • grobartn
    c++ visual-studio-2008 windows-sdk win64 kernel32
    So I am trying to compile legacy app from 32 bit to 64 bit.. I re-compiled all of the libs it used and made it look into WIN SDK6.0A x64 bit for libs..I am using:Visual Studio Professional Edition 2008 Visual C++ dotNet Framework 3.5 SP1 Windows Server 2008R2 Windows SDK is 6.0AEverythings finally coming up but I am getting these weird undefined symbol errors:error LNK2019: unresolved external symbol InterlockedDecrement referenced in function … error LNK2019: unresolved external symbol Interl

Web site is in building