Type: Posts; User: gleesonger
Search took 0.01 seconds.
July 30th, 2013, 06:25 PM
If you post up your question here I can have a look at it.
July 30th, 2013, 09:13 AM
I am aware of where the heap and stack are located (a result of which is the speed is the same) and how allocation/deallocation differs.
Am I right in saying that in normal operation accessing...
July 29th, 2013, 01:28 PM
I tried that but I wasn't able to locate my function and even if I did I probably wouldn't be able to understand the code.
Apologies, when I said debugging I was referring to how easy the...
July 29th, 2013, 06:17 AM
I am not calculating the time it takes to call the function just the loop\calculation it self. In the real application the doubles themselves will only ever be declared once using an "Initialize()"...
July 29th, 2013, 04:42 AM
I have selected a "Release" build. Are there more optimizations that can be selected in VS2010?
I am only concerned with how fast the calculation (loop) executes. The timing (start = clock()) is...
July 28th, 2013, 07:29 PM
If you want to use a loop then at each iteration of the loop you must be able to work out what to do.
I can not see a way as is to loop the constraints but maybe with more information I might.......
July 28th, 2013, 06:35 PM
Here is the code I used when testing the relative performance of heap/stack.
The results was that the heap ("double*") was 30% faster than the stack ("double").
Is there something funny going on,...
July 28th, 2013, 06:29 PM
(You can skip straight to the section "Specific questions" instead of reading all the other stuff)
I build alot of models in excel then manually compile them in java....
October 25th, 2010, 01:11 PM
Apologies I understand now why you posted your first reply, but again the same results which is why I am puzzled.
I can still produce multiple MessageBoxs at the same time by dropping targets...
October 25th, 2010, 12:00 PM
But it blocks the thread it is running on until I release it by pressing ok (which I dont do)
Its the same as if I replaced it with
Console.WriteLine("Blocking Thread " + Thread.Id);
October 25th, 2010, 11:15 AM
The screenshot is a result of the code posted above. The drop drag event was fired by dropping two different files onto the main form, and not allowing either MessageBox return
The number (8) and...
October 25th, 2010, 07:12 AM
Can somebody point me towards an article or explain the following and how to deal with it properly in .Net.
Sometimes when using shell interaction I arrive at a situation where by it appears that...
October 25th, 2010, 06:57 AM
Copy the file in chunks on one thread and use callbacks to set the progress bar value.
On my own laptop through trial and error I found that the lowest amount I could read but still be io efficient...
July 22nd, 2010, 05:17 AM
Are you trying to create\manipulate an excel file from csharp code?
If so, yes it's quite easy.
This shows a very good example of how to do the basics.
July 20th, 2010, 03:39 PM
While debugging its fine, but then the same conditions are not, as whenever I run it from the ide the form is always displayed on top, however if I run the same exe (\Debug\application.exe) directly...
July 19th, 2010, 08:32 PM
No im not doing anything unusual, its a standard toolstriplabel thats been added through the designer, all of the parent controls are standard and the paint control is not overriden and as far as I...
July 19th, 2010, 08:29 PM
Ye I tried that, no luck.
I found a horrible solution:
private void MainForm_Load(object sender, EventArgs e)
timPaint.Tick += new EventHandler(timPaint_Tick);...
July 19th, 2010, 06:51 PM
I have the most annoying bug appearing in the framework thats doing my head in.
When ever my form is displayed and it appears behind another window a ToolStripStatusLabel in the bottom left does not...
December 15th, 2009, 06:41 PM
Yes I had thought of that (option 2 above) but I'd prefer not to see the flicker of the console window, tho I think thats how i will probably end up doing it.
December 15th, 2009, 05:07 AM
I havn't got access to my machine to test anything at the moment but what you described above is not what I'm after, I'll try and explain better
If you use the windows ssh tools plink and putty;...
December 14th, 2009, 05:44 PM
Im not sure if the title is correct but what I wish to do is for my app (compiled as a windows form app) to block until it exists, the app has two parts the gui mode and the cmd line mode which has...
December 14th, 2009, 05:33 PM
The nicest way I can think of this been done is as follows;
Tag the Renamer form with the Node
Set the default text as the nodes text
Set a close event
show the form (Not...
November 1st, 2009, 10:17 AM
No you maintain a file lock, the mere existence of the file doesn't indicate anything, only the failure to obtain the lock indicates a second instance of the application.
I think firefox uses this...
October 31st, 2009, 11:49 AM
Fair enough, I know vey little about mutexs except how to implement them in the simple circumstances (ie try to apply mutex,catch an error => another instance is running) so its more likely there was...
October 30th, 2009, 11:48 AM
Just throw a spanner in the works I dont think mutexs are a great way of implementing single instance application, I know they have failed for me once or twice on the rare occasion.
I now create a...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.