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 Chris Miller 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. matematik

    PNG, GIF and TIFF

    So I'm working on application which is using TPicture. I load all picture to TBitmap in TPicture. For JPEG's i use this code: TJPEGImage * test; test = new TJPEGImage; test->LoadFromFile("test.jpg"); TPicture * test2; test2->Bitmap->Assign(test); This code works fine. But now I want to load also...
  2. matematik

    Socket programming problem

    I'm using this class to connect to server: bool ClientSocket::Povezi(String naslov, String port) { // spremenljivke WSADATA wsaData; this->Povezava = INVALID_SOCKET; struct addrinfo *result = NULL, *ptr = NULL, hints; int iResult; // koda iResult =...
  3. matematik

    compare image and small image

    Ok, so I make a small image with my program, but I want to check if it has changed each time I run the program, so I make new one, if it has changed. How can I do that fast, because I don't want to resize image and check.
  4. matematik

    including exe to c++ program

    Ok, now I'm using this function: void run( LPCTSTR cmd, LPCTSTR dir) { STARTUPINFO si; PROCESS_INFORMATION pi; memset(&si, 0, sizeof(si)); memset(&pi, 0, sizeof(pi)); si.dwFlags = STARTF_USESHOWWINDOW ; si.wShowWindow = SW_SHOW; TCHAR buffer[ MAX_PATH + 1]; memset( buffer, 0...
  5. matematik

    including exe to c++ program

    Can I include an EXE program to my Borland C++ project and than run it from the code?
  6. matematik

    high memory use - images

    Ok, i'll try this. Does anyone has a code to resize image from disk and than show it in TImage, without saving it to disk?
  7. matematik

    high memory use - images

    Well, now i know why it uses so much memory. Can I show this pictures, without storing them in memory?
  8. matematik

    high memory use - images

    I'm building an application, which has got 30 images(TImage) in one form. This pictures size is about 800 KB. The problem is, that program use a lot of memory(300 MB), I would understand if it would use about 50 MB of ram, because without pictures, it uses about 20 MB. What's the problem?

Part and Inventory Search

Back
Top