` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Icon and Image only DLL
1999-04-27 -- Jim DeFabia
 
* Create a new project ================== 1. Select File > New > Project. 2. Give it a name (let's call it " Icononly.prj " for this discussion) 3. Name the main source file name (let's call it " Icononly.clw " for this discussion) 4. In the Target type drop down, select DLL 5. Press the OK button. ------------------------- * Edit the Project ============== 1. Set the project properties to 16- or 32-bit (depending on your need) 2. Edit Icononly.clw to provide the bare minimum code required: PROGRAM CODE 3. Create an export file (.EXP) . In app gen this is created for you, but in a hand-coded project you'll have to provide your own. Name it the same as the CLW and place it in the same directory. Here is a sample bare-bones EXP file: NAME 'icononly' WINDOWAPI CODE MOVEABLE DISCARDABLE PRELOAD DATA MOVEABLE SINGLE PRELOAD HEAPSIZE 1024 SEGMENTS ENTERCODE MOVEABLE DISCARDABLE PRELOAD EXETYPE WINDOWS ;End of Exported Global Data ------------------------------------ * Add the icons to link in ==================== 1. Highlight Library, object, and resource files, then press the Add File button. 2. Set the "Files of Type" to Icon files, the select the Icon(s) using the file dialog. (TIP: you can multi-select files.) 3. Make your DLL.


Today is November 23, 2024, 3:44 am
This article has been viewed 35206 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: