NO

Recent Posts

Pages: [1] 2 3 ... 10
1
Add-ins / PjrObjDmpZds Add-In using Zydis.dll
« Last post by TimoVJL on Yesterday at 09:38:51 am »
Object file disassembler with Zydis.
PjrObjDmpZds Add-In using Zydis.dll
Zydis dll's are in separated zip.
Dll need to be in PellesC bin folder.
2
Tips & tricks / Re: Zydis
« Last post by TimoVJL on Yesterday at 09:03:08 am »
This version prints code bytes.
3
Tips & tricks / Re: Zydis
« Last post by Jokaste on November 21, 2017, 11:05:43 pm »
Data segments and Resources.
Or a dump of the datas.
It there was an option for getting bytes code this would be great.
I made a program to optimize source code from podump, strages addresses computed, no possibility to know datas aligment.
PoDump gives the byes code and the source code the two were precious.
With your program i like taht you give the window's functions.
Knowing it we can built (or suppose) the function arguments.
With that we can identify the datas.
4
Tips & tricks / Re: Zydis
« Last post by TimoVJL on November 21, 2017, 09:14:50 pm »
Is something missing from that example?
5
Tips & tricks / Re: Partially working InvokeHelper code generator.
« Last post by TimoVJL on November 21, 2017, 09:10:10 pm »
Visual C++ can create InvokeHelper() wrappers for IDispatch.
I just needed a similar for C as SynRad OCX vtable don't work for me :(
Normally vtable is better and faster for normal usage.
6
Tips & tricks / Re: Zydis
« Last post by Jokaste on November 21, 2017, 08:56:27 pm »
Is this project finished?
7
Tips & tricks / Re: Partially working InvokeHelper code generator.
« Last post by Jokaste on November 21, 2017, 08:55:09 pm »
I have downloaded and executed your program.
What is the goal?
Is it for creating an interface dor COM (or equivalent) ?
 ???
8
Assembly discussions / Re: RichEdit
« Last post by Jokaste on November 21, 2017, 08:50:36 pm »
The main file. E.asm
I have understood in reading many times the iczelion tutorial.
I use the common dialog box and all the examples I have read did not use it (Iczelion too...).
Now I think that I have understood how it runs.
So you can consider the post closed.


I had searched on google, wikipedia and you tube... If you see what I mean... Poor boy...
9
Assembly discussions / Re: RichEdit
« Last post by jj2007 on November 21, 2017, 07:27:08 pm »
In which of the 27 files do you use the EM_FINDTEXT message?
10
Tips & tricks / Partially working InvokeHelper code generator.
« Last post by TimoVJL on November 21, 2017, 12:29:42 pm »
Partially working InvokeHelper code generator for C.
It needs lot of fixing, but can create a templates for functions/methods.

Create code like this:
Code: [Select]
int _DSynMhAtx_AddPolyLine(IDispatch *pDisp,BSTR strObjectName,short nPts,float* x,int bClosed)
{
        if (!pDisp) return;
        DISPPARAMS dp;
        VARIANT vResult;
        VariantInit(&vResult);
        VARIANT vParams[4];
        vParams[3].vt = VT_BSTR;
        vParams[3].bstrVal = strObjectName;
        vParams[2].vt = VT_I2;
        vParams[2].iVal = nPts;
        vParams[1].vt = VT_R4 | VT_BYREF;
        vParams[1].pfltVal = x;
        vParams[0].vt = VT_I4;
        vParams[0].intVal = bClosed;
        dp.cNamedArgs = 0;
        dp.rgdispidNamedArgs = NULL;
        dp.cArgs = 4;
        dp.rgvarg = &vParams[0];
        pDisp->lpVtbl->Invoke(pDisp, 0x33, &IID_NULL, LOCALE_SYSTEM_DEFAULT, DISPATCH_METHOD, &dp, &vResult, NULL, NULL);
        //SysFreeString(vParams[3].bstrVal);
        return vResult.intVal;
}
Hopefully it helps someone with similar issues.
Pages: [1] 2 3 ... 10