CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-08-2005, 11:32 PM
andrea andrea is offline
Registered User
 
Join Date: Sep 2003
Location: italy
Posts: 261
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??????
Reply With Quote
  #2  
Old 06-09-2005, 02:19 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
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/
Reply With Quote
  #3  
Old 06-09-2005, 02:33 AM
andrea andrea is offline
Registered User
 
Join Date: Sep 2003
Location: italy
Posts: 261
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
Reply With Quote
  #4  
Old 06-09-2005, 02:45 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
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/
Reply With Quote
  #5  
Old 06-09-2005, 11:15 AM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:12 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.