How to Import Some Code From Vb into Delphi

You can talk about VB programming here

How to Import Some Code From Vb into Delphi

Postby Masrico » Fri Apr 25, 2008 5:48 pm


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

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


I didn't figure how to represent "atl:00723818" in Delphi

ThanX
Masrico
 
Posts: 1
Joined: Fri Apr 25, 2008 5:33 pm

Re: How to Import Some Code From Vb into Delphi

Postby Chike » Sat Apr 26, 2008 4:08 am

It's a string, what's the problem?
Image
Chike
imFiles Master
imFiles Master
 
Posts: 583
Joined: Sun May 13, 2007 6:20 pm

Re: How to Import Some Code From Vb into Delphi

Postby Departure » Sat Apr 26, 2008 12:36 pm

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)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests