/programs/develop/tinypad/trunk/external/dll.inc |
---|
15,8 → 15,6 |
or eax,eax |
jz .fail |
stdcall dll.Link,eax,edx |
or eax,eax |
jz .fail |
stdcall dll.Init,[eax+4] |
pop esi |
add esi,8 |
60,9 → 58,11 |
proc dll.GetProcAddress, exp:dword,sz_name:dword |
mov edx,[exp] |
.next: xor eax,eax |
test edx,edx |
xor eax,eax |
.next: or edx,edx |
jz .end |
cmp dword[edx],0 |
jz .end |
stdcall strcmp,[edx],[sz_name] |
test eax,eax |
jz .ok |
88,5 → 88,6 |
ret |
endp |
s_libdir db '/rd/1/lib/' |
s_libdir.fname rb 32 |
s_libdir: |
db '/sys/lib/' |
.fname rb 32 |