by fp » Wed Jan 11, 2006 7:40 am
Hello Antonio,
that's what I mean (but it is not a problem, because I can use GetResources() of cource):
my code:
::hDll1 := LoadDll("MainApp.DLL")
::hDll2 := LoadDll("User1.Dll")
::hDll3 := LoadDll("ABC".Dll")
....
SET RESOURCES TO ::hDll1
DEFINE ICON ::oIcon1 RESOURCE "ICON_1"
SET RESOURCES TO ::hDll2
DEFINE ICON ::oIcon2 RESOURCE "ICON_USER_1"
SET RESOURCES TO ::hDll3
DEFINE ICON ::oIcon3 RESOURCE "ICON_WAIT"
This is oky. It would be easier:
DEFINE ICON ::oIcon1 RESOURCE "ICON_1" DLL ::hDLL1
DEFINE ICON ::oIcon2 RESOURCE "ICON_USER_1" DLL ::hDLL2
DEFINE ICON ::oIcon3 RESOURCE "ICON_WAIT" DLL ::hDLL3
But there is no DLL-command like in
DEFINE DIALOG ... RESOURCE .... DLL ...
regards,
Frank-Peter