Release OCX as a summary of cab problems

Source: Internet
Author: User

Version] Signature = "$ Chicago $" advancedinf = 2.0 [add. code] test. OCX = test. OCX [getfilefromserver. OCX] file-win32-x86 = thiscabclsid = {5fb89c00-d175-45a7-9efc-15915dd5ad87} registerserver = yesdestdir = 11 fileversion = 1.0.0.1001

According to the instructions, destdir = 11. Dll will be installed under system32

But the actual situation is always installed under the C root directory.

Solution!

I tried the same signature effect and solved it!

Http://www.cppblog.com/woaidongmao/archive/2008/06/16/53565.html contains code for testing web pages

 

 

A document that the http://blog.163.com/suncaiyunhao@126/blog/static/83820238201241642422480/ compares in detail

 

Add those 71 files and compile them according to the steps.

 

 

Cab URL

 

Detailed test description:

Http://blog.csdn.net/lostspeed/article/details/6012385

According to the instructions in this blog, I downloaded the program and modified it. INF file, also made a simple Web Page Test Program for javascrip, run all OK (note that according to the previous blog. INF file error, mainly. the place in OCX missed a sentence and there was no installation, so an error occurred. You must write the DLL in sequence; otherwise, the compilation will fail and it will not happen)

At present, there is another error, that is, it is always prompted that the DLL loading fails, and the platform cannot be praised for running, mainly because the dynamic link library is not added. How to cross-platform, forget;

Another possible error is that there is always a void cmifaredll: Logout (cstring Str) before loading the DLL. // write the string and date to the log.

This log file does not exist when running on the platform, so it cannot be written. This is a problem. It must be rewritten to see if it is an event.

 

 

I run well on my computer. I cannot register my computer in the company.

Http://mimmy.iteye.com/blog/512474

 

How to Apply for a digital signature certificate

Http://kb.cnblogs.com/a/2087542/

 

Account: Common

Password: Common

 

Company: zjut

URL: www.zjut.edu.cn

 

Email is: 1252433913@qq.com

 

How to apply for an electronic signature:

Http://kb.cnblogs.com/a/2087542/

Http://wenku.baidu.com/view/2df8a518227916888486d726.html to create INF, is based on the dependency of the file, in order, and to write back

Now, you can read the card number through the web page, VB, and VC. Now the key problem is to create a cab to enable automatic download, so that the client can download the cab from my computer, and automatically installed,

The C-drive system 32 in Windows stores all types of files required by the browser. dll and other support file DLL. After all the files required to read the card number are placed in this directory, the browser automatically finds the DLL, it can run, but it is not available when it is put together with the webpage. the browser will not search for it.

Http://blog.csdn.net/dkbyjh/article/details/6000147 this web page is more detailed

 

 

Search quickly in the registry,
Method:
Run regedit.exe
Enter the ocx file name you want to search for, for example, actpmnt. ocx.

The found CLSID is {537bf624-27a6-11d0-8eff-00a0c9054334}

It's easy to use. Hurry up and find it! ^ * ^

The registered clock2.ocx ID is found in the above method.

 

There is no error during compilation, and INF is OK,

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.