English
Forum

Image dll

 

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.
declare bild&,dll&
dll&=usedll(C:	est1.dll)
cls
bild&=create(hpic,1,??????,dll&)

whilenot 0

    waitinput

wend

freedll dll&

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
03/25/07  
 




Frank
Abbing
Hi.

statement from the ProSpeed-Help, Perhaps helps it to you here:

for s can a number (Long) or one String (Resourcename) indicated go. It can even a number in the string indicated go, then must the first characters in the string one # his and the remainder becomes as number interprets, z.B. Text$=#100. becomes for s one String indicated, then must it at least 3 characters include, names with less characters are not permits.
for H can a Dll or the HInstance the Exeprogramm indicated go, too one fremdes Exeprogramm, the Resources contains, can indicated go, sofern the HInstance this Program determined watts.
important: Bmp-Files Resources can as Resourcetyp BITMAP or IMAGE stored his.
All other graphic-Files must as Resourcetyp IMAGE stored his ! so becomes z.B. one Jpg-Image not found, the as type BITMAP stored watts...
 
03/26/07  
 




Nico
Madysa
Yes, ähm, has Create(hPic, really only four Parameter?
CompileMarkSeparation
so should it already voices, but respect hold on it, How Rolf already said, that You The JPEGs as IMAGE stored have.
 
Nico Madysa
03/26/07  
 




Jörg
Sellmeyer
have You you the Result of UseDll already time respected?

c.est1.dll goes so on none drop!! you mußt either everything big write or whom Backslash double:
c.\Test1.dll
becomes otherwise as characters for Tabstop respected.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/26/07  
 




GDL
Hi,
thanks first all, but I wars not on The row.
CompileMarkSeparation
declare bild&,dll&
dll&=usedll(C:\test1.dll)
cls
folgende 5 Zeilen gehen nicht
bild&=create(hpic,1,JPEG1,dll&)
bild&=create(hpic,1,JPEG,dll&)
bild&=create(hpic,1,1,dll&)
bild&=create(hpic,1,JPEG\1\,dll&)
bild&=create(hpic,1,JPEG1,dll&)
folgende Zeile geht einwandfrei
DrawExtIcon DLL&, 2, 20, 20

whilenot 0

    waitinput

wend

104 kB
Hochgeladen:03/26/07
Downloadcounter228
Download
 
Windows7 Xprofan 8,9,10 [...]  [...] 
03/26/07  
 




Jörg
Sellmeyer
so functions it at least with of/ one Bitmap-Resource:
CompileMarkSeparation
Declare Dll$,hDll&,Bild$,hBmp&
Dll$=test.dll
hDll&=UseDll(Dll$)
Bild$=Bild1
hBmp&=Create(hPic,hDll&,Bild$)
Cls
Print Dll$,hDll&,Bild$,hBmp&
DrawPic hBmp&,0,20;0
WaitI
a>

with one Jpg-Image funktioniertes so though too not at me
you have In any drop already time a Parameter too much indicated. See your own Posting:


type > 0: s = name of/ one Bitmapressource in external File (z.B. DLL), type% = lever the Ressource


If type larger as zero is, is it a Bitmapresource in a external file. then is type% the Dllhandle.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/27/07  
 




Frank
Abbing
Hello? hears someone To?
The Info have I already given... One Jpg-Image must in a Resource-Ordner (Resourcetyp) IMAGE prepares go, otherwise becomes not found...
 
03/27/07  
 




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.
 
Nico Madysa
03/27/07  
 




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

8 kB
Hochgeladen:03/27/07
Downloadcounter176
Download
 
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 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


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  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

17.392 Views

Untitledvor 0 min.
p.specht04/03/16
ByteAttack09/29/15
H.Brill08/25/14
Manfred Barei12/27/13
More...

Themeninformationen



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!


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