| |
|
|
Christian Schneider | Hi,
I stand unfortunately time again on Kriegsfuß with of/ one .dll. this time is it The AutoItX3.dll. i want The function AU3_PixelSearch Call. CompileMarkSeparation How should now the suitable appeal looks? The Doku says:
AU3_API void WINAPI AU3_PixelSearch(long nLeft, long nTop, long nRight, long nBottom, long nCol, /*default 0*/long nVar, /*default 1*/long nStep, LPPOINT pPointResult);
I come simply not further. Dll and Help hang on the Posting on.
Greeting Christian |
|
|
| |
|
|
|
| Einfachst CompileMarkSeparation - if not klappen ought to Please report.
jolly - such function wished I first neulig in a DLL pack for XProfan - vlt. fetch I the to. |
|
|
| |
|
|
|
Christian Schneider | OK, I had my trouble Perhaps something accurate describe should
beforehand to that short understanding: the of me used ImportFunc has still of principle since The same function How Externals (foreseen of it the The function not directly called becomes) or?
The Part the even fehlte:
If I The function aufrufe, z.B. as now tested with CompileMarkSeparation dismisses itself the Interpreter (AccessViolation xy...). |
|
|
| |
|
|
|
| The Parameter in type and amount must very eingehalten go - faith this is not the case what whom crash explain could. |
|
|
| |
|
|
|
Christian Schneider | have right, Have a Parameter To little uses. I thought The last 3 wären optional. though remaining the Result the same. CompileMarkSeparation I know in the momentum unfortunately neither I meaningfully change could. |
|
|
| |
|
|
|
| AU3_PixelSearch(long nLeft, long nTop, long nRight, long nBottom, long nCol, long nVar, long nStep, LPPOINT pPointResult)
I count 8 Parameter!
(with so nativen Call there windows-technical conditioned optionale Parameter not.) |
|
|
| |
|
|
|
Christian Schneider | OK, with Return Value (the indeed integrally meaningfully is ;) ) are it then 8. I werd then so again a little bit rumprobieren. |
|
|
| |
|
|
|
Christian Schneider | be still bis zu before. go in the meantime of it from the it on the Return Value lying (LPPOINT pPointResult -> Returns a 2 element aray containing the pixels coordinates)
is the now one Pointer on a strukturierte Memory-Variable, one aray or on something völig other with the I not at all rechne? |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Christian Schneider | me weg slow for good The ideas from. have so quite everything attempts. all Variablentypen, as Pointer, CDECL... be for each Tipp grateful. Codes to that post Have I unfortunately no, or. I know not which I for take ought to. others functions the dll have so did i tested, these walk. as Fehlerquelle suspect I as always whom Return Value (because the function solely therefore from the by me lauffähigen distinguish). |
|
|
| |
|
|
|
Jörg Sellmeyer | i'd it Yes so suppose but one kurzer Test shows, that too the knallt: CompileMarkSeparationCls
Declare Test#
Dim Test#,8
Var a& = Test#
Print External(AutoItX3.dll,AU3_PixelSearch,4, 4, 4, 4, $0000FF, 0, 1, a&)
oder noch wahrscheinlicher
Print External(AutoItX3.dll,AU3_PixelSearch,4, 4, 4, 4, $0000FF, 0, 1, Addr(a&))
Dispose Test#
WaitI a>
|
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 02/24/09 ▲ |
|
|
|
|
| Perhaps. The DLL first of all by UseDLL invite. |
|
|
| |
|
|