Click here to Skip to main content
15,922,315 members
Home / Discussions / C#
   

C#

 
QuestionWroking with Active directory Pin
sdsdsds@hotmail.com3-Dec-06 21:09
sdsdsds@hotmail.com3-Dec-06 21:09 
QuestionAGAIN Pin
quiteSmart3-Dec-06 21:08
quiteSmart3-Dec-06 21:08 
Questionsending alerts from project server to a mobile pc. Pin
rahulpasupuleti3-Dec-06 20:59
rahulpasupuleti3-Dec-06 20:59 
AnswerRe: sending alerts from project server to a mobile pc. Pin
WillemM3-Dec-06 22:22
WillemM3-Dec-06 22:22 
GeneralRe: sending alerts from project server to a mobile pc. Pin
rahulpasupuleti4-Dec-06 3:17
rahulpasupuleti4-Dec-06 3:17 
GeneralRe: sending alerts from project server to a mobile pc. Pin
WillemM4-Dec-06 3:24
WillemM4-Dec-06 3:24 
QuestionConverting to float freezes build Pin
Leslie Sanford3-Dec-06 20:00
Leslie Sanford3-Dec-06 20:00 
AnswerRe: Converting to float freezes build Pin
Leslie Sanford3-Dec-06 20:19
Leslie Sanford3-Dec-06 20:19 
I discovered the problem. I had several massive arrays initialized in code as doubles. Something like this:

namespace MusicSynthesizer
{
    public partial class Oscillator
    {
        #region Sawtooth Waveforms

        private static readonly double[][] SawtoothWaveforms =
        {            
            new double[]
            {
0,
0.99999999999977,
0.765255336254772,
0.90346140078622,
0.804406680287037,
0.880594209485646,
0.817554516488886,
 
// ...


These values are out of range for floats. So when I changed the array type to float without reducing the values of the constants, it caused Visual Studio to freeze.

It would have been nice to have gotten an error message saying, "Hey! These numbers are too big for floats!" instead of it freezing without leaving a clue as to why.
AnswerRe: Converting to float freezes build Pin
Guffa3-Dec-06 21:06
Guffa3-Dec-06 21:06 
GeneralRe: Converting to float freezes build Pin
Leslie Sanford4-Dec-06 6:14
Leslie Sanford4-Dec-06 6:14 
QuestionWeb browser hangs in some systems Pin
madhusri3-Dec-06 18:57
madhusri3-Dec-06 18:57 
QuestionSaving MySQL Connection Object Pin
Tomy14023-Dec-06 16:44
Tomy14023-Dec-06 16:44 
AnswerRe: Saving MySQL Connection Object Pin
Dave Kreskowiak3-Dec-06 18:24
mveDave Kreskowiak3-Dec-06 18:24 
GeneralRe: Saving MySQL Connection Object Pin
Tomy14023-Dec-06 20:50
Tomy14023-Dec-06 20:50 
GeneralRe: Saving MySQL Connection Object Pin
Dave Kreskowiak4-Dec-06 11:52
mveDave Kreskowiak4-Dec-06 11:52 
GeneralRe: Saving MySQL Connection Object Pin
Tomy14024-Dec-06 17:51
Tomy14024-Dec-06 17:51 
GeneralRe: Saving MySQL Connection Object Pin
Dave Kreskowiak5-Dec-06 1:37
mveDave Kreskowiak5-Dec-06 1:37 
QuestionExtending Shortcut Menus Pin
Ovelisax3-Dec-06 15:14
Ovelisax3-Dec-06 15:14 
QuestionHelp on using Help Class Pin
lagumaster3-Dec-06 14:14
lagumaster3-Dec-06 14:14 
AnswerRe: Help on using Help Class Pin
lagumaster3-Dec-06 14:37
lagumaster3-Dec-06 14:37 
QuestionProblem to Create Database in SqlServer from Client. Pin
hdv2123-Dec-06 12:29
hdv2123-Dec-06 12:29 
AnswerRe: Problem to Create Database in SqlServer from Client. Pin
Judah Gabriel Himango3-Dec-06 12:39
sponsorJudah Gabriel Himango3-Dec-06 12:39 
AnswerRe: Problem to Create Database in SqlServer from Client. Pin
Paul Conrad3-Dec-06 16:11
professionalPaul Conrad3-Dec-06 16:11 
QuestionThreading/Delegate Freezes my App [modified] Pin
dubbaluga3-Dec-06 12:16
dubbaluga3-Dec-06 12:16 
AnswerRe: Threading/Delegate Freezes my App Pin
Judah Gabriel Himango3-Dec-06 12:18
sponsorJudah Gabriel Himango3-Dec-06 12:18 

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.