| |
|
|
KHR | Hello together,
if one different Ressourecen-DLLs gebastelt has and one would like on it zurgreifen, must one Yes The names or numbers the encompassed Objects kennen.
gives it in XProfan ne Possibility nachzschauen, what there drin is and the z.B. as list in the program To process? if so: How? Perhaps small example? - Daaaaaanke !!! |
|
|
| Gruß Karl-Heinz WIN XP home/Pro / XPROFAN 11 / P2CPP ATMEL + BASCOM Fan | 02/15/09 ▲ |
|
|
|
|
KHR | Sorry
if ichs once more into Vordergrund schieb. has nobody NEN hint, How I there vorgehen could??? |
|
|
| Gruß Karl-Heinz WIN XP home/Pro / XPROFAN 11 / P2CPP ATMEL + BASCOM Fan | 02/16/09 ▲ |
|
|
|
|
Andreas Miethe
| Hello Karl-Heinz,
a couple Procedures a of my programs ought to help ! CompileMarkSeparation $H windows.ph
Proc Is_IntResource
Declare IntResource$
Parameters Type&
IntResource$ = 1,2,3,4,5,6,7,8,9,10,11,12,14,16,17,19,20,21,22,23,24
If Instr(Str$(Type&),IntResource$)
Return 1
Else
Return 0
Endif
EndProc
Proc IntResourceToString
Parameters Type&
Declare I_Str$
Case Type& = 1 : I_str$ =CURSOR
Case Type& = 2 : I_str$ =BITMAP
Case Type& = 3 : I_str$ =ICON
Case Type& = 4 : I_str$ =MENU
Case Type& = 5 : I_str$ =DIALOG
Case Type& = 6 : I_str$ =STRINGTABLE
Case Type& = 7 : I_str$ =FONTDIR
Case Type& = 8 : I_str$ =FONT
Case Type& = 9 : I_str$ =ACCELERATOR
Case Type& = 10 : I_str$ =RCDATA
Case Type& = 11 : I_str$ =MESSAGETABLE
Case Type& = 12 : I_str$ =GROUP_CURSOR
Case Type& = 14 : I_str$ =GROUP_ICON
Case Type& = 16 : I_str$ =VERSIONINFO
Case Type& = 17 : I_str$ =DLGINCLUDE
Case Type& = 19 : I_str$ =PLUGPLAY
Case Type& = 20 : I_str$ =VXD
Case Type& = 21 : I_str$ =ANICURSOR
Case Type& = 22 : I_str$ =ANIICON
Case Type& = 23 : I_str$ =HTML
Case Type& = 24 : I_str$ =MANIFEST
Return I_Str$
EndProc
Proc ResTypes
Parameters hModul&,lpszType&,lParam&
If Is_IntResource(lpszType&)
Print IntResourceToString(lpszType&)
else
Print String$(lpszType&,0)
Endif
~EnumResourceNames(hModul&,lpszType&,ProcAddr(ResNames,4),0)
Return 1
EndProc
Proc ResNames
Parameters hModul&,lpszType&,lpszName&,lParam&
If lpszName& & $FFFF0000
Print +String$(lpszName&,0)
else
Print +Str$(lpszName&)
Endif
Return 1
EndProc
Var Dll& = Usedll(lleer32.Dll)Pfad zur Dll anpassen
cls
~EnumResourceTypes(dll&,ProcAddr(ResTypes,3),0)
waitinput
end
|
|
|
| Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...] | 02/16/09 ▲ |
|
|
|
|
KHR | Hello Andreas,
.
class, the wars. very the I need.
Vielen Thanks.
. |
|
|
| Gruß Karl-Heinz WIN XP home/Pro / XPROFAN 11 / P2CPP ATMEL + BASCOM Fan | 02/16/09 ▲ |
|
|
|