English
Forum

Vertragen the SKControl.DLL and The ListView.DLL not?

 
- 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  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.239 Views

Untitledvor 0 min.
Georg Teles10/31/19
Michael W.07/07/16
Christof Neuß01/11/16
rquindt08/09/15
More...

Themeninformationen

this Topic has 2 subscriber:

Stephan Sonneborn (4x)
Thomas Freier (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie