Friday, January 12, 2007

Rick Strahl was complaining about component vendors poor selling techniques and I agree. His rant was inspired by Kevin Dente's post How NOT to sell software (Kevin got free license out of his post, oh the power of public forums.) 

I am also getting sick and tired of the licenses hoops we have jump through in order to install third party components on our DEV systems and the crap it entail to get them working on a build system.  I can't count the number of bugs filed from some novel approach to license control screwing up an end build.

posted by Aaron Fischer on Friday, January 12, 2007 8:09:39 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Thursday, January 11, 2007

As it turns out, If you define and implement your whole class/structure in a .h file a consumer needs to mark it #pragma unmanaged.  If you don't delete will get confused and issue the errors i received from my earlier post.

posted by Aaron Fischer on Thursday, January 11, 2007 11:42:05 AM (Pacific Standard Time, UTC-08:00)   #    Comments [1]

Would you like to just get some work done in VC++ 2005 or 2007?  Then rename or delete the following file:
<VS root path>\VC\vcpackages\feacp.dll

Beware class view(I don't use it my project is to large) will no longer work.  And c++ winforms will not work.  I have Visual Assist X and CodeRush/Refactor! so i still have all that Intellisense offers only better!


 

posted by Aaron Fischer on Thursday, January 11, 2007 10:36:25 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

With one little mistake comes a nasty memory leak.  We found this in some of the code i wrote

CMenu* CLMI::GetLenderMenu(void)
{
    //test if lender should show up if not
    if ( !ShowLender() )
        return NULL;

    CMenu* clm = new CMenu();......


Sadly clm was never reclaimed, and MFC redraws the Main menu every time you blink so can you say bad :(

posted by Aaron Fischer on Thursday, January 11, 2007 9:07:30 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

This is interesting, I am moving a vc++ project to VS 2005.  When i run it in debug mode i receive this error:

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: c:\Dev\Point\PointMain\Debug\Winpoint.exe
File: dbgdel.cpp
Line: 52

Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.


This I can trace back to the call to delete in this function:

    void RemoveIt(CDlgAncItem* item)
    {
        if (item)
        {
            RemoveIt(item->next);
            delete(item);
        }
    }

The CDlgAncItem is a class it has a destructor and a copy constructor.  I am not sure why the debugger is losing track of the memory, Its a pretty simple data structure stored in a dynamically allocated link list.
Edit: I found a solution.
posted by Aaron Fischer on Thursday, January 11, 2007 7:15:35 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

Looks like its time to start playing with Orcas.  After reading this month's CTP download details there finally looks to be some meat.

Download the CTP VPC image at:

Microsoft Pre-release Software Visual Studio Code Name "Orcas" - January 2007 Community Technology Preview (CTP)

posted by Aaron Fischer on Thursday, January 11, 2007 7:00:34 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, January 08, 2007

Since I am still working on my blog about what I did for my winter break I thought I would share a couple items that I noticed in this morning.

Alfred Thompson's Blog talks about an issue I think of whenever I hear Spec documentation is being designed without customer involvement. And I found Scott Gu's announcement that the new Yahoo Messenger is build with WPF and .net rather interesting.

posted by Aaron Fischer on Monday, January 08, 2007 6:58:04 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, December 29, 2006

I picked up this issue from Mike Walker blog  where he reports that the US Secret Service is calling the ATM system unsafe after reading this post and the original report from Bob Sullivan's blog.  It Basically amounts the the fact that researchers that work for an Israeli computer security company have released a report in how the ATM network can be compromised in order to reveal PIN numbers.  ATM PIN's are essentially decrypted and encrypted on every network hop so if one machine is compromised it becomes simple to crack the PIN's encryption. And apparently this is some thing the Russian Mob is very interested in.  The Israely company release this report after being dismayed with the American Banks lack of action(Banks were informed of this security flaw in the ATM protocol 2 months before the release of the report.)

posted by Aaron Fischer on Friday, December 29, 2006 11:30:54 AM (Pacific Standard Time, UTC-08:00)   #    Comments [1]
 Sunday, December 24, 2006

If you haven't seen it yet you might want to check out MSN radios new player powered by Pandora basically it will create a unique play list of music based on a song or artist you give it.  I have been playing with it for that past few days its been pretty cool.

posted by Aaron Fischer on Sunday, December 24, 2006 10:26:45 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
Apologies to Mark Miller for a comment I left on his blog
posted by Aaron Fischer on Sunday, December 24, 2006 10:21:05 AM (Pacific Standard Time, UTC-08:00)   #    Comments [1]