[MFC Landscaping] Skinsharp use 1-How to use

Source: Internet
Author: User

It is important to note that:

After the skin is loaded, the program shuts down without having to call the uninstall interface, and the Skinsharp will do its own cleanup work. No need to remove skin, directly call.

Its DLLs are used in a similar way to the previous skin library usages. As follows:

1. Copy the dynamic library SkinH.dll and skin file Skinh.she to the program-generated directory, and copy the SkinH.h and skin files SkinH.lib to the project folder.

2. In the precompiled header file StdAfx.h, add two lines of declaration:

" SkinH.h " #pragma comment (lib, "SkinH.lib")

3. Add a skin change command to the OnInitDialog member function in the main dialog box:

// The file name of the Skinh.she in the current directory of the loader skin for skinning // loading the skin of the specified path for skinning Skinh_attachex (LPCTSTR strskinfile,    // skin file path lpctstr strpassword    // skin key, default null);

The following is mainly the use of static link library Lib:

1, StdAfx.h file inside and put SkinH.h, Detours.lib, skinh_st.lib into your project directory inside.

" SkinH.h " // declaring functions #pragma //Shielded like no error. #pragma comment (lib, "Skinh_st.lib")// These code, the main function is the declaration of functions, the skin function is declared out.  // The generated EXE will not have to take  SkinH.dll this DLL. It's more refreshing.

2. Call Skin file

1), in the file xxxxx.cpp inside the InitInstance () initialization event inside add the following code

Skinh_init (m_hinstance); //Initialize skin, not loading skin Note Oh, this is the premise of loading the skin. 

2), in the source file XxxxxDlg.cpp inside the OnInitDialog () Form loading event inside, add the following code:

Skinh_attachresex (LPCTSTR) (idr_she1), _t ("SHE"), _t (""),0,0 ,0); // Add a resource file to the resource list, the resource file type is filled in as she, and the resource ID is idr_she1. 

3, no need to uninstall the skin, the default automatic cleaning, direct operation can be.

Homemade Skin Tools

Sheditor cracked version (she skin design tool) v0.3 free version (with tutorial)

Http://www.downcc.com/soft/101454.html

RELATED links:

skin# official website, (download use, use routine)

http://www.skinsharp.com/htdocs/products.htm#

Skinsharp Enterprise Edition Static library cracked version VC6.0 example-EXE without DLL and skins

Http://www.shellsec.com/tech/70394.html

[MFC Landscaping] Skinsharp use 1-How to use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.