I had a C++ Dll, And I would like to you the function to be called in the batch program.
Example:
OUR.dll(dll name)---> it contains 2 function 1)add 2)subtract
test.bat---> is my batch program in which i want to pass the variable like 5,3 to dlll(add function)
test.bat---> I should get the executation output in the dll.
--------------------------------------------------------------------------------------------
I am able to call in perl program , i am not able to know how to call in batch program
How to execute a function which exist in a DLL
Moderator: DosItHelp
Re: How to execute a function which exist in a DLL
Maybe there is a way to do it using rundll32.exe. Idk. It depends on what is specified in the source code of the .dll. Did you write it yourself? I never tried to write a .dll in C++ that can be used with rundll32. Found this in the internet.
Regards
aGerman
Regards
aGerman