hook virtual destructor
13 CCSGameRules::~CCSGameRules()
SH_DECL_MANUALHOOK0_void(GameRulesDestructorH ook, 0, 0, 0); any idea? |
Re: hook virtual destructor
Quote:
|
Re: hook virtual destructor
Quote:
SH_DECL_MANUALHOOK0_void(GameRulesDestructorH ook, 0, 0, 0); SH_DECL_MANUALHOOK0(GameRulesDestructorH ook, 0, 0, 0,); i use SH_DECL_MANUALHOOK0_void & crash |
Re: hook virtual destructor
Does it crash on hook installation or when the destructor is being called?
Edit: GCC / MSVC? |
Re: hook virtual destructor
using msvc,
which one should i use? SH_DECL_MANUALHOOK0_void or SH_DECL_MANUALHOOK0? |
Re: hook virtual destructor
Destructors have no return value.
|
Re: hook virtual destructor
Quote:
|
Re: hook virtual destructor
Quote:
Think about how you declare functions like that. Code:
void blah(); :bacon!: |
Re: hook virtual destructor
Quote:
Code:
class xx{ hook yy(), can compile, but crash on runtime |
Re: hook virtual destructor
Nothing in that sample class is virtual.
|
All times are GMT -4. The time now is 09:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.