The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: andrewz on March 16, 2006, 10:45:19 PM

Title: DLL crashes on XP Pro x64
Post by: andrewz on March 16, 2006, 10:45:19 PM
I have a 32-bit dll that's in use on hundreds of 32-bit systems. In x64 it won't run, just gives c0000005 access violations. It seems to be when writing to one of my .data segments. I'm assembling with Masm 6 and linking with link 5.12.8078. There are 3 object modules linked to make the dll. Are there any special considerations when writing a program that needs run on a 64-bit system? Thanks.
Title: Re: DLL crashes on XP Pro x64
Post by: andrewz on March 17, 2006, 05:00:45 PM
I found the problem.  :U There were some vestigial uses of segment registers left over from a 32 bit DOS extender version of the program.  :bg
Title: Re: DLL crashes on XP Pro x64
Post by: Mincho Georgiev on March 17, 2006, 08:10:51 PM
If you had problems::resolve on XP-64 again i think is a good idea to post them as well, maybe they'll be usefull later for some of us when we upgrade to 64's  :thumbu