Welcome to 4XLab.NET : Forex Lab Community Server Sign in | Join | Faq

Questions and Answers

Started by stojce at 08-09-2006 12:08 PM. Topic has 8 replies.

Print Search
Sort Posts:    
   08-09-2006, 12:08 PM
stojce is not online. Last active: 9/14/2006 2:54:01 AM stojce

Top 25 Posts
Joined on 08-08-2006
Posts 2
Error in Base.DLL
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.
   Report 
   08-09-2006, 2:59 PM
asimon is not online. Last active: 2/27/2011 4:55:19 PM asimon

Top 10 Posts
Joined on 03-07-2006
Posts 140
Re: Error in Base.DLL

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!


   Report 
   08-09-2006, 3:44 PM
stojce is not online. Last active: 9/14/2006 2:54:01 AM stojce

Top 25 Posts
Joined on 08-08-2006
Posts 2
Re: Error in Base.DLL
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.
   Report 
   08-14-2006, 2:41 PM
GraemeE is not online. Last active: 8/14/2006 9:21:39 AM GraemeE

Top 25 Posts
Joined on 08-14-2006
Posts 2
Re: Error in Base.DLL
Alternatively, you can temporarily change your regional options to US though the control panel if you don't have the source code.
   Report 
   08-14-2006, 2:41 PM
GraemeE is not online. Last active: 8/14/2006 9:21:39 AM GraemeE

Top 25 Posts
Joined on 08-14-2006
Posts 2
Re: Error in Base.DLL
Alternatively, you can temporarily change your regional options to US though the control panel if you don't have the source code.
   Report 
   08-14-2006, 8:35 PM
asimon is not online. Last active: 2/27/2011 4:55:19 PM asimon

Top 10 Posts
Joined on 03-07-2006
Posts 140
Re: Error in Base.DLL

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.


   Report 
   10-06-2006, 2:12 PM
avinash66 is not online. Last active: 10/7/2006 8:24:57 AM avinash66

Top 10 Posts
Joined on 10-06-2006
Posts 3
Re: Error in Base.DLL

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


   Report 
   10-06-2006, 3:28 PM
asimon is not online. Last active: 2/27/2011 4:55:19 PM asimon

Top 10 Posts
Joined on 03-07-2006
Posts 140
Re: Error in Base.DLL

 

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.

 


   Report 
   10-06-2006, 8:14 PM
avinash66 is not online. Last active: 10/7/2006 8:24:57 AM avinash66

Top 10 Posts
Joined on 10-06-2006
Posts 3
Re: Error in Base.DLL
Thanks, I guess that means can't get it  because I don't know how to contribute

   Report 
4XLab.NET : For... » 4XLab.NET » Questions and A... » Re: Error in Base.DLL

Powered by Community Server, by Telligent Systems