Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Code conversion help needed (inquire within).

  1. #1

    Code conversion help needed (inquire within).

    I have access to the source code for a moderately large program written in C/C++, that allows you manage (hide/show) the icons for the programs running in the System Tray for Windows 98, 2000, XP.

    My question is, are there any programmers, proficient in C/C++, here that might like to try and translate this program over to a set of easy to use Delphi units or components, if possible?

    Managing the tray is something I have found a great use for when there are icons that you just can't hide or never have any use for (especially when the tray gets way too large). I'd love to give the Delphi community access to this functionality so that they can write similar applications, but there is a fair amount of the code I just don't understand enough to follow.

    Any takers out there?
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  2. #2

    Code conversion help needed (inquire within).

    I'm pretty good in C++, but I haven't really worked in Delphi/. I could give it a shot.

  3. #3

    Code conversion help needed (inquire within).

    I've done some significant C++ to Delphi conversion work, I could help if it's not too much code (don't want to spend forever on it).

  4. #4

    Code conversion help needed (inquire within).

    Well truthfully a good portion of the code is unneeded. That is to say a lot of the "application" specific stuff. I'm particularly interesting in just the code that queries and returns a list of handles to those application running in the system tray, so that their icons can be hidden/shown. Most of which is only one or two short C files. I must have gone through the code at least seven times though and am still having some trouble sorting it all out. I'll post a link to the source once I get home.

    Any help at all would be appreciated. I'd really like to get this converted for the community and posted to several sites after we're finished so others can learn from it. I know once we get it over to Delphi it'll be much easier to understand/follow (and commented a little better) than it's C counter-part.

    Check back sometime after 6:00pm EST, I should have the files posted to my FTP by then and linked through this post.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  5. #5

    Just a question...

    Not interfering, just curious to know....

    What's the copyright in a situation like this?

    If I write code, it is my copyright.

    But if someone translates it, what then? Is the new code the translaters or still mine?

    Probably the wrong thread for starting this discussion. If so, my apologies, and please ignore my interruption.
    Stevie
    <br />
    <br />Don't follow me..... I'm lost.

  6. #6

    Code conversion help needed (inquire within).

    Not really sure to tell you the truth...

    Anyways here is the code: TrayManager 2.0

    Ziff Davis holds the copyright, but I think that's the copyright of the specific application, not necessarily the concepts behind which it was developed. Seeing as how I'm not looking to translate the entire application, but rather learn how a particular part of the application works, and then implement something similiar in Delphi, there should be little to no copyright issues (I hope). I think there is only an issue if you use the exact code or code that has not be sufficiently modified such that it is not your own, but a redistribution of the existing code as your own, if that made sense.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  7. #7

    Code conversion help needed (inquire within).

    There are already lots of free components which do this...
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  8. #8

    Code conversion help needed (inquire within).

    Could you point some out. I know of plenty that allow your own application to use the tray to display your own icons and animate them etc., but I know of none that can query a list of programs running in the tray and allow you to remove their icons.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  9. #9

    Code conversion help needed (inquire within).

    My apologies, Xorcist, I obviously didn't read your original post completely. :roll:
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  10. #10

    Code conversion help needed (inquire within).

    So.... anyone interesting in helping out? anyone take the time to look the code over? I can strip the code down to it's bare essentials and repost it if necessary. But for the most part I just need someone who knows their C/C++ well enough to understand what's going on, so we can begin to translate those mission critical pieces of code over to Delphi.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •