Nesting #INCLUDES in Visual FoxPro

It appears the the first time a constant is #DEFINEd it can not be changed. This is true through the #INCLUDEs also.

So, for example, if put into header.h:

#DEFINE MyName "Bob"
#INCLUDE header2.h

Then in header2.h put:

#DEFINE MyName "Robert"

Then include header.h in your PRG the constant will be assigned as "Bob.

But, if you change the header.h file to read:

#INCLUDE header2.h
#DEFINE MyName "Bob"

Then include it in your prg the constant will be "Robert".

President Elect Obama

This day we have made history in the United States of America. In a country that started off treating African Americans as property and slaves today we have elected an African American to the highest office in the land.

I am proud to say that we have come so far. But, this isn't the end, this is just the beginning. We have a falling dollar, millions of homeless, millions living in poverty, millions without basic health care or health insurance and a great addiction to oil.

Entity Framework Futures

I just finished watching the "Entity Framework Futures" PDC2008 session recording.

What I got out of it is a few things. First, they are really listening to feedback and taking it to heart. Where previously they were saying "You just don't get the vision of the EDM"... now they are saying, oh yea, if you only want to do OR/M and use model first, BDD, TDD having POCO (plain old clr objects) really makes the experience easy.

So, here are some things they showed that I really liked.

1. POCO support.
2. Code based mappings.
3. Support for lazy loading opt-in.

I was NotAtPDC

Unless you live under a rock... and if you do and get internet access there I am impressed... you are aware that Microsoft's Professional Developers Conference 2008 (PDC08) took place this past week.

ASP.Net Session and Google Desktop

As an ASP.Net developer using in-proc session you have probably run up against the issue of session loss. This usually happens due the application pool restarting. This happens for various reasons, usually due to a file or folder being changed or deleted in the application folder.

Well, we had finally resolved all the programmatic reasons for this and had on customer who was still having issues. After RPCing into his server and looking around I noticed that Google Desktop was installed on the server. No one knew why. However, after uninstalling Google Desktop all the issues went away.

Has Windows Weekly Jumped the Shark?

A podcast that I have been listening to for quite a while, Windows Weekly, part of the twit network of padcasts, pardon me netcasts, has been going down hill. This is a podcast where Leo Leporte "interviews" Paul Thurrott a tech journalist who maintains the Super Site for Windows web site. He has a bit of an in with Microsoft people and usually has great information that other people just don't have.

ECTACO Jetbook Review

In March of this year (2008) ECTACO released a new electronic book reading device, the Jetbook. Previously a company that produced electronic translation devices, ECTACO put that experience to good use to design and build their Jetbook.

Who Am I

Hello,

Well, its been a long time coming. I have had this virtual web server set up for quite some time now. But, learning debian, drupal, php, etc. while still trying to work at learning all the new .Net 3.5 SP1 stuff takes alot out of you... as I'm sure you're all aware. In addition to that I decided to buy an iMac so I could learn about it, and also use it to learn Ruby on Rails, git, capistrano. Yes, I'm into just about everything.

Syndicate content