|
|
| Посл.отвђт | Сообщенiе |
|
|
Дата: Фев 25, 2003 13:25:00 Привет все. Задолбался. ПОЖАЛУЙСТА, скажите что не так: Текст DLL: format PE GUI 4.0 DLL entry DllEntryPoint stack 10000h include '%include%\win32a.inc' section '.data' data readable writeable fl_pth db 'E:\fasmw144\first.dta',0h section '.code' code readable executable proc DllEntryPoint, hinstDLL,fdwReason,lpvReserved enter mov eax,TRUE return proc DLLFunction enter invoke MessageBox,NULL,dword[fl_pth],dword[fl_pth],MB_OK mov eax, 5454h return section '.idata' import data readable writeable library kernel,'KERNEL32.DLL',\ user,'USER32.DLL' import kernel,\ GetModuleHandle,'GetModuleHandleA';,\ import user,\ MessageBox,'MessageBoxA' section '.edata' export data readable export 'compiler.dll',\ DLLFunction,'DLLFunction' Использование DLL: format PE GUI 4.0 entry start include '%include%\win32a.inc' section '.code' code readable executable start: mov eax,0545454h invoke DLLFunction invoke ExitProcess,0 section '.idata' import data readable writeable library kernel,'KERNEL32.DLL',\ compiler,'Compiler.dll' import kernel,\ ExitProcess,'ExitProcess' import compiler,\ DLLFunction ,'DLLFunction' После запуска вываливается сообщение: The application failed to initialize properly ЧТО НЕ ТАК???????? |
|
|
Дата: Фев 26, 2003 19:05:33 Здравствуйте. Попробуйте указать полный путь к DLL. С уважением, Алексей. |
|
|
Дата: Фев 26, 2003 20:26:09 TomRay Релоки забыл в dll. В конец поставь: section '.reloc' fixups data discardable |
|
|
Дата: Фев 26, 2003 20:30:56 invoke MessageBox,NULL,fl_pth,fl_pth,MB_OK |
|
Powered by miniBB 1.6 © 2001-2002
Время загрузки страницы (сек.): 0.081 |