English 中文(简体)
零度错误(负载)在X64系统中有0.32项应用,同时汇编0K
原标题:Runtime error (dll loading) with win32 applications on x64 system, while compiling 0K

I originally designed a win32 application on win7 32bits, with VC9.0. I recently upgraded to win7 64 bits, and tried to build+execute the previous application.

楼房有罚款(Wwin32号申请),但从操作时间来看,我有错误“[......]从代码-1073741701(0xc000007b)中撤出”。

我猜测的是,装载了64个轨道版本的[预期]32个轨道。

Specific dependencies for this project are: SDL.lib SDLmain.lib SDL_ttf.lib opengl32.lib glu32.lib wininet.lib

SDL and SDL_ttf are only in 32bits version. I assume that Visual Studio is clever enough to fetch the opengl and glu lib files in syswow64 as I request a win32 application.

这是否是因为胜利? 我是否犯了错误?

感谢

最佳回答

看来,你正在将64比略的DLL装入32轨程序,反之亦然。 在这方面,我将如何追踪违法的DLLL。

The first step is to run dumpbin.exe (use a VS command prompt to get it on the PATH) on the executable to ensure the architecture is what you expect: dumpbin.exe /headers foo.exe. In the file header output, you should see a "machine" value of "x86" or "x64". In the optional header output, you should see a magic of "PE32" (for x86) or "PE32+" (for x64).

下一步是管理适当的依赖行走者,可在上查阅,视可起诉者的建筑(x86或x64)而定。 这一工具如果发现依赖并非同一结构的搜索途径,就应当告诉你。

如果依赖性步行者发现问题,则固定点将取代冒犯的图书馆,把同一建筑的图书馆替换成一个图书馆,或确保正确的图书馆在根据搜索途径建造不正确的图书馆之前就座。

问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签