[fpc-devel] DLL function exits without exception or other notice

Yury Sidorov jura at cp-lab.com
Sat Jun 30 23:21:08 CEST 2007


From: "Felipe Monteiro de Carvalho" 
<felipemonteiro.carvalho at gmail.com>
> I have a code on a Dll which when executed causes the funtion to
> simply exit without raising an exception or anything. It just exits
> without notice, and also quits from the function that called it, 
> like
> if it was an Exception, except that a try...except...end block 
> doesn't
> catch anything. Here is the code layout bellow. The first message 
> box
> is shown, but the second is never shown:

Try to copy this function to main .exe and test it.

Yury. 



More information about the fpc-devel mailing list