|
|
| Посл.отвђт | Сообщенiе |
|
|
Дата: Мар 26, 2004 18:22:22 · Поправил: mix Подскажите как скомпилировать EXE с определенным ImageBase? Компилятор MASM |
|
|
Дата: Мар 26, 2004 18:30:32 Не скомпилировать, а слинковать! Ты вообще понимаешь, что такое "линковка"? link /? рулит! |
|
|
Дата: Мар 26, 2004 18:34:28 Так надо написать /BASE:АДРЕС ? Вроде не работает. |
|
|
Дата: Мар 26, 2004 18:45:25 Я балдею. Ты доки читать пробовал? MSDN видел? Читай: The key is a string of alphanumeric characters and is not case sensitive. It is usually the name of a DLL, but it need not be. The key is followed by a base address in C-language, hexadecimal, or decimal notation and a maximum size. All three arguments are separated by spaces or tabs. The linker issues a warning if the specified size is less than the virtual address space required by the program. A comment is specified by a semicolon (;) and can be on the same or a separate line. The linker ignores all text from the semicolon to the end of the line. This example shows part of such a file: main 0x00010000 0x08000000 ; for PROJECT.exe one 0x28000000 0x00100000 ; for DLLONE.DLL two 0x28100000 0x00300000 ; for DLLTWO.DLL If the file that contains these lines is called DLLS.txt, the following example command applies this information: link dlltwo.obj /dll /base:@dlls.txt,two |
|
|
Дата: Мар 26, 2004 18:47:42 Сорри за оффтоп. ступил. |
|
Powered by miniBB 1.6 © 2001-2002
Время загрузки страницы (сек.): 0.069 |