Hi Friends, I am facing a problem in registering my COM DLL. We have build an Addin for a CAD application, which is a COM addin. At some customer site, the addin dll is not getting registered. When we try to register using Regsvr32.exe, the exe returns an error code of 0x000000B6
. The error description is "The operating system cannot run %1." when viwed with 'Error Lookup'
tool. I searched on google newsgroups and i found 1 article stating this error occurs when the ATL.dll on the target machine does not match with the ATL.dll with which the addin dll (the DLL being registered) was built. And we have to use the mindependency build to remove the ATL.dll dependency. Accordingly i found my machine has ATL.dll with version 3.0xxx. where as the client's machine has ATL.dll 2.0xxx. I replaced the ATL.dll with the one that i had and tried to register. Still the problem persists. Any clues on the above problem ? This is the most urgent and most important issue for us. Thanks and Regards, Vikram
vikramj
Posts
-
COM DLL registration problem -
which control to send emails out from apps?you may use MicroSoft MAPI controls!! Take help on Microsof MAPI controls. or you may user outlook API's / Office API's to send the mail. But it will be confined to outlook only. :) Vikram
-
UTF-8 ConversionHi, I am using LIBXML from www.xmlsoft.org[^]. To supprt our application for Japanese platform, we are encoding the strings to UTF-8 and then putting it into XML. We were using unicode build for that. So by default the strings were 'WideChars'. But in non unicode build the strings are 1 byte char strings. My question is how do i encode the 1 byte char strings to uUTF-8 ?? I was using
MultiByteToWideChar / Widechatto
... for encoding. But in this case how do i go @ it ?? My understanding on support of internationlization is not so strong. Any focus on concepts / ideas / solution to above problems will be of great help. thanks and regards. :) -
Migration to VC.NEThi friends, My question is related to VC.NET. I am working on VC++ on my application since last 1 yr. Now we are migrating to VC.NET. In the process, i am getting 100 errors related to T2A macro. the macro converts to W2A under unicode build. the error is
"error C2664: 'T2A' : cannot convert parameter 1 from 'CString' to 'LPTSTR'"
. the same line of code was working well/ works well in VC 6 env. the code isxmlSetProp(relListNode, SAFE_CAST("rid"), SAFE_CAST (T2A(relID)));
Please ignore the XML related stuff. The area of problem isT2A(CString)
. If anyone knows any solution, please help. ;) Thnaks and regards. Vikram -
Choose languagePaolo Vernazza wrote: I know that I can insert the resources in a satellite DLL, but that way has many contraindications the simplest and standard way is to bundle the resource into separate DLLs and load these resources as and when required using AfxSetResourceHandle(). But dont know whether u really want to keep the resource into the same executable ? :confused: regards. Vikram
-
How to get the default browser and its's path ?Thanks for the replies. Anyway, got the path of the browser using API FindExecutable()passing the path of a .html/.htm file. thanks & regards Vikram
-
Opening File Through C++you can call FindExecutable() which returns you the executable file's path associaated with the given file. then call shell execute on that :) rehards. Vikram
-
How to get the default browser and its's path ?I need to read the default browser of the system and spawn it's instance. How can do that ? Right now my application is reading the IE registry keys to know it's path and spawning it. But i need to support all browsers, atleast IE / Netscape / Mozilla ? How can do it ? Thanks and regards. Vikram
-
VSS API Interface ?Does any one knows where can i find the details / help about the API interface of VSS. ?? Any sample programs, tutorials etc. ?? I looked into MSDN and found only 1 page of documentation :(. I want to devlop an Addin which listens to the events of VSS(client / server) and performs some actions. Please help. :confused: thanks and regards. - Vikram