| |
|
|
- Page 1 - |
|
Stephan Sonneborn | Hello Friends,
i'm there what komisches noticed: if one The SKControl.DLL VOR the ListView.DLL loading, runs the small example-Program. If one The Order umkehrt, crashes the Interpreter ex (Runtime Have I do not tested). the lying incidentally weder on the 11it yet on the 12it XProfan Version, because both behaviour itself same...
can itself the someone explain? Überschreiben the DLLs mutual WinXP? (means The SKControl.DLL whom Speicherbereich list view.DLL)?
$I SKCONTROL.INC
'If the ListView.DLL VOR the SKControl.DLL loaded becomes, crashes XPROFAN ex.
'VAR LVDLL& = USEDLL("LISTVIEW.DLL")
VAR SKDLL& = USEDLL("SKCONTROL.DLL")
VAR LVDLL& = USEDLL("LISTVIEW.DLL")
SKCtrl_InitDll()
CLS
VAR Test$ = "Ich be one SKControl-Edit"
VAR Edit& = SKCtrl_CreateColorEdit(%HWND,ADDR(Test$), RGB(000,000,000) , RGB(255,000,000),10,10,100,20,%hInstance)
WAITINPUT
SKCtrl_InitDll()
FREEDLL SKDLL&
FREEDLL LVDLL&
END
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/10/11 ▲ |
|
|
|
|
« this Posting watts as Solution marked. » |
|
Stephan Sonneborn | alas Yes... sometimes sees one whom woods not sheer trees...
I Have The SKCtrl_InitDLL() into Include verbaut and custom me then not To wonder, ifs not goes, before The DLL loaded is...
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/10/11 ▲ |
|
|
|
|
|
Thomas Freier | Verwende Both since years without Problems. Latest versions present? The construction by me in the rule (Paths adjust):
Var old_file$ = $ GetDir("@")'$PROGDIR'
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Franks ListView
Declare lvdll&, ilist&,anzahl&,ndll&
lvdll&=usedll(old_file$+"\\Lib\\List view.dll")
$I Include\Listview_Funktionen.inc
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~SKControl.DLL - functions define...
$I Include\SKControl.inc
var hdll& = UseDll(old_file$+"\\Lib\\SKControl.dll")
SKCtrl_InitDll()
var skfb& = SKCtrl_RGB(150,200,200)
cls
var listview&=CreateListview(%hwnd,%hinstance,0,Rgb(255,255,255),-1,$31)
BuildListview(listview&,6,30,80,0)
ShowListview(listview&,10,100,400,300)
VAR Test$ = "Ich be one SKControl-Edit"
VAR Edit& = SKCtrl_CreateColorEdit(%HWND,ADDR(Test$), RGB(000,000,000) , RGB(255,000,000),10,10,100,20,%hInstance)
WaitInput
$I Include\Listview_Dispose.inc
FreeDLL lvdll&
SKCtrl_DeInitDll()
FreeDll hDll&
end
|
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 03/10/11 ▲ |
|
|
|
|
Stephan Sonneborn | Stephan Sonneborn (10.03.11)
i'm there what komisches noticed: if one The SKControl.DLL VOR the ListView.DLL loading, runs the small example-Program.
The Solution is integrally simply: it lying on Einfügestelle the Include SKControl. If these After the DLL-appeal comes,is the load-Order the DLLs alike.
'so GEHTS...'
VAR LVDLL& = USEDLL(GETDIR$("@") + "\\LISTVIEW.DLL")
VAR SKDLL& = USEDLL(GETDIR$("@") + "\\SKCONTROL.DLL")
'VAR LVDLL& = USEDLL(GETDIR$("@") + "\\LISTVIEW.DLL")
$I SKCONTROL.INC
SKCtrl_InitDll()
CLS
VAR Test$ = "Ich be one SKControl-Edit"
VAR Edit& = SKCtrl_CreateColorEdit(%HWND,ADDR(Test$), RGB(000,000,000) , RGB(255,000,000),10,10,100,20,%hInstance)
WAITINPUT
SKCtrl_DeInitDll()
FREEDLL SKDLL&
FREEDLL LVDLL&
END
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/10/11 ▲ |
|
|
|
|
Stephan Sonneborn | Thomas suitor (10.03.11)
Verwende Both since years without Problems. Latest versions present?
Hello Thomas,
Yes, latest versions are installs. Schmiert because the above-mentioned Listing with you too ex, if The SKControl.DLL to the ListView.DLL loaded becomes and the Include to both called becomes? |
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/10/11 ▲ |
|
|
|
|
Stephan Sonneborn | alas Yes... sometimes sees one whom woods not sheer trees...
I Have The SKCtrl_InitDLL() into Include verbaut and custom me then not To wonder, ifs not goes, before The DLL loaded is...
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/10/11 ▲ |
|
|
|