在 2020/11/16 上午5:54, gmail Vladimir Koković 写道:
> Hi,
> Let me try to describe what kind of problem I have with mingw-w64,
>
> because it becomes a nightmare for me, despite the fact that I have over 30
> years of experience with
> C and c ++ compilers:
> My ERP consists of a main program and two shared libraries.
>
> (... snip ...)
>
> #if __MINGW64__ && USECLASS == true && EXPTNTEST == false //convert struct
> odbc::SQLException to
> std::exception
> class vkSQLException : public std::exception {
Try defining a virtual destructor for this class:
```c++
class vkSQLException : public std::exception
{
virtual ~vkSQLException();
};
// in your DLL, create a .cpp file that contains:
vkSQLException::
~vkSQLException()
{
}
```
--
Best regards,
LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
