.Controls4U: Deleted Dll entry.

git-svn-id: svn://ultimatepp.org/upp/trunk@4763 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2012-04-09 14:48:33 +00:00
parent e57e4427c0
commit cfa9bcff99
2 changed files with 0 additions and 75 deletions

View file

@ -1,67 +0,0 @@
topic "";
[2 $$0,0#00000000000000000000000000000000:Default]
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
[l288;2 $$2,2#27521748481378242620020725143825:desc]
[0 $$3,0#96390100711032703541132217272105:end]
[H6;0 $$4,0#05600065144404261032431302351956:begin]
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
[b42;2 $$9,9#13035079074754324216151401829390:normal]
[{_}
[ {{10000@(113.42.0) [s0;:Dl`:`:class:%% [*@7;4 Functions4U Reference. Dl]]}}&]
[s0;i448;a25;kKO9; &]
[s0;i448;a25;kKO9; Dl class is an easy way to load dynamic libraries:&]
[s0;i150;a25;kKO0; Windows: DLL.&]
[s0;i150;a25;kKO0; Linux: Shared libraries, relocatable files, or
programs&]
[s0;i448;a25;kKO9; &]
[ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&]
[s4; &]
[s5;:Dl`:`:Load`(const String`&`): [@(0.0.255) bool]_[* Load]([@(0.0.255) const]_[_^String^ S
tring]_`&[*@3 fileDl])&]
[s2;%% Loads library file [%-*@3 fileDl] before loading its functions.
It returns false if error or [%-*@3 fileDl] does not exist.&]
[s2;%% [%-*@3 fileDl] has to contain the full path or has to be included
in environment variables:&]
[s2;i150;O0;%% Windows: PATH&]
[s2;i150;O0; Linux: LD`_LIBRARY`_PATH&]
[s3; &]
[s4; &]
[s5;:Dl`:`:GetFunction`(const String`&`): [@(0.0.255) void]_`*[* GetFunction]([@(0.0.255) c
onst]_[_^String^ String]_`&[*@3 functionName])&]
[s2;%% It returns a pointer to [%-*@3 functionName] in the dynamic
library or NULL if error or [%-*@3 functionName] is not in the
dynamic library.&]
[s3; &]
[s0; &]
[s0; For example, in Windows:&]
[s0; &]
[s0;%% [C+75 Dl adsapi32;]&]
[s0;%% [C+75 long (`*GetDevice)(int);]&]
[s0;C+75%% &]
[s0;%% [C+75 if (!adsapi32.Load(AppendFileName(myDllFolder, `"adsapi32.dll`")))]&]
[s0;%% [C+75 -|throw Exc(Format(t`_(`"% dll not found`"), `"Adsapi32`"));]&]
[s0;C+75%% &]
[s0;%% [C+75 GetDevice `= (long (`*)(int))adsapi32.GetFunction(`"GetDevice`");]&]
[s0;%% [C+75 if (!GetDevice)]&]
[s0;%% [C+75 -|throw Exc(Format(t`_(`"Function %s does not found in
dll`"), `"GetDevice`"));]&]
[s0;%% [C+75 long device `= GetDevice(3);]&]
[s0;C+75%% &]
[s0;C+75%% &]
[s0; And in Linux:&]
[s0; &]
[s0;%% [C+75 Dl libm;]&]
[s0;%% [C+75 double (`*cosine)(double);]&]
[s0;C+75%% &]
[s0;%% [C+75 if (!libm.Load(`"][%-C+75 /lib/libm.so.6][C+75 `"))]&]
[s0;%% [C+75 -|throw Exc(Format(t`_(`"% dl not found`"), `"Libm`"));]&]
[s0;C+75%% &]
[s0;%% [C+75 cosine `= (double (`*)(double))libm.GetFunction(`"cosine`");]&]
[s0;%% [C+75 if (!cosine)]&]
[s0;%% [C+75 -|throw Exc(Format(t`_(`"Function %s does not found in
dl`"), `"cosine`"));]&]
[s0;%% [C+75 double val `= cosine(3.1416);]&]
[s0; ]

View file

@ -1,8 +0,0 @@
TITLE("")
COMPRESSED
120,156,173,86,139,110,219,70,16,252,149,173,29,7,148,171,40,247,228,19,5,236,86,117,18,84,77,130,164,65,81,8,140,120,18,79,49,145,19,169,146,148,31,72,147,111,239,30,31,178,100,59,117,2,212,16,36,248,110,103,118,103,102,41,123,202,224,209,35,50,36,135,228,129,159,112,172,151,106,99,234,120,154,9,225,71,138,201,232,227,111,175,130,200,226,41,226,185,71,185,47,57,21,204,197,55,202,41,147,140,11,234,179,64,248,156,251,36,92,24,85,85,241,212,48,223,111,64,108,200,14,153,39,25,245,132,47,124,202,61,159,33,150,17,194,136,199,36,21,220,103,50,76,117,181,136,167,4,203,57,246,8,92,30,16,74,136,71,41,225,204,35,92,10,74,57,67,10,230,49,74,100,168,243,52,158,62,119,35,11,16,86,148,116,113,116,23,217,132,32,200,110,97,130,83,78,24,151,52,144,110,56,215,31,178,252,62,73,242,65,73,30,9,179,90,175,58,69,74,68,199,39,50,162,8,117,135,238,161,135,109,133,196,102,129,85,196,17,198,152,43,3,42,5,142,36,
8,11,75,253,247,38,43,245,74,231,117,199,144,81,202,104,52,167,94,132,35,124,249,242,101,68,5,105,157,242,112,22,74,112,110,70,241,12,117,120,84,6,36,144,62,245,9,247,4,147,30,74,95,171,82,173,58,37,115,193,162,78,135,63,244,15,93,234,162,163,196,199,249,101,128,4,4,69,224,39,26,41,241,197,253,176,238,192,22,103,65,193,48,56,68,147,184,36,94,64,60,225,73,129,74,24,117,41,26,73,172,126,140,33,204,139,114,165,76,60,253,52,251,12,83,248,244,137,218,45,57,113,48,144,145,96,35,50,128,105,69,162,112,108,146,48,105,179,15,143,142,96,122,124,226,69,2,206,54,249,162,206,138,188,18,239,224,141,94,234,82,231,11,61,130,177,137,227,207,159,31,199,22,185,31,9,220,123,56,54,208,48,67,86,129,202,65,171,234,26,46,213,53,212,5,152,66,165,144,94,231,106,149,45,192,100,243,82,149,153,174,194,142,134,74,210,211,144,8,254,204,242,180,184,172,66,24,79,38,163,123,43,38,89,190,185,10,225,237,185,42,117,122,67,55,132,
82,155,98,161,106,53,55,26,150,153,177,71,69,9,235,178,248,128,134,86,95,83,210,187,117,230,80,230,15,158,53,239,39,180,49,172,241,8,94,111,230,6,231,254,93,215,231,69,138,221,171,186,55,70,180,86,200,222,217,9,234,76,156,5,90,89,195,219,186,204,242,15,201,227,100,16,194,244,196,33,35,50,194,196,7,48,47,10,19,207,144,214,22,199,206,238,85,3,196,187,217,251,22,252,190,35,137,103,201,99,204,138,55,162,48,150,129,109,202,236,116,150,163,234,44,184,110,174,97,122,244,100,167,20,230,122,89,148,186,73,0,153,32,171,43,88,246,121,143,224,69,141,166,213,155,50,199,83,101,42,13,217,18,116,89,162,107,248,186,197,148,22,186,130,188,168,65,95,161,5,163,237,12,183,202,206,85,101,35,71,45,181,202,114,168,207,49,139,141,49,176,86,245,185,101,237,238,231,216,43,95,152,77,138,17,98,153,206,47,178,178,200,237,19,8,23,24,167,205,176,93,16,214,198,255,170,73,99,187,28,175,79,255,120,190,127,219,175,197,100,156,204,38,47,126,126,
115,250,230,175,100,214,151,241,54,168,219,121,61,211,117,191,252,15,197,118,81,100,41,230,112,140,193,237,160,190,55,191,14,246,82,173,244,78,138,59,41,40,88,23,89,94,235,210,122,212,59,187,139,130,206,211,253,167,233,218,58,251,242,221,100,114,111,128,251,248,54,196,251,105,70,59,102,145,237,199,25,114,233,43,181,90,27,61,180,192,62,133,189,42,187,9,191,252,232,73,251,61,128,75,169,214,25,103,81,124,235,206,20,184,131,78,114,140,22,142,245,69,182,208,3,7,213,14,250,58,91,131,181,183,64,40,201,249,161,167,28,217,149,119,78,215,107,252,235,114,134,43,103,69,57,171,235,177,49,103,133,73,117,57,132,228,96,91,155,26,147,28,12,6,131,219,99,60,249,167,62,47,139,75,248,245,106,225,156,217,111,206,218,169,147,153,147,28,28,1,66,26,127,150,197,38,79,17,108,249,78,59,62,203,245,223,163,110,117,65,242,19,56,189,218,86,228,96,59,214,206,2,97,207,45,6,233,239,24,214,104,191,113,235,155,133,244,252,112,84,221,60,184,141,38,27,
96,235,139,149,182,219,252,110,247,70,64,186,21,180,45,118,248,253,62,236,253,2,167,109,179,246,185,252,234,174,224,230,173,238,52,78,139,141,253,18,71,239,22,69,149,229,184,38,237,201,183,108,138,37,108,183,36,57,136,241,17,104,110,158,226,233,211,230,166,42,70,110,220,150,91,205,223,181,26,119,54,99,130,140,15,111,69,171,161,89,137,27,97,91,73,131,102,172,253,157,104,17,95,93,136,206,148,255,109,27,58,53,219,174,119,219,118,115,95,40,99,101,180,133,14,199,255,138,168,187,45,134,248,95,110,183,36,106,