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
K

Konstantin Boukreev

@Konstantin Boukreev
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Exceptions: Catching null memory?
    K Konstantin Boukreev

    Yes, it's easy. the point in using _set_se_translator API.

    struct se_exception
    {
    unsigned code;
    se_exception (unsigned c) : code(c) {}
    };

    struct se_exception_access_vioalation : se_exception
    {
    se_exception_access_vioalation ()
    : se_exception(EXCEPTION_ACCESS_VIOLATION) {}
    };

    void translator_func(unsigned u, _EXCEPTION_POINTERS *)
    {
    switch (u)
    {
    case EXCEPTION_ACCESS_VIOLATION:
    throw se_exception_access_vioalation();
    break;
    default:
    throw se_exception(u);
    break;
    }
    }

    struct dummy
    {
    char * s;
    };

    int main(int argc, char* argv[])
    {
    _set_se_translator(translator_func);

    dummy \* p = 0;
    
    try
    {		
    	std::cout << p->s <
    

    :)

    The Lounge performance question

  • Wheel of Time
    K Konstantin Boukreev

    Yes. My family and I are fans. But my opinion it's very long story and only true fantasy-lover can read it completely ;) My main fear (but and hope too) what the next book(10) will final book ;)

    The Lounge csharp 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