| |
|
|
- Page 1 - |
|
GDL | Hi, have here small trouble.
have with XN Resourceneditor into Empty dll of XProfan some jpg hineingelegt and abgespeichert.
I can The dll of course loading, but what must I for question mark very prompt for a bestimmtes Image to obtain. it watts the Ordner JPG with the Subfolders the Bildernamen laid out. The resource therein means always standard language.
alike which Kombinationen I for ???? eingebe there's always The Error Message: Bitmap can't loaded go.
Hello Georg |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
Nico Madysa | Jörg has right, there must not 1 stand, separate the DLL-lever:
declare bild&,dll&
dll&=usedll(C:\Test1.dll)
cls
following 5 Lines weg not
bild&=create(hpic,dll&,JPEG1)
bild&=create(hpic,dll&,JPEG)
bild&=create(hpic,dll&,1)
bild&=create(hpic,dll&,JPEG\1\)
bild&=create(hpic,dll&,JPEG1)
following row goes correct
DrawExtIcon DLL&, 2, 20, 20
whilenot 0
waitinput
wend
freedll dll&
Vergiss not, that The loaded Images end with DeleteObject( deleted go must. |
|
|
| |
|
|
|
Dieter Zornow | no it his, that here in XProfan 10 one bow is. I have into Empty32.dll with the Resourcehacker one JPG eingefügt. once under Image and once under JEPG it'll both not found, therefore time in the attachment the program with Dll ought to loudly Help really walk, but it does not.
Greeting
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 03/27/07 ▲ |
|
|
|
|
RGH | Dieter Zornow
no it his, that here in XProfan 10 one bow is. I have into Empty32.dll with the Resourcehacker one JPG eingefügt.
try it with of/ one Bitmap (*.bmp) ...
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 03/27/07 ▲ |
|
|
|
|
Jörg Sellmeyer | RGH
Dieter Zornowno it his, that here in XProfan 10 one bow is. I have into Empty32.dll with the Resourcehacker one JPG eingefügt. try it with of/ one Bitmap (*.bmp) ... Greeting Roland
means the, with jpgs goes not? |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 03/27/07 ▲ |
|
|
|
|
Dieter Zornow | Hello Roland,
If I one *.bmp as type Bitmap save functions it naturally. in the Help are but no Einschränkungen erwähnt, that *.jpg only with -1 that is as File but not a Resource ladbar is. I take at times from the own Exe out functions it then neither. ought to absolutely in the Help erwähnt go or one Patch for XProfan 10 publish go.
Quote from the Help
type = -1: s = Dateiname of/ one Bitmap-File
type = 0: s = name of/ one Bitmapressource in the program
type > 0: s = name of/ one Bitmapressource in external File (z.B. DLL), type% = lever the Ressource
in the Contrast To LoadBMP can with this function numerous Formate loaded go:
·Bitmap (*.bmp, *.rle, *.dib) ·Jpeg (*.jpg, *.jpe, *.jpeg) ·Gif (*.gif) ·Enhanced Metafile ( *.emf) ·Metafile (*.wmf) ·Icons (*.ico) ·Cursor (*.cur) Quote end
i think The expression Bitmapresource can Yes not literally take there in the part -1 the functions too of Bitmap File spoken becomes
Greeting
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 03/27/07 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
RGH | SORRY, if it in the Help here something mißverständlich is. objectively are with Bitmapressourcen The BITMAP-Ressourcen, means only Ressourcen the Type Bitmap meant.
The new Formatvielfalt counts for Files!
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 03/27/07 ▲ |
|
|
|
|
| the smell after a Workaroundfunktion -> Binäre File from Ressource take off (z.B. JPG) and then first as Pic loading. |
|
|
| |
|
|
|
GDL | Hi,
i'm already here drüber stumbled.
type > 0: s = name of/ one Bitmapressource in external File (z.B. DLL), type% = lever the Ressource
in front type and hinten with comma over again type% appended. I thought always with type alone becomes the Resourcentyp, means -1,0,>0 set and comma the deal on whom Resourcennamen appended.
Schade the it with jpg not goes, but nevertheless over again all thanks.
Hello Georg |
|
|
| |
|
|
|
Stephan Sonneborn | RGH (27.03.07)
SORRY, if it in the Help here something mißverständlich is. objectively are with Bitmapressourcen The BITMAP-Ressourcen, means only Ressourcen the Type Bitmap meant.
... then weg *.wmf or *.emf presumably neither, or? |
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 03/04/12 ▲ |
|
|
|
|
Jörg Sellmeyer | Profan-Help
following Image formats go supported:
·Bitmap (*.bmp, *.rle, *.dib) ·Jpeg (*.jpg, *.jpe, *.jpeg) ·Gif (*.gif) ·Png (*.png) ·Enhanced Metafile ( *.emf) ·Metafile (*.wmf) ·Icons (*.ico) ·Cursor (*.cur)
example:
DrawPic "C:\WINDOWS\PAPER.BMP",10,10;0
3. DrawPic I, s, X, Y; n1[, n2] (corresponds to the antiquated commands DrawExtBmp) I : LongInt - Instanzhandle the EXE or. DLL, The The Bitmap contains ...
|
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 03/05/12 ▲ |
|
|
|
|
Thomas Freier | Stephan, the goes. Andreas has one nice example [...] I have The dll once with of/ one WMF #1 extended. |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 03/05/12 ▲ |
|
|
|
|
Uwe ''Pascal'' Niemeier | Hi people!
JPG, GIF, PNG etc. can too in a WebBrowser-Control Show, if one whom way the dll + whom way in der dll as URL angibt, together with the log-prefix res://
where XD the type and XXX the name the Bildes in the dll are. goes incidentally too directly in IE and with HTML as Resource. Hab's not yet probiert, ought to but too with the executing exe self klappen.
HTH Pascal |
|
|
| |
|
|