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

    Getting the basename of a file?

    How can I get the basename of a file. I'd like it to turn something like "C:/apple/pie.txt" to "pie.txt
  2. dazappa007

    createdc function in delphi

    I'm trying to convert the following from VB to delphi. GetCursorPos z screendc = CreateDC("DISPLAY", "", "", 0&) color (the Hex value is Text1 = GetPixel(screendc, z.x, z.y) Picture1.BackColor = GetPixel(screendc, z.x, z.y) DeleteDC (screendc) Here's the line: screendc := CreateDC("DISPLAY"...
  3. dazappa007

    Function returning '/' instead of an int in a string

    function protectInt(intnumb,tuInt,theRandd:integer):pchar; stdcall; var mypchar:pchar; begin protInts[intnumb]:=tuInt*theRandd; intMult[intnumb]:=theRandd; //can just ignore this line strpcopy(mypchar,inttostr(protInts[intnumb])); Result:=mypchar; end; OK basically what it's...
  4. dazappa007

    getwindowtexta = need help defining function

    OK well I think I found a user32.dll function that is perfect for me: GetWindowTextA. The problem is, I don't know how to do it... In vb you'd do Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hWnd As System.IntPtr, ByVal lpString As System.Text.StringBuilder...

Part and Inventory Search

Back
Top