Ok, I have seen a lot of posts about this but nothing suggested seems to work. I am trying to force commons to appear at 64K address boundies as this will allow me to pass that address to MapViewOfFileEx to bring in a memory mapped file. I am attempting to emulate the VMS global section mapping process to avoid changing any application source code between the VMS and the Windoze node.
I have tried 10s of permutations of !DEC$ PSECT ALIGN, and !DEC$ ATTRIBUTE ALIGN but nothing puts the common address where I want it. On the VMS node, this address alignment is accomplished by the Linker, the Visual Studio 2008 linker seems to ignore these attemps to align the addresses.
Any further suggestions are appreciated
using:
Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1
Installed Edition: Professional
Microsoft Visual Basic 2008 91605-270-4561165-60743 Microsoft Visual Basic 2008
Microsoft Visual C# 2008 91605-270-4561165-60743 Microsoft Visual C# 2008
Microsoft Visual C++ 2008 91605-270-4561165-60743 Microsoft Visual C++ 2008
Intel(R) Visual Fortran Package ID: w_fcompxe_2013_sp1.0.103 Intel(R) Visual Fortran Composer XE 2013 SP1 Integration for Microsoft Visual Studio* 2008, 14.0.0063.2008, Copyright (C) 2002-2013 Intel Corporation * Other names and brands may be claimed as the property of others.
Steve