1) Declares are case sensitive on all platforms, so if you use them, make you pay attention to case. At the OS level, export tables are case sensitive, which means that the REALbasic linker needs to generate a case sensitive import table in order to work properly. Since REALbasic can't guess what the appropriate case is for a given declare, it's up to the programmer to get it right. Note that this rule may not apply to the library names themselves -- just the declares the library exposes. Case sensitive library names is going to be platform-dependant. 2) If you
June 2007 Archives
Those of you who know me know how well web programming and I get along (not at all). So it was with much trepidation that I tried to tackle the RSS feed issue the awesome Steve Novoselac kept running into. However, it turned out to be a poor choice of default values in the RSS feed templates. For whatever reason, my Atom and RSS 2.0 templates had convert_breaks set to "0" instead of "1." After hunting around in the templates for a while, I spotted the goof-up and fixed it. So from here on out, the RSS feeds should be
So I had hinted at this topic before, but now that 2007r3 has been released, I can discuss it in-depth. Of course, had you come to REAL World this year, then this would be old hat to you since it was a part of my design patterns talk. Friendship is a concept that other programming languages have which is a way for a class to expose their "private parts" to other classes. For instance, let's say that you have Class A and Class B which are sibling classes (not a parent/child relationship), but they work together very closely. If Class
Last time we looked into the theory behind running an application as a restricted process for testing purposes. Today we're going to look at the code needed to make everything work. I apologize in advance for the formatting of the code. I've still yet to get MT figured out and have no idea how to get the formatting correct (or the RSS feed, according to Steve!). But there will be a downloadable project at the end of the post, so that should clear up most points of confusion. The first thing to look at are the declares we're going to
One of the things I constantly tell Windows users to do when they ask me how to make the best Win32 application they possibly can is to try running the application under the most restrictive privileges possible. However, I realized that most people having to ask that question really have no idea how to go about doing that. So I'm going to cover what exactly that entails. Note, what I'm not going to cover is how to actually set up a restricted access account (a bit of googling will show you how to do that). What I am going to
Ah, the much awaited REALbasic 2007 Release 3 is finally out. The reason why it's been much awaited for me is because it finally solves a complaint I've had for years -- file associations. I know this may seem like a minor thing, but it's one of those "best practices" issues that's bothered me since day one. When I was first hired at REAL Software, my job was to port the Mac IDE to Windows (this was back when the IDE was written entirely in C++). During this process, it was decided that the IDE would automatically register all the
I bought a Wii today. Lis and I were in Target shopping for those random items you never have when you move, and they happened to just stock the shelves. I turned a corner and saw one (for 250$), so I bought it. In the amount of time it took me to buy mine, three more were sold. I'm betting they were sold out before we left the store. Needless to say, I'm tickled pink. Once I have it all figured out, I'll probably post more about it. In other gaming news, I got the expansion to Oblivion. 40 more
Looks like PDC has been delayed this year, with no new date being given. Sad day, I was really looking forward to PDC again as that's one of the best non-REALbasic dev conferences in the world. http://msdn2.microsoft.com/en-us/events/bb288534.aspx
No, not the OS -- the REALbasic object. ;-) A Window object is a rather strange beast, and I'd like to take a moment to explain the way it currently works so that you can get a better understanding of why some things are they way they are. However, I'd also like to stress the word "currently" since that's important. This isn't a promise that things will stay this way forever -- stuff changes, trust me. So use this as more of a primer to understand a bit about how stuff works under the hood, but not as a definitive
Just to let everyone know, Elissa and I made it into Riverside safely on Friday night, and got our new town house (renting, not buying) on Saturday. We've been very busy getting situated, but so far, things are great. The town house is very spacious and really nice. The complex we're in has great people (one of which has an open wifi connection :: grins ::) who are very friendly. It's also a very beautiful complex with trees and flowers everywhere. We're both really happy and really lucky to have found such a great place. Lis starts her lab work