Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2005

Tip: Looking for answers? Try searching our database.

How to get exported paramater names

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pyerwoh - 10 Nov 2005 23:33 GMT
I need to make use of some functions in an unmanaged dll -- printui.dll. My
question is how can I find the parameter names for each function in the dll?
I have searched the internet, and pinvoke.net, and I have also run a dumbin
/export on the dll , which helps me know what the function names are, but how
can I get the information about the parameters needed for each if I don't
have a header file? If anyone can point me in the right direction, it would
be appreciated! Is this even possible?

Thanks,
Peter
Mattias Sjögren - 11 Nov 2005 06:28 GMT
Peter,

>I need to make use of some functions in an unmanaged dll -- printui.dll. My
>question is how can I find the parameter names for each function in the dll?

You read the documentation. If the function isn't documented then you
probably shouldn't call it.

Mattias

Signature

Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Robert Jordan - 11 Nov 2005 11:03 GMT
> I need to make use of some functions in an unmanaged dll -- printui.dll. My
> question is how can I find the parameter names for each function in the dll?
[quoted text clipped - 3 lines]
> have a header file? If anyone can point me in the right direction, it would
> be appreciated! Is this even possible?

It is not possible w/out a header file.

Robert
Ole Nielsby - 11 Nov 2005 18:51 GMT
> It is not possible w/out a header file.

A type library will do.

HTH/Ole Nielsby

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.