xsharp.eu • Runtime libraries to distribute
Page 1 of 1

Runtime libraries to distribute

Posted: Fri Aug 09, 2019 5:25 am
by wriedmann
Hi,
just a question: since there are two different macrocompilers in X# now: what is the default one that is used in the RDDs and in the code itself?
Do I need to redistribute both of them?
Wolfgang
P.S. the file XSharp.VFP.dll is both missing in the file Redist.txt and in the folder Redist (there are only the XML and the PDB file).

Runtime libraries to distribute

Posted: Fri Aug 09, 2019 8:00 am
by robert
Wolfgang,

For 'normal' backward compatibility use you should use just the XSharp.Macrocompiler.
I will update the installer to make sure that the VFP DLL is added as well as update the redist.txt file.

Robert

Runtime libraries to distribute

Posted: Fri Aug 09, 2019 8:00 am
by Chris
Hi Wolfgang,

It's the "fast" macro compiler that it is being automatically used, which is file XSharp.MacroCompiler.dll. The "full" (but much slower) macro compiler is included in XSharp.MacroCompiler.Full.dll, you do not need to distribute this one.

Runtime libraries to distribute

Posted: Fri Aug 09, 2019 8:07 am
by wriedmann
Hi Robert, hi Chris,
thank you very much for your answer!
Wolfgang

Runtime libraries to distribute

Posted: Fri Aug 09, 2019 8:16 am
by Karl-Heinz
Hi Wolfgang,

i made a test:

Code: Select all

 VAR oType := GetMacroCompiler() 
 ? oType:Assembly:Fullname
 ? oType:Assembly:Location 
 
and the results are:

XSharp.MacroCompiler, Version=2.0.3.0, Culture=neutral, PublicKeyToken=ed555a0467764586
C:WindowsMicrosoft.NetassemblyGAC_MSILXSharp.MacroCompilerv4.0_2.0.3.0__ed555a0467764586XSharp.MacroCompiler.dll

regards
Karl-Heinz