From: <Bobby.Hicks@xxxxxxxxxxxxxxxx>
> I have a MI program that resolves pointers to a library and object before
> it tries to access it.  This works great except that I get an error when
> resolving to library QTEMP.  Is there a way around this?
>

there is no library with the name QTEMP.
You can find a pointer to your temporary QTEMP in the PCO object
At offset H40 (or H60 if you count from zero offset).

Address C9A943814F 000020
000020  80000000 00000000  2D4E18AC E6001000    Ø········+·ÐW··· Space Ptr
000030  00008000 00000000  1F097ADA 6D00193F    ··Ø·······:¹_··· Space
000040  00008000 00000000  D0471F8A BC0019FF    ··Ø·····}å·«¯··· Space
000050  00008000 00000000  0E1468AC B10010FF    ··Ø·······ÇУ··· Dev Descr
000060  00008000 00000000  D8C50D25 E50004FF    ··Ø·····QE··V··· Library


the above pointer is to QTEMP or really to:
Address D8C50D25E5
000000  00010028 00900001  D8C50D25 E5000000    ·····°··QE··V···
000010  00010000 00000000  E7E0D6CA 7B000020    ········X\O­#···
000020  000004C1 D8E3C5D4  D7404040 4040F0F0    ···AQTEMP     00
000030  F3F3F8F6 F4C5C3F6  F9F1F1F1 F9C5F8F0    33864EC691119E80
000040  F0F00000 00001FE0  00000038 FF1C0601    00·····\········
000050  864EC691 11E40000  00000000 00000000    f+Fj·U··········

note that the real name is QTEMP     0033864EC691119E8000
also note that the Type is 04 but the subtype is C1, not 01 as it
would be for a normal library. I don't remember if it would work just
to resolve to QTEMP, but with type/subtype 04C1. It is worth a try!



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.