Broken HDD Written on February 22, 2007, by akafazov.

As you seen in the picture, there is a problem with some Windows driver. This is a snapshot taken from a intallation crash, but the same behavior is observed when booting up or plugging the disk while the system is running, but then the system restarts and I was not able to take a shot. [...]

The Secret (or the law of attraction) Written on February 18, 2007, by Angel Kafazov.

I had the pleasure to watch this great movie. It is about the big secret of life, the secret that all people who achieved great things know and this knowledge can make your life a dream.

Having fun with SystemC … and other stuff Written on February 11, 2007, by Angel Kafazov.

SystemC is a way to define how hardware pieces work. I’ve been learning it for a whole day and it’s the most fun I’ve had since a while with programming. I don’t even feel tired
Things have been going really great lately, as I decided to bring order to my life. The first prerequisite [...]

The value of ESP was not saved across a function call Written on February 11, 2007, by akafazov.

So, building SystemC-2.1.v1 module compile and link was OK, but the I get at runtime this error

I don’t know what it means but the reason was that I forgot to put the /vmg compiler option. Looking at MSDN for the compiler: /vmg: Uses full generality for pointers to members.
Just for the record, SystemC-2.1.v1 works with [...]

error C2011: ‘add2′ : ’struct’ type redefinition Written on February 11, 2007, by akafazov.

The error implies multiple definitions of the symbol, very common mistake due to multiple inclusion of the same heaer file.

Error 12 error C2011: ‘add2′ : ’struct’ type redefinition d:studyes1ubungenblatt3modulecomponentprimitive.h 5
Can be resolved when the symbol is defined in a block parsed only once:
#ifndef COMPONENTPRIMITIVE_H
#define COMPONENTPRIMITIVE_H

// define symbol add2 here
// …
#endif // COMPONENTPRIMITIVE_H

error LNK2005: “Symbol” already defined Written on February 10, 2007, by akafazov.

I got this linker error when trying to build a SystemC application
Error 2 error LNK2005: “bool __cdecl std::operator==,class std::allocator >(class std::basic_string,class std::allocator > const &,char const *)” (??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z) already defined in SystemC.lib(sc_signal.obj) msvcprt.lib

and then a bunch of the same LNK2005. The problem was that I was using the DLL versions of the Multithreaded Runtime Library. Switchning to the [...]

I have changed my phone number Written on February 7, 2007, by Angel Kafazov.

I got new cell phone number: +49 176 2995 4114
the old number is invalid.

Starting with LINQ Written on February 7, 2007, by akafazov.

A few days after a post about LINQ and C# 3.0 on Galcho’s blog I wanted to start playing with the technology and see what good can come of it. So I went to Microsoft and downloaded the LINQ Preview (May 2006) CTP. Those are the language extensions that enable the C# language with some [...]

© Copyright Blog of Angel Kafazov - Powered by Wordpress - Designed by Speckyboy. Enjoy with a Whopper Meal & Large Coke.