Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Nxsis

@Nxsis
About
Posts
11
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Need a Personal Productivity Time Monitor [modified]
    N Nxsis

    You're welcome :-) I think there is even a free version with some limitations, though I actually do not have to care about that, as our company has purchased an enterprise license. ;P

    The Lounge database com tools help announcement

  • Need a Personal Productivity Time Monitor [modified]
    N Nxsis

    We are using this one, however its a commercial one. It's advantage is, that it is implemented on several (mobile) platforms.

    The Lounge database com tools help announcement

  • At the cross-roads : work in hand : go ASP MVVM or PhP : which way to jump ? [modified]
    N Nxsis

    You could also use a CMS like Typo3, Joomla or Drupal. There are also lots of modules available, you will be able to meet all of your customer's requirements without coding a single line (or at least only a few lines). However, you should make yourself familiar with CSS.

    The Lounge csharp php wpf adobe javascript

  • Local Variable changes suddenly
    N Nxsis

    Thank you for your hints, they helped me to find out that the actual problem seems to be a memory leak. So the actual reason was not the wrong parameter for the malloc (which also caused the memory to be exhausted), but the malloc seems to have corrupted the stack if there was no more memory available, and hence the value of the variable was no longer accurate. I will now try to verify this thesis, the fix itself will be obvious.

    C / C++ / MFC announcement data-structures help question

  • Local Variable changes suddenly
    N Nxsis

    As posted in my other reply I use Visual Studio for analyzing the dumps. I would like to avoid posting a call stack as I think that my superiors would not be very happy finding parts of our code on codeproject (even if they are small and not useful to anyone).

    C / C++ / MFC announcement data-structures help question

  • Local Variable changes suddenly
    N Nxsis

    I cannot step through this particular case, because the code runs perfect many thousand times before it fails a single time :-(

    C / C++ / MFC announcement data-structures help question

  • Local Variable changes suddenly
    N Nxsis

    Yes, the test is right before the AllocArray-call. I use Visual Studio for analyzing the dump. I have done this a thousand times before but in my experience it rather displayed no value instead of a wrong value. I will try to reproduce the problem on a Debug (or at least less optimized) version. The AllocArray basically can handle any size as long as enough memory is available (100000 should be no problem, 10^9 is definitely a problem). I will also try your other suggestions, if applicable. The code runs within the rendering of a openGL frame and gets executed many thousand times before a crash may occur... Thank you.

    C / C++ / MFC announcement data-structures help question

  • Local Variable changes suddenly
    N Nxsis

    I am currently analyzing some nasty application crashes. Fortunately I can already reproduce these crashes within a few minutes and I get a dump that is supposed to be useful (note that it is a crash dump from an optimized release version). Let me outline the code where the application crashes (pseudo code):

    int myNumberOfElements = myCalculation();

    [...] // some other code, but no assignments or referencing to myNumber

    if(myNumberOfElements < 1 || myNumberOfElements > 100000)
    {
    return;
    }

    MyArray* pArray = AllocArray(myNumberOfElements); // dump shows that myNumberOfElements is greater than 10^9

    AllocArray unfortunately belongs to a 3rd party library, but it basically calls malloc. It then crashes as it does not check accordingly if malloc succeeded. However, the root cause of this problem seems to be the large number of elements (which is definitely not the result of my calculation). Further there is only one assignment to myNumberOfElements and if used as parameter 'call by value' is used. What do you guys think, is the dump file corrupt? Is there a way that the stack gets corrupted, causing this problem?

    C / C++ / MFC announcement data-structures help question

  • Visual Studio Add-In C#
    N Nxsis

    Hi! Now that I have asked a few single questions about my project, and I couldn't find a proper solution let me please explain the whole problem: I would like to program an add-in that allows the user of vs to use comments similar to the word-comments. I thougt it would be a good idea to show the comment in a tool-tip but this is not as simple as it seems. The problem is, that the textselection (that should be commented) should become an persistent object in the active document providing a mouse-hover-event that shows the tooltip if fired. By now I think, that it is impossible (with justified effort) to carry out this plan. Perhaps anyone of you has an idea. As this is a scientific project for my study of information sciences it is very important to me finding a proper solution. Please help. Thanks in advance Christian

    C# csharp visual-studio help

  • Visual Studio Add-In
    N Nxsis

    Hi all! Is it possible to change the color of Text in the Visual-Studio Editor? If it is, how can I do this? (I'm working with c#) Any links, tutorials, tips? Thanks in advance. Christian

    C# csharp question visual-studio

  • Add-In VS .NET 2003 ToolTip on Words in Editor
    N Nxsis

    Hi all! For my vs .net 2003 add-in I need a possibility to show hints (-> ToolTip Component?) on words in the VS text-editor. Unfortunately the ToolTip Component can only be applied to controls (the DTE (application) -object does not have any class that is derived from control... Better than this would be a possibility to implement ms-word-comments in vs .net but i dont think that this is possible, even if i would save the comment-string on my own. Perhapts anyone can help. ps: please excuse my bad english ;)

    C# csharp visual-studio help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups