I�m having a problem with my proyect. I added a new class file in my
proyect, that class inherit s from CDBPopupTrigger to manage a combo box.
The problem is that withing this file there seems to be no reference to the
pol�s classes.
Error : undefined identifier 'CDBPopupTrigger'
CCmbCategoriasIVA.h line 4 class CCmbCategoriasIVA : public
CDBPopupTrigger
Error : declaration syntax error
CCmbCategoriasIVA.h line 10 CString m_strText;
Error : declaration syntax error
CCmbCategoriasIVA.h line 11 };
Error : undefined identifier 'GetDatabase'
CCmbCategoriasIVA.cpp line 7 CDatabase* pDatabase = GetDatabase();
Error : undefined identifier 'LeerRegistro'
CCmbCategoriasIVA.cpp line 8 pDatabase->LeerRegistro(nItemNum);
Error : undefined identifier 'm_strText'
CCmbCategoriasIVA.cpp line 9 m_strText=registro.strDescripcion;
Error : undefined identifier 'm_strText'
CCmbCategoriasIVA.cpp line 10 return m_strText;
this is the file CCmbCategoriasIVA.h
#ifndef _CMB_CATEGORIAS_IVA_H_
#define _CMB_CATEGORIAS_IVA_H_
class CCmbCategoriasIVA : public CDBPopupTrigger
{
public:
virtual const Char* GetItemText(Int16 nItemNum, UInt16 wIndex);
protected:
CString m_strText;
};
#endif
I�m missing something?? Codewarrior has some number of files in the proyect
limitation???
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/