continuing from this thread:
How can I find the GUID for other applications or even excel if the guy from the thread above didn't mention it?
Let's say I missing from dcom (both regular and 32bit version) in server 2012R2DC with office 2010 32Bit the Microsoft Excel Application and Microsoft Word Application (or other software need to give dcom permissions to) and I want to fix the name in dcom like the guy mention in the thread, how can I find the AppID\CLSID?
Is the AppID is the same GUID as the CLSID?
Thank you,
Related
I working on an ATL Service project, an exe (out of process) NOT a DLL, and have created my COM object. When I test the Server in Visual Studio 2015 with a test client application it works with no problems.
When I install the server using, as recommended by MSDN,
YourEXE.exe /Service
The server installs and is visible in Services however when I use the same test client application I get the REGDB_E_CLASSNOTREG Class not registered error (Please note Question does not solve this).
Any ideas on a potential problems? I have only added the COM object and have not modified the rest of template in anyway. Have I possibly missed something?
We found the problem. The .rgs file had the wrong GUID in it.
This is unusual as the file was auto generated.
I am using MS word activeX in my Qt application but it failing to load the documents on some machines running XP.The doc has pointed out that the problem might be related to this:
Note however that the ActiveX server binaries you are using might not be installed on the target system, so you have to ship them with your package and register them during the installation process of your application.
link to the Qt doc
TMy problem is where do I find those server binaries and how do I register them?I would appreciate good pointers on how to get this done.
The passage you cite from Qt documentation only applies if you have the rights to redistribute the ActiveX server you're trying to use. This is common sense, really.
To use the MS Word ActiveX server, the target system must have a copy of MS Word installed. That's all there's to it.
I have an installer (made with Advanced Installer). I have an application that has to interact with it, but I don't know how to find the MSIHANDLE of that installation. I looked in the Microsoft Reference but I haven't found anything helpful for my problem.
Any help please?
The MSI handle is not available to out of process code. You'd need to write a custom action that could host some type of RPC mechanism that your application could then interact with. This is basically how Windows Installer XML's (Wix) Deployment Tools Foundation (DTF) works. It allows you to write custom actions using C# that gets wrapped with a C++ host. The C++ host uses RunDLL32 to execute the managed code out of process ( so that it doesn't tattoo the msiexec process with a CLR version ) and then an IPC tunnel is created between the two.
In your C# there is an interop library that marshalls calls across the IPC tunnel where the C++ code then calls the MSI API and returns the results.
I have built and deployed Dvorak SIP sample from C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\ATL\dvoraksip location. The sample successfully deploys and registers and when I click on Dvorak from the SIP icon at the middle of the tray it is opened in Windows Mobile 5 emulator and some other devices except Pidion BIP-1300-GSM which is running Windows Mobile 5.0.
What is the reason?
I should mention that it is always deployed and registered successfully.
UPDATE
I put DebugMessage in all of the methods.
When I Deploy Dvorak, methods in dvoraksip.cpp are called on device like what happens on Emulator.
When I click the icon in tray in Emulator methods in dvorak_implementation.cpp are called correctly but nothing is called on Pidion device.
I don know what possibly went wrong on your side. There are some pitfalls when using this WM653 sample on Windows Mobile 5. When you switch to WM5 in VS8 configuration manager, the deployment settings have to been adjusted:
Do you have WM5 SDK installed within VS2008 too?
In VS8 ensure that you link ATL statically:
Here is my updated VS2008 project/solution of DVORAK SIP sample using WM5 SDK: http://www.hjgode.de/temp/dvoraksipVS2008_WM5SDK.zip
I tested that on a WM5 device (no Pidion, an Intermec CK60 running WM5):
I have seen that you posted the same question at social.msdn and who knows where too. If the pidion still does not work like a WM5 device, you should consider changing the model.
As an alternative you may use Richard Boling's NumPanel example of a SIP.
Here is the VS8 solution for WM5SDK: http://www.hjgode.de/temp/BolingNumPanel.zip
Windows Explorer can associate a drive letter with a file system or directory within a file system. How do I do this from a C++ program under Windows 7 and Vista? My search of visual studio documentation and the web has not turned up API calls for doing this. Does anybody know?
The SetVolumeMountPoint function seems to do what you are after.
You'll find quite a lot of related functions (Disk Management, Volume Management, etc.) on MSDN (your best friend as a Windows developer, sometimes called "Microsoft Developer Network" or "Windows Dev Center").