|
-
September 14th, 2010, 10:07 AM
#1
Error in str_misaligned in application in Windows 7
Hello!
I have developed a big application on Windows XP. Now I changed my OS to Windows 7 with a new computer.
I just copied the whole project and the settings of my Visual Studio 2005, and the compiling went well. But starting the application, I get an error
Unhandled exception at 0x5e8bb10c (msvcr80d.dll) in MyApp.exe: 0xC0000005: Access violation reading location 0x000000fe
File strlen.asm:
Code:
str_misaligned:
; simple byte loop until string is aligned
mov al,byte ptr [ecx] <- Error
add ecx,1
test al,al
je short byte_3
test ecx,3
jne short str_misaligned
while just concate 2 strings:
CString a = table+"."+fields[nField].name;
Uh The same code works fine in Windows XP. Any idea what I could do? I set WINVER=0x0501 in the compiling-settings (because the target-computers are mostly XP) and started Visual Studio as administrator.
Last edited by martho; September 14th, 2010 at 10:10 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|