Magento - getting setup model
I want create new table out of magento, in interface, without inheriting setup class. I tried to get resource model of setup. This didn't work: 

    require_once 'app/Mage.php';
    Mage::init();
    
    $setup = Mage::getResourceModel('catalog/setup');
I was also thinking about `Mage::getResourceModel('core/resource_setup')` but i have an error: `Fatal error: Call to a member function startSetup() on a non-object in C:\xampp\
htdocs\LPP_MAGENTO_EE_CUSTOM\app\code\core\Mage\Core\Model\Resource\Setup.php on
 line 944`

Do you have any idea?
(I saw [this question][1] but it doesn't work for me)


  [1]: http://stackoverflow.com/questions/6759341/magento-use-setup-model-out-of-magento/11396693#11396693
Magento - getting setup model
===

I want create new table out of magento, in interface, without inheriting setup class. I tried to get resource model of setup. This didn't work: 

    require_once 'app/Mage.php';
    Mage::init();
    
    $setup = Mage::getResourceModel('catalog/setup');
I was also thinking about `Mage::getResourceModel('core/resource_setup')` but i have an error: `Fatal error: Call to a member function startSetup() on a non-object in C:\xampp\
htdocs\LPP_MAGENTO_EE_CUSTOM\app\code\core\Mage\Core\Model\Resource\Setup.php on
 line 944`

Do you have any idea?
(I saw [this question][1] but it doesn't work for me)


  [1]: http://stackoverflow.com/questions/6759341/magento-use-setup-model-out-of-magento/11396693#11396693