VFP and .NET Interop
wwDotNetBridge issue
Gravatar is a globally recognized avatar based on your email address. wwDotNetBridge issue
  Vilciu Constantin
  All
  Dec 27, 2016 @ 05:18am

wwDotNetBridge issue with .NET Framework 4.6.2 (Windows 10 Anniversary Update: 394802). Always return v.2.0.50727.8745.

*** Load dependencies
DO wwDotnetBridge

** Create an instance
loBridge = GetwwDotnetBridge("V4")
? loBridge.GetDotnetversion()

loBridge = CreateObject("wwDotNetBridge", "V4")
? loBridge.GetDotnetversion()

Vilciu Constantin http://expertsoft.eu

Gravatar is a globally recognized avatar based on your email address. re: wwDotNetBridge issue
  Rick Strahl
  Vilciu Constantin
  Dec 27, 2016 @ 08:06pm

No idea.

Make sure you use the files out of the Distribution Folder which are the up to date files.

Also keep in mind you need to restart VFP to get a different version. Once a version of .NET loads into VFP you can't load another version. So - shut down, make sure you have the files from the distribution folder and make sure you're not loading .NET from somewhere else (COM Interop), then run that code again.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: wwDotNetBridge issue
  Vilciu Constantin
  Rick Strahl
  Dec 27, 2016 @ 11:59pm

My mistake. Loading eTecnologiaNetExtender in _STARTUP.

Thanks.

© 1996-2024