View Full Version : Compiling .cuix icons into .dll file...
FWSchreck
2009-09-22, 12:34 AM
Hello:
I'd like to compile the all the bitmaps in my custom .cuix file (approx 400 images) into a .dll file for quicker loading. What program/process can I use to accomplish this?
RobertB
2009-09-23, 08:10 PM
Hello:
I'd like to compile the all the bitmaps in my custom .cuix file (approx 400 images) into a .dll file for quicker loading. What program/process can I use to accomplish this?There is a good explanation here (http://www.afralisp.net/vbaa/vbadll.htm).
Please post back if you find that is does improve load times. I have my doubts, given that the CUIx has the images embedded within that file.
FWSchreck
2009-09-24, 08:06 PM
Robert:
You're right about .cuix files.... I meant .cui files (AutoCAD Architecture 2009).
Sorry for the error.
RobertB
2009-09-24, 09:20 PM
Robert:
You're right about .cuix files.... I meant .cui files (AutoCAD Architecture 2009).
Sorry for the error.Good 'nuff.
However, I still have grave doubts, since the MNR is used to supply the icon images to AutoCAD. It is only when there is an update to the icons that the MNR needs to be rebuilt and that's the only time where having a DLL might improve performance. And how often is that going to happen?
Resource DLLs are a good way to keep the icons together for developers since they will only rarely need to provide updates.
I find the pain of dealing with a resource DLL for in-house customizations to outweigh the dubious advantage of a single source file (since you still need the original bitmaps anyway). And for in-house customizations, I push out the new MNR rather than a new DLL.
mhutchinson.121719
2011-06-22, 03:33 PM
There is a good explanation here (http://www.afralisp.net/vbaa/vbadll.htm).
Please post back if you find that is does improve load times. I have my doubts, given that the CUIx has the images embedded within that file.
Hey Robert Bell ...
the link in your post appears broken... is this not available anymore?
Ed Jobe
2011-06-22, 04:56 PM
Hey Robert Bell ...
the link in your post appears broken... is this not available anymore?
Yes, that website is down. It explained how to create such a dll. But all the resources are compiled in a cuix by default now.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.