Click here to Skip to main content
15,885,757 members
Home / Discussions / C#
   

C#

 
AnswerRe: Online Database Pin
Eddy Vluggen12-Apr-11 20:56
professionalEddy Vluggen12-Apr-11 20:56 
AnswerRe: Online Database Pin
PIEBALDconsult12-Apr-11 2:48
mvePIEBALDconsult12-Apr-11 2:48 
QuestionNetwork Transaction Pin
nEar_mO11-Apr-11 22:59
nEar_mO11-Apr-11 22:59 
AnswerRe: Network Transaction Pin
OriginalGriff11-Apr-11 23:53
mveOriginalGriff11-Apr-11 23:53 
QuestionWorks from Visual Studio only Pin
D_Ana11-Apr-11 9:20
D_Ana11-Apr-11 9:20 
AnswerRe: Works from Visual Studio only Pin
Pete O'Hanlon11-Apr-11 9:51
mvePete O'Hanlon11-Apr-11 9:51 
AnswerRe: Works from Visual Studio only Pin
Wayne Gaylard11-Apr-11 22:25
professionalWayne Gaylard11-Apr-11 22:25 
GeneralRe: Works from Visual Studio only Pin
D_Ana13-Apr-11 6:31
D_Ana13-Apr-11 6:31 
Thank you from your responses.

Ok, here is what I did, and found out, but problem still exists..

I dug into the source code of the dlls which basically have some computations involving heavy mathematical calculations + condition checking (to the precision) and iterating
- something that tries to converge and interpolates...

I made them into .NET dlls re-built them with my project (adding some debug statements & logging some output). Now I see that:

1. When I run it from 'Visual Studio', it calculates well and returns with results.
2. While from 'Program Files', it is running in a infinite loop (which I assume needs an additional check and needs to break - I can fix that!).

But my question is:
- with the same input data, how can the calculated results be different and follow two different paths altogether?
- Does VS use a different math library?
- Now, to me it is a bigger problem. Because users are going to run from 'Program Files' and I'm happy with the VS results??

I'm lost!! Please help!!
QuestionHow do I cast a double to an int? Pin
Justiin126511-Apr-11 7:18
Justiin126511-Apr-11 7:18 
AnswerRe: How do I cast a double to an int? Pin
Eddy Vluggen11-Apr-11 7:25
professionalEddy Vluggen11-Apr-11 7:25 
GeneralRe: How do I cast a double to an int? Pin
Justiin126511-Apr-11 7:44
Justiin126511-Apr-11 7:44 
AnswerRe: How do I cast a double to an int? Pin
Eddy Vluggen11-Apr-11 8:09
professionalEddy Vluggen11-Apr-11 8:09 
GeneralRe: How do I cast a double to an int? Pin
David198711-Apr-11 7:35
David198711-Apr-11 7:35 
GeneralRe: How do I cast a double to an int? Pin
Justiin126511-Apr-11 7:45
Justiin126511-Apr-11 7:45 
GeneralRe: How do I cast a double to an int? Pin
AspDotNetDev11-Apr-11 8:06
protectorAspDotNetDev11-Apr-11 8:06 
AnswerRe: How do I cast a double to an int? Pin
Alan N11-Apr-11 7:47
Alan N11-Apr-11 7:47 
AnswerRe: How do I cast a double to an int? Pin
Luc Pattyn11-Apr-11 8:09
sitebuilderLuc Pattyn11-Apr-11 8:09 
GeneralRe: How do I cast a double to an int? Pin
Justiin126511-Apr-11 8:14
Justiin126511-Apr-11 8:14 
GeneralRe: How do I cast a double to an int? Pin
AspDotNetDev11-Apr-11 8:29
protectorAspDotNetDev11-Apr-11 8:29 
QuestionPRE Tagged Pin
AspDotNetDev11-Apr-11 8:11
protectorAspDotNetDev11-Apr-11 8:11 
AnswerRe: PRE Tagged Pin
Luc Pattyn11-Apr-11 8:16
sitebuilderLuc Pattyn11-Apr-11 8:16 
AnswerRe: How do I cast a double to an int? [modified] Pin
Luc Pattyn11-Apr-11 8:14
sitebuilderLuc Pattyn11-Apr-11 8:14 
GeneralRe: How do I cast a double to an int? Pin
AspDotNetDev11-Apr-11 8:21
protectorAspDotNetDev11-Apr-11 8:21 
GeneralRe: How do I cast a double to an int? Pin
Luc Pattyn11-Apr-11 8:27
sitebuilderLuc Pattyn11-Apr-11 8:27 
GeneralRe: How do I cast a double to an int? Pin
David198711-Apr-11 8:45
David198711-Apr-11 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.