I have a ShowUsers.dll with two method name ShowUserProfile & ShowProfileWithArea.
When the user enters cmd>ShowUsers.dll ‘UserName’ it should call ShowUserProfile
When the user enter cmd>ShowUsers.dll ‘UserName’ ‘Area’ it should call ShowProfileWithArea.
How I can configure it in the dll code to accomdate these calls from command line ?
Thanks
dllstands for “dynamic linked library“, so basically doesn’t have any startup method concept. If you want to make conditional execution of methods within that library there is no way then use otherexelike a bridge and route the call to different method ofdllbased on paramater recieved withinexe.