I've got the NASM... I need to download all the files to compile this DLL (Windows.Inc, etc.) but i dont know where...
Can somebody make a steep-to-steep to make the dll??? Thanks! :(
--- CODE ---
%define _WINALL_
%include "Include\Windows.inc"
extern _send@16
[BITS 32]
[section .text]
procglobal DllMain, hinstDLL, fdwReason, lpvReserved
LibMainPrologue
mov eax, 1
LibMainEpilogue
endproc
procglobal SetKernelMaxUsers, _MaxUsers, _XMaxMapSize, _YMaxMapSize
mov eax, ._MaxUsers
mov [MaxUsers], eax
mov eax, ._XMaxMapSize
mov [XMaxMapSize], eax
mov eax, ._YMaxMapSize
mov [YMaxMapSize], eax
endproc
;--------------------------------------------------------------------------------------------------------------
;Esta funcion corta el campo especificado en _Pos con el separador _SepASCII sobre el string que esta en _Text.
;--------------------------------------------------------------------------------------------------------------
procglobal ReadFieldASM, _Pos, _Text, _SepASCII
push ebx
push ecx
push edx
push esi
push edi
mov ecx, ._Pos
mov ebx, ._SepASCII
mov esi, ._Text
mov edi, ReadFieldOutPut
dec ecx
jz NoFieldError1
jc FieldError
NoFieldError:
lodsb
test al, al
je FieldError
cmp al, bl
jnz NoFieldError
dec ecx
jnz NoFieldError
NoFieldError1:
lodsb
test al, al
je FieldError
cmp al, bl
je FieldError
stosb
jmp NoFieldError1
FieldError:
sub edi, ReadFieldOutPut
mov [ReadFieldOutPutLen], edi
mov eax, ReadFieldOutPut
pop edi
pop esi
pop edx
pop ecx
pop ebx
endproc
;*************************************************************************
;-------------------------------------------------------------------------------------
;Env