J
JakkyTchong
Hi,
I'm writing a .dll. I'd like to know how to stop all the code running
from anywhere in the solution. For example:
-A class of the .dll is called from an .exe.
-Function A is called from the main sub.
-Function A calls Function B.
-Function B calls Function C.
-I need to terminate all the running code from Function C with a simple
method/function.
Is there an easy way to do this? Sometimes it gets very long to
propagate error handling back tho the main sub when deep into
functions.
I get this error when writing "End": 'End' statement cannot be used in
class library projects.
It seems 'End' statement doesn't work in .dlls...
Any ideas?
JakkyTchong
I'm writing a .dll. I'd like to know how to stop all the code running
from anywhere in the solution. For example:
-A class of the .dll is called from an .exe.
-Function A is called from the main sub.
-Function A calls Function B.
-Function B calls Function C.
-I need to terminate all the running code from Function C with a simple
method/function.
Is there an easy way to do this? Sometimes it gets very long to
propagate error handling back tho the main sub when deep into
functions.
I get this error when writing "End": 'End' statement cannot be used in
class library projects.
It seems 'End' statement doesn't work in .dlls...
Any ideas?
JakkyTchong