To dream that you are cooking implies that you want to manipulate others into needing your help or your presence. You hope that others can look up to you for guidance and wisdom. It may also suggest that you long to take care for others and comfort them. You are seeking affection and closeness.
To dream that you have difficulties cooking means that you need to stop exerting so much energy getting people to accept you.