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. bailsoft

    How do you use TNMHTTP?

    Okay, I've work it out myself. For the benefit of others, here is the core code required to download a file using TNMHTTP: int fhandle; NMHTTP1->ReportLevel = Status_Basic; NMHTTP1->InputFileMode = false; NMHTTP1->Get("http://www.meteo.fr/temps/europe/satellite/bigsateuj.jpg")...
  2. bailsoft

    Simple animation

    Hi, for OpenGL tutorials try http://nehe.gamedev.net/ Tutorials start from basics and build to fairly advanced techniques. Bailsoft
  3. bailsoft

    Screensaver preview

    Hi, in WinMain: c = GetCommandLine(); while(*c != ' ') //move to space before switch c++; if(*(c + 2) == 'p' || *(c + 2) == 'P'){ preview = true; hwnd = (HWND)atoi(c + 4); RECT rect; GetWindowRect(hwnd, &rect); winwidth = rect.right - rect.left; winheight = rect.bottom -...
  4. bailsoft

    How do you use TNMHTTP?

    Hi, I've tried: NMHTTP1->ReportLevel = Status_Basic; NMHTTP1->InputFileMode = true; NMHTTP1->Body = "D:\\DOWNLOADS\\example.jpg"; NMHTTP1->Get("http://www.ahost.com/example.jpg"); to download a JPEG file (BTW in case you haven't guessed the example URL is not real). The file I was...
  5. bailsoft

    How to keep IE from adding 'favorites' links??

    If you like to see all files in Windows Explorer, including hidden files, you might find the following of interest. A particularly annoying folder (to me anyway) is the 'Links' folder. Why IE insists it be present is beyond me. To get rid of this troublesome folder, search the registry for...
  6. bailsoft

    Detecting active Internet connection (Win 9x)

    Sorry, forgot to say please!
  7. bailsoft

    Detecting active Internet connection (Win 9x)

    Could anybody tell me how I can detect when a Win 9x box is online? I've searched the registry and I can't seem to find anything of any use. In W2K it's fairly easy, if only Win 9x was the same!
  8. bailsoft

    File handling with C++ Builder 3.0

    I wish to use the following routines to scan a file structure and change the date and time values of all the files encountered.<br><br><i>int __fastcall FindFirst(const System::AnsiString Path, int Attr, TSearchRec &F);<br>int __fastcall FindNext(TSearchRec &F);</i><br><br>My question is, is...
  9. bailsoft

    Borland C++ Builder 3 - Memory access below 0x00010000

    Thanks 2ffat, I'll check it out now!
  10. bailsoft

    Borland C++ Builder 3 - Memory access below 0x00010000

    Dear Kim,<br>thanks for your help. As you suggested I am going to use the SetCommState & CreateFile functions.<br><br>Dear Siddhartha,<br>thanks for you help. In answer to your question the line of code '<FONT FACE=monospace>address = *ptraddr;</font>' runs OK on my machine for memory addresses...
  11. bailsoft

    Borland C++ Builder 3 - Memory access below 0x00010000

    Dear Ssing,<br>firstly thank you for attempting to answer my question. Unfortunately, whilst your code runs without error, it does not read the contents of the memory location (0x400) as no indirection operator is used with 'ptraddr'.<br>If you could look at the problem again, or anybody else...
  12. bailsoft

    Borland C++ Builder 3 - Memory access below 0x00010000

    Dear Kim,<br>thank you for responding to my question.<br><br>I am using Windows NT 4.0 with Service Pack 6a and I am initially trying to read address 0x400 (COM port location). My console program code is as follows:<br><br><FONT FACE=monospace><br>#pragma hdrstop<br>#include...
  13. bailsoft

    Borland C++ Builder 3 - Memory access below 0x00010000

    When I try to access memory locations below 0x00010000 (bios memory area) using Borland C++ Builder 3 I receive a EAccess Violation exception. Could anybody explain how to access this area of memory without a exception being thrown? In anticipation, thank you.

Part and Inventory Search

Back
Top