?
Solved

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

Posted on 2011-02-25
5
Medium Priority
?
365 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 2000 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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:…
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…
Suggested Courses

762 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