Real-time error '000000': DLL entry point not found

Source: Internet
Author: User

After a few days of hard work, the basic functions of our work "Flying chat" have been implemented. From now on, we have entered the window beautification, debugging, packaging, and other stages.

 

However, this morning the problem came again. While implementing the skin replacement function for the form, although the module was added (and the corresponding API has been called), the corresponding code was also added to the form, however, the "real-time error '123456' dialog box is displayed at runtime. The DLL entry point skinh_attachex in skinh_vb6.dll cannot be found. For example:

 

In fact, this problem is probably caused by the call of functions and system interfaces. The function I declared in the skin-changing module is:

Public declare function skinh_attachex lib "skinh_vb6.dll" (byval lpskinfile as string, byval lppasswd as string) as long

The system prompts that the DLL entry points cannot be found. There are several possibilities:

1. An error occurred while declaring the statements in the System Call (for example, if the function name is misspelled, you need to re-check whether the called function name is correct ), if you are not very clear about the function name, you can use the dependency Walker analysis tool to open the corresponding DLL dynamic link library and use it to find the correct function name, you can also check whether some functions are damaged;

2. When declaring statements in a system call, the words are case-sensitive (the words must be case-sensitive when declaring a system call function );

3. Another case is that the DLL file you called is damaged or the function you want to call is missing. For example, the above error "cannot find the DLL entry point skinh_attachex in skinh_vb6.dll ", it is probably because the skinh_attachex function is missing in your skinh_vb6.dll dynamic link library or this function has an error, in this case, you can also use dependency Walker to check whether the function is missing or damaged in the dynamic link library. If so, download a corresponding DLL file again.

 

 

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.