A am trying to call a class in a .NET assembly from a WD12 window. The .NET class is called Country inside an assembly called WinDev_DotNET.dll
I have placed this assembly (which I know works fine from a .NET form) in the WD project directory, together with the file WD120NET2.DLL as specified in the Help.
I have then tried to call it a couple of ways - using the Dynamic keyword as I found in a search in this forum - without success:
GLOBAL
loCountry is object WinDev_DotNET.dll dynamic = new Country();
or
GLOBAL
loCountry is object Country dynamic = new Country();
Any other suggestions as to the syntax to use?
TIA, Kevin