It lives forever in our hearts. http://jordaneldredge.com/projects/winamp2-js/[^]
Tsuda Kageyu
Posts
-
WinAmp -
Bug on date/time? My posts are all an hour earlierIt looks fixed. Thanks!
-
Bug on date/time? My posts are all an hour earlierI always keep the checkbox off, because we don't have a DST law. (I'm in Japan)
-
Bug on date/time? My posts are all an hour earlierI changed my timezone setting from UTC+9 to UTC+8, UTC+10... the time stamps was changed according to the timezone, but always an hour earlier than my calculation. So I guess (just a guess) CodeProject adjusts time stamps according to each user's timezone and something is going wrong in the adjustment.
-
Bug on date/time? My posts are all an hour earlierI posted the message below around 11am JST (or 2am UTC) today. http://www.codeproject.com/Messages/4942218/My-vote-of.aspx However, I found that the time stamp is displayed like "12-Nov-14 10:09" when I checked "My Messages" page. I double-checked my time zone setting, but it was correct. I checked some of my messages and reputation events. They are all an hour earlier than I expected. Is it just a bug or is there some special reason? Now I'm going to post this message at 11:27am JST.
-
Can I solicit donations for my project in CodeProject?Thanks! I see your point and sorry for my lack of consideration.
-
Can I solicit donations for my project in CodeProject?I wrote this article several years ago to publish my library, and the library has became widely used. Currently, I need some funds to continue developing it. So I decided to solicit donations for the project. I got started a Pledgie campaign to collect donations. So CodeProject allows me to announce it in my article?
-
A backslash in C++Oops! It was like this:
// Sometimes carry out the work \
if (flag)
{
SomeWork();
} -
A backslash in C++My co-worker was struggling with a bug in an old C++ program.
// Sometimes carry out the work \
if (flag) {
SomeWork();
}SomeWork() was called regardless of the value of
flag
. It took her a few hours to find a backslash at the end of the comment. -
Does C++ long for VB?Right. It's a kind of booby trap. But I was surprised rather than being angry when I found it.
-
Does C++ long for VB?Or maybe Pascal.
class A
{
private:
// A lot of members.
public:
bool operator==(const A &rhs) const { return (this == &rhs); }bool operator=(const A &rhs) const { // Compares the members. } bool operator!=(const A &rhs) const { return (!operator=(rhs)); }
};
-
.NET 4 Rocks!You're right as long as MFC stays away from us.
-
A P/Invoke mystery [modified]No. I made doubly sure that the process was running in x64 mode. By the way, your articles have helped me much for years. Thanks :-D
-
Tokyos oldest manYou're right. I've actually seen such a mummie deified at a temple. It was a really sacred experience. But in this case, it's just a fraud for his pension, we think.
-
A P/Invoke mystery [modified]Electron Shepherd wrote:
That contradicts the WINAPI calling convention
I think it's not a contradiction. The calling convention on x64 system is different from the ones on x86 system. Here is the overview about it. http://msdn.microsoft.com/en-us/library/ms235286%28VS.80%29.aspx[^]
-
A P/Invoke mystery [modified]A few days ago, I looked through a C# program that didn't run well on x64 system. Finally I fixed it, but faced a mysterious fact. First, I had suspected that its P/Invoke declarations are wrong, and found the one like this.
// MEMORY_BASIC_INFORMATION is defined separately.
[DllImport("kernel32.dll")]
static extern int VirtualQuery(IntPtr lpAddress, out MEMORY_BASIC_INFORMATION lpBuffer, int dwLength);I thought it was surely incorrect. The native definition of the function is like this...
SIZE_T WINAPI VirtualQuery(LPCVOID lpAddress, PMEMORY_BASIC_INFORMATION lpBuffer, SIZE_T dwLength);
...and SIZE_T is platform dependent, so that its corresponding P/Invoke declaration might be like this.
[DllImport("kernel32.dll")]
static extern IntPtr VirtualQuery(IntPtr lpAddress, out MEMORY_BASIC_INFORMATION lpBuffer, IntPtr dwLength);But the thing confused me is that the function itseif seemd to run well even on x64 system. I think that 'incorrect' one runs well because dwLength is passed with a register (not stack) on x64 system. If the parameter is 64bit or less, it would be passed apparently. Does somebody have an idea about it?
modified on Monday, August 2, 2010 10:07 PM
-
Most owned CDsI have three copies of Ram It Down and Painkiller each. For listening, storage, and propagation! I think we can become friends... :)
-
Google TranslateWhat a terrible translation! It makes no sense at all. (but a little funny ;P )
-
[Fifa] Germany on a roll...I'm excited very much. The game reminds me I watched Klose's first WC goal in the stadium.
-
[FIFA] Best match so far: Portugal vs SpainSurely they are so out of Asian league so far. All the survived teams deserve to be best 8.