Hi all,
I must use a .Net component like a COM object, but... .Net. I'm just not able to make it work in WD, but in VB 2008 Express it does work well.
The code in VB is:
Public Class Form1
Private hook As AlibreX.IAutomationHook
Private rootObj As AlibreX.IADRoot
Private Sub Form1_Load...
hook = GetObject(, "AlibreX.AutomationHook")
End Sub
End Class
In WD I made the following:
pclHook est un IAutomationHook dynamique
pclHook = ObjetActif("AlibreX.AutomationHook")
But I'm always trowed the error: "Incompatible types during assignation." (Translated)
If anyone has any idea of what must be done, or any clue to find a solution, I would be grateful to hear from you.