Is someone (LIJI) know and want to explain how to not allow the compilation of an application which contain a specific extension ?
Thanks :)
Printable View
Is someone (LIJI) know and want to explain how to not allow the compilation of an application which contain a specific extension ?
Thanks :)
In General.cpp find:
Replace it with (or add if not found):Code:LPCSTR* WINAPI DLLExport GetDependencies()
{
return NULL; // szDep;
}
Code:LPCSTR* WINAPI DLLExport GetDependencies(mv _far *mV, LPEDATA edPtr)
{
return NULL;
}
Thanks :)
Ah... I didn't stop compilation in propose in the older versions in my extensions in order to protect them, I was using an old bugged SDK with the change Joshtek just showed. :P
You can also add :
__asm int 3;
in the GetDependencies function, to generate an exception, I think that's better than adding wrong parameters.
Where do I can add exactly "__asm int 3" ?
Quote:
Originally Posted by Yves
Yes, I know he said it but... I put it like :
I think not... I don't understand this line to add...PHP Code:LPCSTR* WINAPI DLLExport GetDependencies()
{
__asm int 3
return NULL; // szDep;
}
Code:LPCSTR* WINAPI DLLExport GetDependencies()
{
__asm int 3;
return NULL; // szDep;
}
Ho ok. But, because I'm curious, what this line do ?