HOW TO BIND A VB FUNCTION in a bas to cdecl dll api?
i want to use:
Code:
 Public Declare Function sqlite3_exec Lib "sqlite3"(ByVal sqlite3 As Long, ByVal zSql As String) As Long
or 
Function sqlite3_exec_vb Lib "sqlite3"(ByVal sqlite3 As Long, ByVal zSql As String) As Long
msgbox "ASM CODE"
end function

 Build_CDecl_InVbStdcallFunction  GetProcAddress("sqlite3_exec"),addressof sqlite3_exec_vb,args=2

sub Build_CDecl_InVbStdcallFunction(CdeclApiAddress as long ,VBFunctionAddress,Args as long)
dim AsmCode() as byte,ByteLen as long 
****code here?
'ByteLen=ByteLen+***

  Vblegend.WriteProcessMemory -1, ByVal VBFunctionAddress, AsmCode(0), ByteLen, 0
end sub
hao to call Sqlite3.dll with cdecl?-VBForums
https://www.vbforums.com/showthread....dll-with-cdecl