Solved

what is the best way to call a C dll from Windows Server 2008?

Posted on 2011-02-25
5
332 Views
Last Modified: 2012-05-11
Can I call it from a cmd or bat job?
Or do I have to use a scripting language like Perl or VBS?
0
Comment
Question by:KathysFriend
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:connectex
ID: 34988091
You can call a router within a .dll file by using rundll32.exe.
0
 
LVL 13

Expert Comment

by:connectex
ID: 34988096
I've got great typing today. router = routine.
0
 

Author Comment

by:KathysFriend
ID: 34993818
Is it possible to get a simple example?
0
 
LVL 13

Accepted Solution

by:
connectex earned 500 total points
ID: 34994062
Example: rundll32 printui.dll,PrintUIEntry /?

This calls the function or routine PrintUIEntry within the printui.dll. Anything afterward would be passed as parameters or options to the routine.
0
 

Author Closing Comment

by:KathysFriend
ID: 34999067
Thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question