In the current path, I have wwipstuff (ver 5.65.0.0), wwdotnetbridge (ver 5.66.0.0).
I've scoured my local drive for older versions of these DLLs and do not see any that could possibly be in play now.
From: | Roger Bradshaw |
To: | Rick Strahl |
In the current path, I have wwipstuff (ver 5.65.0.0), wwdotnetbridge (ver 5.66.0.0).
I've scoured my local drive for older versions of these DLLs and do not see any that could possibly be in play now.
If the Init() fails, then again it's most likely the missing wwipstuff.dll or wwdotnetbridge.dll in your FoxPro path. Both DLLs are best if they are in the current path.
+++ Rick ---
DO wwJsonSerializer && Load libs
DO wwDotnetBridge
loJson = CREATEOBJECT("wwJsonSerializer")
lcJson = '["Value,1","Value2. This \"is\" neat","Value3"]'
loResult =loJson.DeserializeJson(lcJson)
The failuer happens within "Init" in wwdotnetbridge with this IF statement.
*** Fail creation if the object couldn't be created
IF ISNULL(this.Load())
ERROR "Unable to load wwDotNetBridge: " + this.cErrorMsg
RETURN .F.
ENDIF
No. wwDotnetBridge does not get loaded by default.
But doing:
DO wwJsonSerializerDO wwDotnetBridge
+++ Rick ---
After recompiling everything I could think of, I'm getting a different error - file GetwwDotnetBridge.prg does not exist. I see this is in wwDotNetBridge.prg. Shouldn't these routines be available by my starting up with "DO WWCLIENT"?
Make sure you recompile all of your files. Look in the help file for updating to the latest version or updating from the shareware version.
DeserializeJson() should be there ( you can double check the wwDotnetBridge.prg source file)...
+++ Rick ---
+++ Rick ---
DO wwJsonSerializer && Load libs
loJson = CREATEOBJECT("wwJsonSerializer")
lcJson = '["Value,1","Value2. This \"is\" neat","Value3"]'
loResult =loJson.DeserializeJson(lcJson)