Regarding process class.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I am using a process class. I am able to run or open external
Executables(.exe) like notepad, .doc etc. Now i want to run a method present
in a component(.dll). Can i create an instance for that component, and
execute the method in seperate process using that process class? I would be
greatful if anybody clears my doubt.

regards,
Sivaraman.S
 
Hi Philip,

Thanks for ur reply. Is there any other way to do that. The actual
senario is this: I have, take, three records in a table. Actually the three
records a three seperate tasks. each records will have seperate dll name
along with the method to be executed. I will have to fetch the three
records(i.e components name) and make them execute at the same time. I dont
want to use thread. What can i do for it. Is there anyother way to do this.

thanks and regards,
Sivaraman.S
 
You could make your own executable that will run the task, then use the
process class to start that. But you can't use the process class to
directly start the function in the dll.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top