Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. brivers

    Converting DIB to JPEG

    I've got a framegrabber card that will let me grab frames from a video source. The API gives me a handle to a DIB when I grab an image. Is there any easy way of saving this to a JPEG with C++Builder 5? I've looked at TJPEGImage and TImage::Bitmap, but I can't figure out how to get those from a...
  2. brivers

    Importing a VC++ DLL into C++Builder

    Sweet, thanks.
  3. brivers

    Importing a VC++ DLL into C++Builder

    I know there's a good webpage that describes it, but the site seems to be down. http://www.bcbdev.com/articles/vcdll2.htm ^ That's where it was, but I think it's gone now. Can anyone point me to another resource on how to do this?
  4. brivers

    C++Builder 5 & Windows XP Profiles

    Does anyone know why C++Builder 5 won't work under any other user profile except the one you install it with on Windows XP?
  5. brivers

    Cached write issues

    It's kind of dumb, but it seems to work. All I did was set up a loop that calls CreateFile with dwShareMode set to 0 (ie. do not share). If it returns INVALID_HANDLE_VALUE then you know that some other process is still writing it. Seems to work for me.
  6. brivers

    Cached write issues

    Nevermind, I got it.
  7. brivers

    Cached write issues

    Does anyone know how to get around Windows' cached writes without turning off caching for the entire hard drive? In Linux I can use select() or poll() to wait until the file is ready for reading or writing. It looks like Windows has select() for sockets, but will it work for files? Or is there...
  8. brivers

    Progress Bar in a Status Bar

    Yeah, that's what I ended up doing. Thanks. B
  9. brivers

    new page ()

    Yeah, printing stuff out can be interesting. I had to do something similar for one of my apps. Glad to see you're making a resource that everyone else can use. Brian Rivers
  10. brivers

    Progress Bar in a Status Bar

    Does anyone know how I can get a progress bar in a status bar? I've got a panel made for it, but I'm not sure how to get it to be a progress bar instead of a text display. Thanks in advance for any help. Brian Rivers
  11. brivers

    How do I associate an icon with files?

    Eh, nevermind, hehe... [blush]
  12. brivers

    How do I associate an icon with files?

    I created an app that uses a custom file extension (.md5). I got it to open my app and load the file just fine, but I can't figure out how to associate the icon with the file type (so that it shows up correctly in Explorer). Anyone know how to do this? Thanks.
  13. brivers

    Click on file --> Open my app (How do I do this?)

    Okay, I made an app with a "custom" file type and I need to know how to make it so that when I double-click a file of my type (.md5) it kicks off my app and loads the file. I know how to make Windows kick off my app, but I'm not sure how to (in my program) get the name of the file from the OS...

Part and Inventory Search

Back
Top