View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Ending a dll program

hello,

I call a DLL from VBA. In this DLL(VB6), the program must stop
completely and exit if some condition holds

With EXE application, the END statement seems to work for me, but
compiling to DLL rejects the END statement.

How can I quit the program within the DLL?

Thanks a lot
Avi