#1
|
|||
|
|||
insert image in .dll file
I would want to compile file.lsp with the command (compile-file),
to the inside of my file lisp.. I have the command: (sd-create-image "Icon-help2" :filename c:/Image.bmp") How I can insert the image icon in my file .DLL created with the compile-file??? it is possible?????? |
#2
|
||||
|
||||
Re: insert image in .dll file
There is probably no easy way to do this. Why would you want to do this?
Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/ |
#3
|
|||
|
|||
Re: insert image in .dll file
But a menu of dialog with the push-button "?"
a menu recalls me with to the inside an image. This menu is create : (sd-create-image "Icon-help" :filename c:/Immage.bmp") (sd-create-dialog-shell "HELP-2" :title "Help 2" :bottomLine nil :margin 0 :areaBackground :option) (sd-append-grid-area "HELP-2-GA" "HELP-2-AA" :title "" :width 550 :height 880 :cellSize 1,1 :frame nil) (sd-create-label-control "HELP-2-LB" "HELP-2-GA" :x 0 :y 0 :width 550 :height 880 :image "Icon-help") (sd-show-dialog-shell "HELP-2" :position '(nil :mouse_relative -820 -50)) Now I want to transform the rows with the command (compile-file) for create a file .dll But as I can make with file: c:/Immage.bmp in (sd-create-image "Icon-help" :filename c:/Immage.bmp") I wanted to include it in the file .dll |
#4
|
||||
|
||||
Re: insert image in .dll file
Sorry, I don't understand what you're saying .-(
If your problem is that you have an absolute path to the image file, then you should learn about OSDM locates image files; you can add them to your customization directories, and they will be found automatically, even if you do not specify the full path. See the IKIT and the Customization documentation for details. Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/ |
#5
|
||||
|
||||
Re: insert image in .dll file
I assume the intention is to have only *one* file to send to friends, customers or/and/and/and.
If you create menu with 20 buttons and you would like to have icons for them you have to ship 21 files (one dll + 20 images). Then you start thinking about to have a setup program. Well, a ZIP file is something what does help here. And zip-ing and un-zip-ing is something what you can expect IMHO from the people you send the dll to. Something like 'inline objects for images' as HTML offers does not exist for OSDM. Or let's say: how to link the image file INTO the dll? For the moment I do not know about a possibility to do this. And I fear that there's *no easy* way. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|