Jump to content

help with icons from dll


Recommended Posts

Hi all,

I want to create a DLL file that contain icons.

#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon placed first or with lowest ID value becomes application icon

LANGUAGE 9, 1
#pragma code_page(1252)
1           ICON         "icon1.ico"
2           ICON         "icon2.ico"
3           ICON         "icon3.ico"
4           ICON         "icon4.ico"
5           ICON         "icon5.ico"
6           ICON         "icon6.ico"
7           ICON         "icon7.ico"
8           ICON         "icon8.ico"
9           ICON         "icon9.ico"
10          ICON         "icon10.ico"
11          ICON         "icon11.ico"
12          ICON         "icon12.ico"
13          ICON         "icon13.ico"
14          ICON         "icon14.ico"
15          ICON         "icon15.ico"
16          ICON         "icon16.ico"
17          ICON         "icon17.ico"
18          ICON         "icon18.ico"
19          ICON         "icon19.ico"
20          ICON         "icon20.ico"

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE  
BEGIN
    "resource.h\0"
    "\0"
END

2 TEXTINCLUDE  
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE  
BEGIN
    "\0"
END

#endif  // APSTUDIO_INVOKED

/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif  // not APSTUDIO_INVOKED

and than I want to view icons from DLL with autoit using enumicons.au3 from autoit examples.

The problem is that only 6 icons appear in my DLL, but I put 20 icons in my DLL.

Why?

Can somebody help me?

Thanks in advance!

Edited by Andreik

When the words fail... music speaks.

Link to comment
Share on other sites

You could also use this empty DLL and add the resources with resHacker :)

(empty GCC-Project -> smaller and without dependencies as in VC++, you could create it yourself, too )

http://uploaded.to/?id=nn75pe

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...