Announcement

Collapse
No announcement yet.

Funktion stristr

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Funktion stristr

    Hi !

    Ich benutze den Builder Standart und vermisse die Funktion stristr() !?

    Gibt es dafür ein Update - include Datei oä ??

    Wie bekomme ich das in den Griff ???

    MfG Raldus

  • #2
    Salve!<br>
    Was soll stristr machen, ich kenne nur strstr unter Windows.<br>
    Im Zweifelsfalle mußt Du Dir die Portabilität anschauen, ob<br>
    diese Funktion unter Win32 lauffähig ist.<br>

    Gruß Fre

    Comment


    • #3
      Hi!

      Das ist das Gleiche wie strstr blos das Groß - und Kleinschreibung
      ignoriert wird so wie bei strncmp und strnicmp zb.

      ...Raldu

      Comment


      • #4
        Salve! <br>

        Welchen Compiler hast Du vorher benutzt?<br>
        Bei meinen Borland-Compilern finde ich nirgends stristr! <br>

        Fre

        Comment


        • #5
          Hallo,<br>
          <br>
          das habe ich in der MSDN gefunden<br>
          <br>
          StrStr<br>
          <br>
          Finds the first occurrence of a substring within a string. The comparison is case sensitive.<br>
          <br>
          LPTSTR StrStr(<br>
          LPCTSTR lpFirst,<br>
          LPCTSTR lpSrch<br>
          );<br>

          Parameters<br>
          lpFirst<br>
          Address of the string being searched.<br>
          lpSrch<br>
          Substring to search for.<br>
          Return Values<br>
          Returns the address of the first occurrence of the matching substring if successful, or NULL otherwise.<br>
          <br>
          Requirements <br>
          Version 4.71 and later of Shlwapi.dll<br>
          <br>
          Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later).. <br>
          Windows 95/98: Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later).. <br>
          Windows CE: Unsupported. <br>
          Header: Declared in shlwapi.h. <br>
          Import Library: shlwapi.lib.<br>
          <br>
          <br>
          Chri

          Comment


          • #6
            Hallo !

            Vielen Dank für eure Hilfen.

            Ich habe das Problem jetzt anderst gelöst.
            Es ist zwar ein wenig aufwendiger aber es geht.

            MfG
            ...Raldu

            Comment

            Working...
            X