Re: Error in Base.DLL

Questions and Answers

Error in Base.DLL


stojce 08-09-2006, 12:08 PM
I have non-US regional settings and when I try to load DLL, Framework class trows excepton (due to datetime format for log file)
Also, the price is miscalculated due to currency format.

Re: Error in Base.DLL


asimon 08-09-2006, 2:59 PM

Interesting comment.

I have not tested this program with other regional settings.

If you could post more details about the error message as well as your particular regional setting, that would help me find out where to look for the errors with the filename as well as the parsing error with the price.

Thanks!

Re: Error in Base.DLL


stojce 08-09-2006, 3:44 PM
The simplest solution is to put these lines in Main() section (in 4XLab.NET) :


Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
Application.Run …


This will force application to work with US settings.

Re: Error in Base.DLL


GraemeE 08-14-2006, 2:41 PM
Alternatively, you can temporarily change your regional options to US though the control panel if you don't have the source code.

Re: Error in Base.DLL


GraemeE 08-14-2006, 2:41 PM
Alternatively, you can temporarily change your regional options to US though the control panel if you don't have the source code.

Re: Error in Base.DLL


asimon 08-14-2006, 8:35 PM

This is a valid workaround. Thanks to all who have discovered and contributed to fixing this error.

As a permanent fix, stojce recommendation has already been integrated into the source code. I just need to upload new files to the website.

Re: Error in Base.DLL


avinash66 10-06-2006, 2:12 PM

From where I can download the sourcecode for 4xbase.dll

Re: Error in Base.DLL


asimon 10-06-2006, 3:28 PM

 

The Source code to 4XBase.DLL, Framework.CS and the rest of the files are available here http://www.4xlab.net/cs/forums/16/ShowForum.aspx but are reserved as a reward for users who make contributions to the site.

 

Re: Error in Base.DLL


avinash66 10-06-2006, 8:14 PM
Thanks, I guess that means can't get it  because I don't know how to contribute
Forex Lab .NET | 4X Lab .NET © Copyright 2005-2006 ASCSE LLC | Disclaimer

Powered by Community Server, by Telligent Systems