Findwindow alternative...?

  • Thread starter Thread starter Mobile Boy 36
  • Start date Start date
M

Mobile Boy 36

Hello,

At the moment I'm writing a RasDial function.
This function needs a handle...
In the old fashioned "embedded visual basic" you had something like
"App.hInstance"

I know I can use Findwindow. But my goal is to put the Rasdial function in a
class that is reusable
in more projects...So in fact, I can't use Findwindow because it needs a
formname and not every project does contain the same forms you know...I
don't consider using a DummyForm

Does someone know an alternative or a solution for my problem.
Any suggestion would be greatly appreciated

Mobile boy
 
Back
Top