• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

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

Can I call it from a cmd or bat job?
Or do I have to use a scripting language like Perl or VBS?
0
KathysFriend
Asked:
KathysFriend
  • 3
  • 2
1 Solution
 
connectexCommented:
You can call a router within a .dll file by using rundll32.exe.
0
 
connectexCommented:
I've got great typing today. router = routine.
0
 
KathysFriendDBAAuthor Commented:
Is it possible to get a simple example?
0
 
connectexCommented:
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
 
KathysFriendDBAAuthor Commented:
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!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now