I written an application that loads a DLL. The application also takes care of calling
stepA) I put here very ugly my-solution or C#/LPR/.DOF
stepB) I run reiterator not recursive the "Procedure vla_dcallnet100(exeW:word);"
stepC) But you need add
Using System.Windows.Forms,System.IO;
Using System.Drawing.Imaging;
Using System.Threading.Tasks;
stepD)You execute once "vla_dcallnet100"
stepE)The function vla_dcallnet100 call the 10000x while (json>JsonNop) do ...sleep(30);end;
stepF)Main program docecolo.pas or docecolo.exe ,
link to external cook3260.DLL
The cook3260.dll link to chaiajnax.ROM (as idem docecolo.exe->cook3260.dll)
I arrange three programs from top to bottom.
Level-Level= docecolor.exe link to cook.dll-once and link-one-fix
Mid-Leve=cook3260.dpr link dynamically with cecolord.rom or codostee.rom
or any .rom. Here you can replace cecolord.rom with multiples file *.rom
Low-level=cecolord.rom
chiajanx.rom
codostree.rom
calfelix.rom,certwget.rom, cexplore.rom, cfontdwg.rom, cimapitb.rom
cip03dcl.rom, cisavbak.rom, ckeystat.rom, clc2stex.rom, clibjpeg.rom
clistene.rom, clistsvc.rom, cnotepad.rom, coarrint.rom, coasiapp.rom
cobmpaxo.rom, cobmpcur.rom, cobmpers.rom, cobmplsp.rom, cobroken.rom
coc2sbat.rom, coc2sclj.rom, coc2sgmp.rom, coc2slsp.rom, cocabine.rom,
cocmdhtm.rom, cocppdie.rom, codiecpp.rom, codoclsp.rom, codocrtf.rom
codotdoc.rom, codotrtl.rom, codotrtm.rom, codsound.rom, codstree.rom
cofcache.rom, cogifhat.rom, cogifmsg.rom, coicomtx.rom, coicoxls.rom
coimgvue.rom, coinject.rom, colinlsp.rom, colspsds.rom, comapitb.rom
comcatcc.rom, comicttf.rom, comnslsp.rom,compittf.rom,conint64.rom
LowLow-level=
'Blade2024RunnerEndless06Streets
:'(
Question1?
C:Q1 how comunicate any lib.rom with main-executable docecolo.exe?
C:Q2 Please any help, Do with more gather informantion/s? Work good or not?
By About Linux? How does-it?
theFunction docecolo_loaddoc(driverexp:char):integer;external 'cook3260.dll';
Procedure docecolo_freedoc(indx:word);external 'cook3260.dll';
Function docecolo_callbak(c:integer):integer; external 'cook3260.dll';
Function docecolo_calldoc(indexPavel,cmx:word):integer;external 'cook3260.dll';
The main-handler
Function docecolo_calldoc(indexPavel,cmx:word):integer;external 'cook3260.dll';My main trick are these lines.
Procedure vla_dcallnet100(exeW:word);
Try
Parallel.Invoke (
procedure -> begin
while (json>JsonNop) do
{
if (json=JsonRun) then {
Json=JsonWait;//YOu must be sure do not overfull of call.
docecolo_calldoc(Direct2D1.x,Direct2D1.y);
Json=JsonNop
} else
Sleep(30);
}
}; //end/while while . 10000x of checking Json the variabiles ONLY
Eu multumesc tie ArsenieBoca.
Procedure vla_dcallnet100(exeW:word);
Var ercad:integer;
{ ercad:=RTGOOD;
Try
Parallel.Invoke (
procedure -> begin
while (json>JsonNop) do
{
if (json=JsonRun) then {
Json=JsonWait;
docecolo_calldoc(Direct2D1.x,Direct2D1.y);
Json=JsonNop
} else
Sleep(30);
}
}
procedure -> begin
Blade2020Runner();
}
);
Except ercad:=RTCAN;
}
stepG) inside Cook3260.dll
[code] the cook3260 .dll is only autoloader.
Function docecolo_loaddoc(driverexp:char):integer;stdcall;
Begin
Result:=RTCAN;
ddrawcompat.err :=RTCAN;
ddrawcompat.drv :='A';
ddrawcompat.dll:=SafeLoadLibrary(ktoolsize_cecolor32dll,get_semantic);
if (ddrawcompat.dll<255) then
Begin ktoolsize_cecolor32dll[0]:=driverexp;
ddrawcompat.dll:=SafeLoadLibrary(ktoolsize_cecolor32dll,get_semantic);
if (ddrawcompat.dll<255) then
Begin ktoolsize_cecolor32dll[0]:=php_comcatc;
ddrawcompat.dll:=SafeLoadLibrary(ktoolsize_cecolor32dll,get_semantic);
End;
if (ddrawcompat.dll<255) then exit;
End;
@ddrawcompat.fnc:=vla_get_ProcAddress(ddrawcompat.dll,'Blade2024RunnerEndless06Streets'#0#0#0);
if (@ddrawcompat.fnc<>nil) then
Begin ddrawcompat.err:=RTGOOD;
ddrawcompat.drv:=ktoolsize_cecolor32dll[0];
Result:=RTNORM;
End
else result:=RTFAIL;
End;
stepH)Here code of cook3260.dll
Var ddrawcompat.fnc:function
Function docecolo_calldoc(indexPavel:integer):integer; stdcall;
Begin Result:=100;
Try ddrawcompat.fnc(ddrawcompat.drv,indexPavel);
Except result:=RTCAN;
End;
if (result>0) then result:=RTGOOD;
End;
stepI) the cook3260 is main-autoloader of .Rom". You rename your external
ddrawcompat.dll:=SafeLoadLibrary(NAME-OF-ROM-FROM-ORG.DLL,get_semantic);.dll as .rom.
stepj)
Function docecolo_loaddoc(driverexp:char):integer;stdcall;
Begin
Result:=RTCAN;
ddrawcompat.err :=RTCAN;
ddrawcompat.drv :='A';
ddrawcompat.dll:=SafeLoadLibrary(ktoolsize_cecolor32dll,get_semantic);
if (ddrawcompat.dll<255) then
Begin ktoolsize_cecolor32dll[0]:=driverexp;
ddrawcompat.dll:=SafeLoadLibrary(ktoolsize_cecolor32dll,get_semantic);
if (ddrawcompat.dll<255) then
Begin ktoolsize_cecolor32dll[0]:=php_comcatc;
ddrawcompat.dll:=SafeLoadLibrary(ktoolsize_cecolor32dll,get_semantic);
End;
if (ddrawcompat.dll<255) then exit;
End;
@ddrawcompat.fnc:=vla_get_ProcAddress(ddrawcompat.dll,'Blade2024RunnerEndless06Streets'#0#0#0);
if (@ddrawcompat.fnc<>nil) then
Begin ddrawcompat.err:=RTGOOD;
ddrawcompat.drv:=ktoolsize_cecolor32dll[0];
Result:=RTNORM;
End
else result:=RTFAIL;
End;
Eu multumesc tie ArsenieBoca.