Skip to content

How to Import Some Code From Vb into Delphi

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #187552
    Masrico
    Member

    Hi Guys,

    I am trying to write some delphi code starting from VB Code generated from Pat or JK’s API Spy. All go will except this

    atl = FindWindowEx(wtlsplitterwindow, 0&, "atl:00723818", vbNullString)

    I didn’t figure how to represent “atl:00723818” in Delphi

    ThanX

    #187554
    Chike
    Member

    It’s a string, what’s the problem?

    #187553
    Departure
    Member

    atl = FindWindowEx(wtlsplitterwindow, 0&, “atl:00723818”, vbNullString)

    in delphi is nearly the exact same, the only diffrents is “Nil” instead of “vbNullString” and ‘ instead of ” when using a string also 0 instead of 0&

    atl = FindWindowEx(wtlsplitterwindow, 0, ‘atl:00723818’, Nil)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.