Skip to content

The Lounge

For discussing anything related to a software developer's life but is not for programming questions. <b><a href="/Questions/ask.aspx" style="color: rgba(255, 0, 0, 1)">Got a programming question?</a></b><br><br>

This category can be followed from the open social web via the handle the-lounge@forum.codeproject.com

118 Topics 758 Posts
  • Old stuff!

    2
    0 Votes
    2 Posts
    0 Views
    L
    you know you can use MCI in a console application, right? if it's a dos application, i have some old code that might be useful. mscdex is documented in a few places.
  • Scroll Lock Key..

    20
    0 Votes
    20 Posts
    0 Views
    L
    An IRC channel somewhere would be nice. Then you can have a Java applet on the webpage for easy access, but people can also use better IRC client applications if they want to. (And people can sit in the channel all day and maybe answer the odd question if someone comes in for advice. I've almost always got an IRC client loaded...)
  • Lenox Lewis vs TuaMan

    2
    0 Votes
    2 Posts
    0 Views
    L
    Lennox will have him in the 4th, no problem.
  • Yes, but on Visual Basic coding...

    3
    0 Votes
    3 Posts
    0 Views
    M
    The URL is: http://www.codearchive.com/vbasic/select.cgi?section=media&startat=0 the file is: Cdrecord.zip Welcome
  • CD-Recording software

    3
    0 Votes
    3 Posts
    0 Views
    L
    Try http://www.fadden.com/cdrfaq/faq06.html#\[6-6\] Hope that helps.
  • 24-bit Color Depth Toolbar Buttons

    2
    0 Votes
    2 Posts
    0 Views
    L
    Try reading this article: http://codeguru.earthweb.com/toolbar/HiColorToolbar.shtml It might help...
  • Preventing Piracy

    15
    0 Votes
    15 Posts
    0 Views
    D
    I have no knowledege of piracy law in India. The reason I added it was because it mentioned that India has the highest piracy rate in the world (or one of the highest), in Edge magazine. If anybody can got holds of a copy of Edge (issue 91) I recommend that you read the section of software piracy, as it covers quite a lot and goes into great depth as to the reasons, cures, etc) David Wulff
  • Animated Diagrams

    4
    0 Votes
    4 Posts
    0 Views
    J
    Thanks for your suggestions guys. I wonder, has anybody had any experience of HTML+TIME - are there any editors that support this ?
  • No conditional XOR in C++/C#?

    5
    0 Votes
    5 Posts
    0 Views
    J
    Because != is the same as XOR for logical types: if ((a < 1) != (b > 2)) returns true if one and only one of the two statements is true.
  • com and stuff

    2
    0 Votes
    2 Posts
    0 Views
    E
    Actually, COM was invented at MS in 1987, SOM was first released in OS/2 2.0 in 1992 (the same year MS released COM in Windows 3.1) Both SOM and COM share the same ancestors, but neither is a copy of the other.
  • Something to use Opengl on

    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Something to use Opengl on

    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • C++ or just C ?

    3
    0 Votes
    3 Posts
    0 Views
    L
    I have been noticing this too recently, and I haven't even gotten Bjarne's book yet! Surely when I do I will realize even more OO flaws. Are you a windows programmer? I am, and I think this contributes to my mixing of C and C++. Because the Windows api is C, C++ code for windows will always have a little C, unless you use wrapper classes (or MFC) for every little thing (do you really never use POINT instead of CPoint?). So I guess we can partially blame this one on Microsoft :-D
  • MSDN Subscriptions...

    3
    0 Votes
    3 Posts
    0 Views
    L
    The Pro version is the MSDN Library, but with additionas CD's that contain all of the current and beta operating systems, and platform SDK's. This version goes for between $630 and $700, with academic pricing in the range of $250-$300. The Universal subscription includes everything in the pro subscription, plus all of the enterprise versions of the development tools (VC++, C#, J++, VB, Foxpro, and Back Office, and Microsoft Office, MapPoint, and other goodies. Pricing is between $1600 and $1800, with academic pricing set at between $700 and $800. You can upgrade between versions, but I'm not sure of the specific requirements or restrictions associated with upgrading.
  • Load graphic or drawing....??

    2
    0 Votes
    2 Posts
    0 Views
    K
    try http://www.boutell.com/gd/
  • Vector graphics

    2
    0 Votes
    2 Posts
    0 Views
    J
    Well first question is what do mean by "smooth curve" - do you mean an antialiased line/curve ? If you just want to draw curves etc, then you can use PolyBezierTo or PolyBezier. Either one will draw cubic bezier curves with the GDI. If you do want anti aliased lines good luck !!! Sadly there are very few really good 2d vector libs out there, though there is one called LibArt, by Raph Levien which does absolutely fantastic output. It is written all in C and does all it's work in a buffer, so you could take the buffer and then dump it to an HBITMAP. Check out www.levien.com. It has only gcc makefiles available but I was able to make it work under VC++ with little trouble. I have had problems using it under C++ progs though - not sure why - probably something stupid on my part :) Hope this helps
  • who has a billing system (any kind)

    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Whistler Beta?

    3
    0 Votes
    3 Posts
    0 Views
    S
    It's there now.
  • Anyone keep a 'bag of tricks'?

    3
    0 Votes
    3 Posts
    0 Views
    C
    i use this one all the time: #define ARRAYSIZE(__a) (sizeof(__a)/sizeof(__a[0])) int array[] = {5,3,2,5,6,2,1,5,7,9,0}; ... int sizeofarray = ARRAYSIZE(array); and, this one is fun: // instatiate one of these and it diables all child controls in a // window. let it go out of scope and all the controls are re-enabled. class CDisableChildControls { public : CDisableChildControls() {ASSERT(0);} CDisableChildControls(HWND h) { ASSERT(h); m\_hWnd = h; EnableChildWindows(m\_hWnd,FALSE); } ~CDisableChildControls() { ASSERT(m\_hWnd); EnableChildWindows(m\_hWnd, TRUE); } protected: HWND m_hWnd; }; BOOL CALLBACK EnumEnableChildWndProc( HWND hwnd, LPARAM lParam) { ::EnableWindow(hwnd, (lParam ? TRUE : FALSE)); return TRUE; } BOOL EnableChildWindows(HWND hWndParent, BOOL bEnable) { return EnumChildWindows(hWndParent, EnumEnableChildWndProc, (bEnable ? 1 : 0)); }
  • I want a chat room

    2
    0 Votes
    2 Posts
    1 Views
    C
    Geez you guys are harsh this week! Gimme this, gimme that, do this better, stop doing that....I demand my right to sleep in on a Sunday morning! ;P (OK, OK, I'll see what I can do :)) cheers, Chris Maunder