I have definde a entity derived from AcDbEntity.
But when i use new to create a entity, i find that myentity'gpDesc is null. So i can not append it to the AcDbDatebase.
I have use the ACRX_DECLARE_MEMBERS and ACRX_DXF_DEFINE_MEMBERS.
that is why?
You probably forgot to add your custom class to the ARX runtime class
tree. Make sure you call your MyEntity::rxInit() during kLoadAppMsg,
followed by acrxBuildClassHierarchy(). Best would be to use the ObjectARX
wizard, which takes care of all that for you