|
-
Dec 2nd, 2020, 05:08 AM
#15
Thread Starter
PowerPoster
Re: hao to call Sqlite3.dll with cdecl?
DOSE IT CALL EVERY TIME?
CALL CallCdecl2 =?CALL 2 LINES CODE?
pvPatchTrampoline AddressOf Module1.CallCdecl2, 2
CallCdecl2 = CallCdecl2(Pfn, Arg1, Arg2)
I WANT TO FIND A WAY to write ASM CODE to VB FUNCTION BY WriteProcessMemory ONLY once
IT'S ERR FOR [CDECL]
Private Declare Function sqlite3_exec Lib "sqlite3" ((ByVal sqlite3 As Long, ByVal zSql As long) As Long
function Mysqlite3_exec(ByVal sqlite3 As Long, ByVal zSql As long)
' WriteProcessMemory ASMCODE here in sub main() once
asm like :
put arg1 from sqlite3
push arg2 from zSql
call sqlite3_exec
end function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|