Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
O

One Stone

@One Stone
About
Posts
34
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RegOpenKeyEx and _UNICODE
    O One Stone

    Crap everything, he forgot the _T macro. Also, you don't need the static. Correctly, it should read: const TCHAR *mykeyname = _T("Software\\MyCompany");

    C / C++ / MFC help question

  • Free mdb database editor?
    O One Stone

    Hi, do you know a free database editor for mdb databases? Something like Microsoft Access, but it must be free (also, no trial version). It doesn't need to have hundreds of features, just a small database viewer where I can quickly change some cells, not more. I searched around for hours now, but didn't find any..

    The Lounge database question announcement

  • Hey Guys Its me Psycho the Newbie again *DOH*
    O One Stone

    It indicates that the implementation of the int __cdecl sumArray(int * const,int) function is missing.

    C / C++ / MFC help c++ debugging question learning

  • My 3rd Linux experience
    O One Stone

    Well, but it was the very same version of Firefox! The latest one, 1.0.4 on both Debian and Windows systems. I thought Firefox would be portable. Why does it look different/crappy on Debian, but pretty good on Windows? (I love Firefox on Windows!)

    The Lounge tutorial linux graphics testing beta-testing

  • My 3rd Linux experience
    O One Stone

    Yesterday I tried the new Debian stable Sarge linux distro... But wait, first my two prior Linux experiences: The first Linux system I tried was a Suse distro a few years ago (v7 or so?). I was impressed by the graphical installer, but later more and more problems came up. I wanted to change the crappy black mouse cursor to a white one, like Windows has. But think of what? I couldn't find any dialog in KDE where you could configure the mouse cursor. I searched around in the internet a bit and found a detailed tutorial on how to set new mouse cursors. I downloaded a mouse cursor package having a neat white one and followed all steps in the tutorial. Guess what? Exactly nothing happened, it just ignored what I did. A bit later, I thought about installing a graphics card driver for my card. I downloaded the Linux driver from the NVidia page and started the installer. Unfortunately, it couldn't install the driver, since it didn't have the kernel sources (I know, such drivers are compiled into the kernel on Linux somehow)... So I went to the Suse package wizard and tried to install the kernel sources, which of course, failed... So, live without smooth videos and even forget about any 3D games. Yet a bit later I found a nice program I wanted to try. I downloaded the package and tried to install it. It failed because of some other missing libraries (not many, just 4 or so). I downloaded those 4 and tried to install them, they are based on some other ones... A bit nervous, I downloaded those others too and tried to install those. Guess what? Version conflict. Some time after this, I tried a new distribution: Debian testing. As I've read, the testing edition shouldn't be that unstable and should have a nice package management system (APT), so I downloaded it and tried it. Its installer wasn't that nice like the Suse ones, but I don't care much about this anyway. After having installed KDE and Gnome by hand using apt-get (I like this package management system of Debian!), I first tried Gnome. Actually Gnome seems to be just a limited KDE... Of course, it was pretty fast, but just about everything was missing or not there, where it should be (for example, almost no configuration options??). I just didn't like it. So, tried KDE again. Unfortunately, the whole new KDE was pretty unstable. When you tried the "quick directory browser" in the KDE start menu, it just hangs when you don't connect to the internet. I don't always want to be online, just to have that crappy directory browser working... Related to this, I could on

    The Lounge tutorial linux graphics testing beta-testing

  • void F() or void F(void)?
    O One Stone

    I prefer void F(), too. When you want to pass an integer, you say int n, when you want to pass nothing, just write nothing in this case. For me it's somehow contradicting, writing a 'void' into the parameters and then not passing anything... (though its meaning is clear) When you call a function, you also call it like F(); and not F(void); or even F(no_this_time_i_dont_want_to_pass_anything);.

    The Lounge csharp visual-studio question

  • which encryption to use?
    O One Stone

    Have a look at the Diffie Hellman[^] key exchange system. After you've agreed to a key, use a symmetric cipher like AES, Twofish, etc.

    The Lounge algorithms security question

  • Why Release version don't Run.
    O One Stone

    http://www.codeproject.com/debug/survivereleasever.asp[^]

    C / C++ / MFC c++ help announcement debugging question

  • AllocConsole
    O One Stone

    LPDWORD is a pointer. You need to pass a valid memory location to the WriteConsole function, not just a random pointer. Also, cast the CString to a LPCTSTR manually, before turning it into a VOID*.

    DWORD s = 0 ;
    CString myStr = "\n";
    HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
    WriteConsole(h, (LPCTSTR)myStr, myStr.GetLength(), &s, NULL);

    C / C++ / MFC csharp visual-studio question

  • Problem with pthread.
    O One Stone

    And, what's the problem??

    C# help

  • Height of status bar?
    O One Stone

    Hello! How can I determine the height in pixels of status bars? The GetSystemMetrics function seems to give many such values, but doesn't support status bars?? Best regards

    C / C++ / MFC question

  • Microsoft Interview Experience Part II
    O One Stone

    The second IQ question is simple, but what's the answer for the first one?? You have to pick many, at average half of the fruits, to know it exactly, don't you??

    The Lounge data-structures question career design game-dev

  • Shell extensions with C#?
    O One Stone

    Hello! How can I write shell extensions with C#? (more specifically: context menu items in explorer) I'm looking for a nice tutorial like Michael Dunn's excellent article for MFC/C++[^], but using C#. I want to do some real shell programming, not just registry hacks[^]... Thanks in advance and best regards

    C# c++ question csharp com windows-admin

  • Flippin coins
    O One Stone

    yaddaYoda wrote: we flip a coin 1000 times, then in a perfect enviroment 500 should be heads and 500 should be tails Most probably, but not exclusively. With a bit less probability you'll get 501/499. With even a bit fewer probability you get 502/498, etc. You will get 1000/0 some time, but this is really very unlikely (if you flip 1000 coins 21000 times, one time you'll get this; of course, in average).

    The Lounge agentic-ai help question

  • CTP of Indigo released
    O One Stone

    Hi there! You've seen this already? Microsoft has released an early community technology preview of Indigo for MSDN subscribers. http://www.zdnet.com.au/news/software/0,2000061733,39184949,00.htm[^]

    The Lounge com question announcement

  • Firefox 1.0.1 is here :)
    O One Stone

    Ummm... "Help -> About Firefox..." ?? Or "about:" in the address bar... Both display 1.0.1 for me.

    The Lounge com linux question

  • Picture preview in WinXP?
    O One Stone

    Hello! Under Win98 we had such a blue-to-white bar with hyperlinks on the left of the file view in the explorer. In this area, it has shown picture previews when you selected one... It looked like the left pane of the bitbasket... Doesn't WinXP have this? I haven't found it...? Thanks and best regards

    System Admin question

  • Bitmap to jpeg conversion
    O One Stone

    Without an already made library? Hmm, good luck trying to implement the JPEG compression code yourself... Why not using the free CxImage library? I've used it several times and did everything perfectly. http://www.codeproject.com/bitmap/cximage.asp[^]

    C / C++ / MFC c++ graphics tutorial question

  • CString("hai").Format("hello");
    O One Stone

    :wtf:

    C / C++ / MFC help question

  • Help me to delete a Directory
    O One Stone

    I don't think the last character is a space... I've tried this (created directory with space at the end) and successfully deleted it in the Explorer...

    The Lounge help com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups