Solved

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

Posted on 2011-02-25
5
351 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…

756 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