PROBLEME URGENT ;) Erreur -2147417848

cs_DeathAngel Messages postés 117 Date d'inscription vendredi 12 avril 2002 Statut Membre Dernière intervention 13 avril 2007 - 8 juil. 2002 à 09:24
nariel1 Messages postés 55 Date d'inscription mardi 21 mai 2002 Statut Membre Dernière intervention 6 mai 2009 - 8 juil. 2002 à 11:24
Bonjour à tous,

j'ai un petit (mais très embêtant) problème :
J'ai terminé mon appli, et je dois la livrer à mon client. Problème : lorsque je l'exécute sur une machine de test identique à celle du client, j'obtiens un message d'erreur :
"Error -2147417848 : The object invoked has disconnected from its clients"

Or, ça marche sur mon poste de dev.
Le message arrive lorsque je fait appel à un ocx (Component One VsView pour ceux qui connaissent).

Je ne vois pas comment résoudre ce problème, j'ai recopié tous les ocx qui étaient sur ma machine de dev sur la machine de test, et ça ne fonctionne toujours pas.

Je dois livrer aujourd'hui, et je suis bloqué :(

Y a-t-il quelqu'un qui sache quoi faire, ou du moins qui connaisse un site ou un article où on parle de ce problème ?

Merci beaucoup :)

@peluche et bon dev'
DA

1 réponse

nariel1 Messages postés 55 Date d'inscription mardi 21 mai 2002 Statut Membre Dernière intervention 6 mai 2009
8 juil. 2002 à 11:24
Salut j'ai trouve dans le MSDN de July 2001 un article sur ce sujet sit tu veux je te l'envoie voila le debut si tu pige l'anglais je penses que tu as un gros probleme

tigro14

BUG: Run-Time Error Message -2147417848 (80010108) When Passing Array of Dictionary Objects

Q270589

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Visual Basic Professional Edition for Windows, version 6.0
Microsoft Visual Basic Enterprise Edition for Windows, version 6.0

--------------------------------------------------------------------------------

SYMPTOMS
You have a Visual Basic ActiveX DLL that has a method that takes an array of Scripting Dictionary Objects as an argument. It may work fine when your Visual Basic client is run in the Visual Basic integrated development environment (IDE) by using this method, but when you run it as a compiled application, you get the following run-time error message:

Run-time error '-2147417848 (80010108)':
Method '~' of object '~' failed
This only occurs when you use late binding to call the method.

RESOLUTION
Use early binding to work around the problem.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
0
Rejoignez-nous