Recently in New Things Category

I've only had one complaint about Vista since using it as my main desktop (back when it was still in beta!), which is the file operation speed. When you go to move a bunch of files, or delete a large file, etc, it seemed as though the operation took so much longer than XP did on the same machine. And it turns out that it does so because of a "feature" of the OS. The feature basically calculates with better precision how long the operation will take. So, for instance, if you want to delete a directory with 5000 files
I learned something new over REAL World last week (see, even REAL Software employees have something to gain from attending!) with regards to the way the Encodings.GetFromCode API works in REALbasic. I was always under the impression that this API was a Mac-only one. However, it turns out that I was wrong -- it works on Windows as well (sorry, I'm not certain about Linux one way or the other). GetFromCode takes a codepage on Windows, but it takes it in a strange enough fashion that we can figure out what you really mean. If you add &hFFFF0000 to the
A bug report came in recently that made me dig into the Win32 window manager a fair amount. You can play along too! Make a new project, and set the width and height of the default window to be something larger than your screen resolution. My screen runs at 1600x1200, so I made the window 2000x2000. If you run the application, you'll notice that the window is roughly the exact size of the screen. If you run Spy++, you'll see that the window's dimensions were reduced. Now, go back and set the window's frame type to be plain box and
I never knew this before, but here's a handy plugin debugging trick. If you put a DLL file next to the IDE, then the IDE loads it up as a plugin (assuming that it has a PluginEntry function exported). You can use this as a way to help debug your plugins while they're interacting with the IDE. That's pretty neat! The other fun trick I recently learned about was that you can add a separator to the Application menu on the Mac by making a new AppleMenuItem and assigning "-" to its text. Sensible, but I never really thought about

Disclaimer

I'm currently an employee of REAL Software. My blog is mine. The opinions represented in this blog are mine as well and may not represent my employer's opinions. All original material is copyrighted and property of the author.

REALbasic® is a registered trademark of REAL Software, Inc. REAL SQL Server™ and Lingua™ are pending trademarks of REAL Software, Inc. All rights reserved.