clients, and an out-of-process 64-bit COM server can also communicate with 32-bit clients. So, if you have a 32-bit COM unrecognized DLL, you can encapsulate it into an out-of-process COM server and call the DLL in a 64-bit process with a COM configuration. (The last sentence I do not understand too!!) ha haha)Verify:Work Flow:1. Create an out-of-process COM server (EXE).2. Encapsulate the interface function of the 32-bit DLL as the related interface of the COM server.3. Register the COM server
This is generally caused by WindowsInstaller error, first look at the Windows Installer service, generally inactive. If you try to enable it in a service, you sometimes find that it is disabled by the system and then started, prompting that "the specified service has been marked for deletion."
The solution is:
1, first use Msiexec/unregserver to stop Windows Installer service. In operation ... Input.
2, download the Windows Installer3.1 New Installer installation.
3, and then use Msiexec.exe
Method one, using 360 computer assistants
1. The use of 360 computer butler is very simple, we click on the "360 security defender" as shown in the following figure.
2. Then we find 360 security guards, indeed "Human Services" click to enter
3. Then search the Windows Installer as shown in the figure will search for your results.
4. We click on the repair scheme to enter, and then click Fix immediately.
Method Two, Windows 7 system self-healing feature
1. Click "Start" in the lower
/regserver" to re-register the Windows Installer service.
Part IV Server Management
§4.1 Server daily Management arrangement
Server management must be disciplined, especially when there is not only one administrator, but the day-to-day management of the work includes:
1. Timed reboot of the server. Each server is guaranteed to reboot once a week. After reboot to review, confirm that the server has been started, to confirm that all services on the serv
1. For in-process components, you can take advantage of the Regsrv32.exe provided by the Windows system.
For example, run: RegSrv32 d:\com.dll (REGSRV32 runtime calls Com.dll's derivation function Dllr
Egisterserver, True registration is implemented in DllRegisterServer)
If you want to reverse register, you can use: regsrv32/u d:\com.dll (call dllunregsrvserver function at this time)
2. For out-of-process components, because it is an executable file, it is not necessary to provide an extract
RegServer, the program is also stopped immediately after startup.
That being the case, you start using the artifact--step-one.
Startup Failure Reason
Once the Window service program is started, a run method is called in the WinMain method
Collapsehresult Run (_in_ int nshowcmd = sw_hide) throw ()
{
HRESULT hr = S_OK;
t* PT = static_cast
The Run method calls the Pt->runmessageloop () method for a while loop, which prevents the WinMa
8.4.3 Automation another program
Each server in the system registration has a key called ProgID, mainly used to identify the server controller. Any controller can use the ProgID number to create an OLE object instance. Routine AutoForm is a controller program that creates an instance of an OLE object in its main form.
Procedure Tmainform.formcreate (Sender:tobject);
Begin
Try
Memoedit: = Createoleobject (' memoedit.application ');
Except
Messagedlg (
' An instance of the ' Memoedit appli
Tags: log install SQL workaround batch tar call blog. exe1. Cause: The WMI service is corrupt.2. WORKAROUND: Run the batch statement as an administrator.@echo onCD/D C:\TempIf not exist%windir%\System32\Wbem goto TryinstallCD/D%windir%\System32\Wbemnet stop WinMgmtWinmgmt/killIf exist Rep_bak Rd REP_BAK/S/qRename Repository Rep_bakFor%%i in (*.dll) do regsvr32-s%%iFor%%i in (*.exe) do call:fixsrv%%iFor%%i in (*.MOF,*.MFL) do mofcomp%%inet start WinMgmtGoto END: Fixsrvif/i (% 1) = = (Wbemcntl.exe
\ CurrentControlSet \ Services \ MSIServer] "ImagePath" =-"ImagePath" = hex (2): 25, 00, 79,00, 6d, 00, 6f, 00, 6f, 00, \, 25, 00, 5c, 00, 6d, 32, 00, 5c, 00, 6d,, 00, 2f, 00, \ 56, 00, and then save the file as ". reg format. Double-click the file to import the file content to the Registry. Step 2: Click start --> Run, enter the CMD command, enter "msiexec/regserver" in the pop-up CMD Command Prompt window, and then open the Service Management Panel
What should I do if the Windows Installer Service is missing? I recently encountered a confusing problem. When installing some upgrade files, the system prompts that I have not started the Windows Installer Service, I went to Windows Installer in the service list, But What surprised me was that I searched all the lists and didn't have Windows Installer, but I can see the Windows Installer Service on other computers. What should I do?A: The Windows Installer Service does not need to be installed
.
The error is as follows:
It can be stopped, started, and restarted properly.
Google Now
Method 1:
The following script is useless:
@echo on cd /d c:\temp if not exist %windir%\system32\wbem goto TryInstall cd /d %windir%\system32\wbem net stop winmgmt winmgmt /kill if exist Rep_bak rd Rep_bak /s /q rename Repository Rep_bak for %%i in (*.dll) do RegSvr32 -s %%i for %%i in (*.exe) do call :FixSrv %%i for %%i in (*.mof,*.mfl) do Mofcomp %%i net start winmgmt goto End :FixSrv if /I (%1
Inno Setup is a really good lightweight installer. The reason why I used this software to install the installation package is that Visual Studio comes with a dependency on the dot NET Framework 2.0, and the graphical interface is sometimes used to render the cloud. Inno Setup is much more refreshing. You can package and release your program by directly modifying the built-in example. During the Inno Setup process, I encountered a problem of installing the OCX control. First, I did not know how t
A netizen said that he encountered a problem when installing a software:
Please help solve this problem.
First try the general method:
Start → run → enter: services. msc, OK → find the Windows Installer Service, disable
Restart your computer and then enable the Windows Installer Service.
There are new problems:
Check the command line of the service.
Start → run → input: misiexec/regserver OK
Enable the Windo
WINXP Help File Problems
I don't know how to get started. I clicked winxpto help me. I found a prompt that I couldn't find helpctr.exe. I found a download on the Internet. I didn't respond to it any time I double-clicked it. I just found it and checked it for no symptoms ~ It does not seem like a Trojan. Then I searched for helpctr.exe and found a double-click on drive C. It seems that there is a problem with the WINXP help file.
Search online. Some say that the Help and Support Service is n
that uses com as a client, server, or object executor is responsible for three things:Make sure that the COM library is of the same version as the com function cobuildversion.Before using other functions, call coinitialize to initialize the com library.Cancel the initialization of the COM library without couninitialize.The in-process server can assume that the loaded process has performed these steps.
Server rules
The internal server must output dllgetclassobject and dllcanunloadnow.The in-proc
this article to correct the problem.
Check Automation server
OccurredCreateobjectOrNewThe most common cause of related errors is a problem with the server application. Generally, application configuration or installation may cause this problem. To solve the problem, use the following process:
•
Verify that the Office application you want to run automatically is installed on your local computer. Make sure you can run the application. To do this, click Start and run, and then tr
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.