Just the colleague asked Qt to operate Excel. Transferred from: http://blog.csdn.net/a156392343/article/details/48092515 Compounding aspects:1, ensure that EXCEL software registered successfully in the local server, not registered successfully can be run in the "E:\program Files\Microsoft Office\office12\excel. EXE "/RegServer Manual registration, note the path to use your own Excel path.2. Make sure that the components are properly configured, run t
This may be caused by the problem of installing the service in windows. Try it like this:1. Click Start-run and Enter cmd. Press enter. In the prompt window, enter "msiexec/regserver" (without quotation marks); input twice consecutively (the first is to delete the Windows Installer service directory, and the second is to recreate the directory, to update this service directory file ).2. Right-click on my computer and choose manage.Program"-- Service,
the "XXX.lib not found" condition occurs during compilation, check that the path is added correctly, or copy the Lib file directly to System32 ...7 if the compile link through, run up or there is an exception, check whether MATLAB server has registered success: Run Matlab/regserver, and then try again.8 because the command invoked by MATLAB is passed in as a string, be sure to note the special symbols and spaces inside the string . Special symbols ne
This is an error caused by the WMI service corruptionRepairing a corrupted batch program for the WMI serviceCopy the following code into a text file, renamed Fixwmi.bat, and run. It will take some time, please wait patiently. ===============================Fixwmi. CMD------------------------@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 regsvr
); // ---------------------------------------------------------- 5// Schedule the command specified in the command line. If// Use/RegServer,/Register,/Unregserver, or/Unregister to start the application, FALSE is returned.If (! ProcessShellCommand (cmdInfo) // -------------------------------------------------- 6Return FALSE;// The main window is initialized, so it is displayed and updated.Pmainframe-> showwindow (m_ncmdshow );Pmainframe-> updatewindow
When we use the Wizard to create an MFC application, the following code always appears in the app: initinstance (). What does this mean, I lost a lot of information and finally made it look like it was.
Ccommandlineinfo cmdinfo; // define the command lineParsecommandline (cmdinfo); // parse the command line
// Schedule the command specified in the command line. If// Use/regserver,/register,/unregserver, or/unregister to start the application, false is
components in the process provide the corresponding entry functions dllregisterserver and dllunregisterserver, regsvr32 can complete registration or cancellation.
====================
You can use the following statement to complete the registration of In-process components:Regsvr32 c: \ mycomobject \ mycomobj. dllRegsvr32/U c: \ mycomobject \ mycomobj. dll
For components outside the EXE process, it is an executable program, and it cannot provide entry functions for other programs to call. There
When using Inno Setup to create an installation script, you may encounter errors when running the program after the DLL is not registered and the installation is complete.After a series of searches, the solution is finally found.The Code is as follows:[Files]Source: "DLL file path"; destdir: "{app}"; flags: ignoreversion regserverSource: "DLL file path"; destdir: "{app}"; flags: regtypelibCode parsing:Among them, flags: The regserver parameter of the
point, the COM + error is resolved, but the Windows Installer cannot access the error. Continue.
4. There are many Google websites. Here we only record the ones I use.
4.1 rewrite the registry, use NotePad to edit the following content, save it as a. reg file, and double-click it to complete the import.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ msiserver]
"ImagePath" =-
"ImagePath" = hex (2): 25, 00, 53,00, 79,00, 00, 00, 6d, 0
1. hkey_classes_root1> the CLSID subkey records all COM component information:A> the inprocserver32 sub-Key of the CLSID sub-Key of the (in-process component) OBJECT records the full path File Name of the component program;The localserver32 sub-Key of the CLSID sub-Key of the (out-of-process component) OBJECT records the full path File Name of the component program;B> the progid (Program identifier, program identifier) of the CLSID subkey defines the string name of the component.
2> the componen
When you debug a project with visual studio.net 2003, the error dialog box is displayed as follows:
An error occurred while trying to run the project. debugging cannot be started. The debugger is not correctly installed. Run and installProgramInstall or restore the debugger.
The solution is as follows:
1. Try to register mscordbi again in the command line. DLL (command line Input: regsvr32 mscordbi. DLL) file, which is located in (c: \ winnt \ Microsoft. net \ framework \ v1.1.4322 plea
Symptom: Error while trying to run project: unable to start debugging. The debugger is not properly installed. Run setup to install or repair the debugger.
Solution 1: run the Visual Studio. net Add/Remove feature from "Control Panel> add or remove programs", by selecting the correct version of Visual Studio and clicking on "change/Repair" button. in my case this solution did not fix the problem.
Solution 2: reinstall. NET Framework debugging services.
Open command prompt
Type "CD/d
Recently, I am working on a material accounting software and finally finished preparing to submit to the user. During the first installation, I extracted the VB Runtime Library and installed and run properly in the testing environment, later I found an error in the printed area. not compatible with DLL after modification. an error occurred while creating the package. it is correct in the development environment. later, you just need to manually register the DLL with regsvr32. inno Setup was not
The system administrator sets a system policy to disable installation.
Method 1: Click Start and run "gpedit. msc"Open Group PolicyClick "user configuration"-manage template-Windows Components-Windows Installation ServiceSet "Prohibit installation from media" to "Disable ",Set "always install with high privileges" to "enable"Method 2: First, check whether the current user has administrator permissions;Install ikernel.exe later;If not, delete all files under the system installation directory Pro
After the "Microsoft Script Editor" is installed, an application named mdm.exe ("Computer debugging manager" is used to provide the applicationProgramDebugging) the program will be installed at the same time, and the result is that this stuff causes system debugging problems.
The prompt message is:
An error occurred while trying to run the project: failed to start debugging and the debugger was not correctly installed. Run the installer to install or repair the debugger.
1 regsvr32 mscordbi.
Microsoft's official website describes the problem as follows: In a 64-bit Windows system, a 64-bit process cannot load a 32-bit DLL, similarly, a 32-bit process cannot load a 64-bit DLL. However, 64-bit Windows supports RPC between 64-bit and 32-bit processes (including local or cross-host processes ). In 64-bit windows, a 32-bit external process COM server can communicate with a 64-bit client, and a 64-bit external process COM server can also communicate with a 32-bit client. Therefore, if you
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.