Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Kurt,
I did all that. In fact, I am using com+ and I got the correct classid from the com+ application. Again, this only happens on the client machines.
>James,
>
>Make sure that the COM dll is registered on the server that is running it. Also make sure that you are using the CLASS ID when you call the CREATOBJECTEX() funtion and not the COM name. You can look up the class id in the .VBR file in the development directory. It should be something like ...\CLSID = {09CC47E7-BDB6-4D47-A897-F139FDBEFE95}
>
>here's an example:
>X = CREATEOBJECTEX('{09CC47E7-BDB6-4D47-A897-F139FDBEFE95}','MYSERVER')
>
>HTH,
>Kurt
>
>>I am getting an Ole Error Code 0x800401f3, "Invalid Class String" on my client machines when running a com object using createobjectex(). The object is created properly, and it runs fine until the return value is expected, and then this error is thrown. This does not happen on any of the development machines. Does anyone have any idea why this is happening?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement