Pinvoking instance methods

  • Thread starter Thread starter Justin Time
  • Start date Start date
Not directly. You have to make a flat DLL that is a class factory so you
can get an instance handle, then pass that into other flat methods that call
methods on the instance (see the POOM sample).

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
OK, cheers

Chris Tacke said:
Not directly. You have to make a flat DLL that is a class factory so you
can get an instance handle, then pass that into other flat methods that
call methods on the instance (see the POOM sample).

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
What do you mean by that (give example), and why do you think you need it?

All dllimport declarations must be static.

Cheers
Daniel
 
Back
Top