Hi all.
I try to create an resource dll for the CUI file (AutoCAD 2009 SP1 Enu x64). In the MS Visual Studio 2005 I did next steps:
1. Select Win32 Project in the New Project dialog box and specify a DLL project type in the Win32 Project Wizard.
2. On the Project menu, click Add New Item, and then add the new resource.rc file into the project.
3. On the Resource view tab, from resource.rc item context menu, select the "Add Resource..." item and select some bmp file (32x32 bit).
4. Specify the /NOENTRY linker option.
5. Build the DLL.
Building was successfully. I've got the 123.dll and copy him into the same directory, where the 123.cui file are located. I set the ID (IDB_BITMAP1) for the button's images (look the screens below):
I try to do it for the Release x32, and for the Release x64. The result is the same.
Thank you.