"Nafly" wrote:
Dear bro........
I am creating DLL for Convert HTML to PDF.
I need WIN32 API for some needs..
Can any one help me ?
Thanks...
Well, what do you want to know?
To call a win32 method you typicall use something like
[DllImport("user32.dll")]
public static extern <returntypeSomeMethod(<parameters>);
and call the win32-method by calling SomeMethod(). SomeMethod must be the
same methodname as found in the dll, or you need to set EntryPoint in
DllImport. The tricky bit may be to find out what to put as parameters.
http://www.pinvoke.net may help you out with signatures
--
Happy Coding!
Morten Wennevik [C# MVP]