PC Review


Reply
Thread Tools Rate Thread

call c# written dll functions through command line

 
 
=?Utf-8?B?Um9saTc5?=
Guest
Posts: n/a
 
      26th Jul 2005
Hello together,

i'm trying to call some functions wirtten in c# and compiled as a type
library (dll) trough the windows cmd shell. Is this generally possible?

My first idea was it to use rundll32.exe to call my user defined function,
but if i try to make a call like this: rundll32.exe mylib.dll,myFunc
Param1,Param2

The srouce code looks like this example
namespace test {
class TestClass {
public static myFunc(int param1, string param2){
/*SourceCode*/
return (ReturnData)
}
}
}

Is there Something special i have to consider?

regards
Roland
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ICMP Functions are Not Available In the Command Line Mr. JYC Windows Vista General Discussion 3 30th Sep 2008 10:40 PM
call c# written dll function from command line =?Utf-8?B?Um9saTc5?= Microsoft Dot NET Framework 1 27th Jul 2005 05:09 PM
call c# written dll function from command line =?Utf-8?B?Um9saTc5?= Microsoft Dot NET 2 26th Jul 2005 04:02 PM
How to Call functions written in javascript file ? =?Utf-8?B?TWF2ZXJpY2s=?= Microsoft ASP .NET 8 20th Jan 2005 10:07 AM
Command line functions not recognized Lancelot R. Fletcher Windows XP General 1 10th Feb 2004 01:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 PM.