Solved

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

Posted on 2011-02-25
5
363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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