Would try to update this blog from now.
many links are broken like platnet source code and many websites shutdown.
Would try to update this blog from now.
many links are broken like platnet source code and many websites shutdown.
The 'PowerVB Console Application Add-In' provides an integrated mechanism for turning a Standard Exe application into a console application.
Using this add-in to generate a Windows Console application is equivalent to running 'EditBin /SUBSYSTEM:CONSOLE MyExe.Exe' from the command line.

'API In General Declaration Section
Private Declare Function SetProcessDEPPolicy Lib "Kernel32.dll" (ByVal dwFlags As Long) As Long
'To Disable DEP
SetProcessDEPPolicy(0)
'To Enable DEP
SetProcessDEPPolicy(1)
'Note: Once Enabled Using API you cannot disable it Again
More on MSDNWould try to update this blog from now. many links are broken like platnet source code and many websites shutdown.