Re: Debugging modules

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



a7zulu@xxxxxxxxx wrote:
I have been trying to get my xll to debug in Visual Studio, there are
some errors. In my "modules debug window" under my xll, it is saying
"The module did not load at the default load address"

I am wondering what this means? If the module didn't load in to the
correct space, how am I able to call its functions from Excel?

It usually means the module was relocated from the default address
(0x400000, or whatever) to the appropriate available spot in the
process' memory. You can safely ignore it for now. Relocation only
costs you some time. If you want the dynamic libraries load as fast
as possible, and you know how many your exe has, you can make them
all have different default load addresses, so there would be no
conflict. Then no relocation occurs. That's all IIRC, of course.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


.



Relevant Pages

  • Re: how do you start learning assembly language
    ... But you really ought to have a dos stub - I ... the code doesn't load at its preferred address, ... .exe goes into memory first, it always loads at 400000h, and so doesn't ... need relocation. ...
    (alt.lang.asm)
  • Re: PE to BIN
    ... The end result is a headerless flat binary file followed by a PE relocation ... one can generally just load a PE file into memory and do the relocations/... ... I would personally just assume using a plain PE/COFF image, since the fixed load address case will likely at most only add a few extra 'mov' instructions over a flat binary. ...
    (comp.lang.asm.x86)
  • Re: Debugging modules
    ... If you want the dynamic libraries load as fast ... Then no relocation occurs. ... There is a linker option that specifies the load address for a DLL. ... Take a look at the address space of the process, find a hole big enough ...
    (microsoft.public.vc.language)
  • Re: loading Tornado 2.2 .out image on a Tornado 2.2PNE BSP machine
    ... trying to load an .out file compiled with Tornado2.2 to that machine. ... Relocation value does not fit in 24 bits ... application that its text and data section sizes are more then 32MB? ...
    (comp.os.vxworks)
  • Re: GWBs Politics
    ... "Neil" wrote in message ... >> I'm just saying that you're very ... >> fortunate, ... > load of crap...not only have I not been out of work, ...
    (microsoft.public.cert.exam.mcse)