West Wind Internet and Client Tools
Just unzipped Client Tools vers 7.23 Shareware version of dotnetbridge
Gravatar is a globally recognized avatar based on your email address. Just unzipped Client Tools vers 7.23 Shareware version of dotnetbridge
  Ricky Knight
  All
  Sep 30, 2021 @ 02:58pm

Tried something basic. Says donetbridge does not match version/shareware version.

#INCLUDE R:\programs\wwipstuff723\wconnect.h
set safety off
set deleted on
SET REPROCESS TO AUTOMATIC
set date to short
set century on
SET DEFAULT TO r:\programs\chrob2
SET CPDIALOG OFF
SET NULLDISPLAY TO ""
Set Path To r:\programs\wwipstuff723\classes,r:\programs\wwipstuff723,r:\programs\chrob2

#DEFINE VFP9
Do wwcollections
Do wwApi
Do wwdotnetbridge
Do wwjsonserializer
Do wwUtils
Do wwHTTP
DO wwdotnetbridge
loBridge = GetwwDotnetBridge("V4")
InitializeDotnetVersion("V4")

loHTTP=CREATEOBJECT("wwHTTP")

? HashMd5("Hello World")               && binary 
? STRCONV(HashMd5("Hello World"),13)   && Base64
Gravatar is a globally recognized avatar based on your email address. re: Just unzipped Client Tools vers 7.23 Shareware version of dotnetbridge
  Rick Strahl
  Ricky Knight
  Sep 30, 2021 @ 09:15pm

Ricky,

I downloaded full registered version, dumped into a folder. Opened FoxPro in the install folder, copied your code to a PRG and ran code.

Runs for me - no issue.

Check the following:

  • Make sure that the DLLs are in your FoxPro path.

  • Make sure you don't have DLLs in other places on your FoxPro path and in your Windows\System32 folder. The two dependencies are wwIPstuff.dll and wwDotnetBridge.dll, but if you're using HashMd5() those are not used. HashMd5() is using the Windows Crypto APIs via FoxPro Win32 calls - no wwDotnetBridge for that.

The Shareware message is a bug from when the Shareware version gets compile.

You can fix this with:

  • Open wwDotnetBridge.prg
  • Find the following block in the Init and change to:
#IF .F.
   WAIT WINDOW NOWAIT ;
      "Welcome to West Wind Client Tools." + CHR(13) + ;
      "This is a shareware copy of wwDotnetBridge." + CHR(13)+ CHR(13) +;
      "Please register your copy."
#ENDIF

Or you can redownload the registered version - I've updated the file in the download. This was reported before and I thought I had updated that file, but but apparently the update didn't make it.

+++ Rick ---

© 1996-2021