Difference between revisions of "Associating GUIDs with classes"

From LSDevLinux
Jump to: navigation, search
(minor updates)
m (Reverted edits by KevinAlexander (Talk) to last revision by LSDevManager)
Line 15: Line 15:
  
 
[[Category:COM]]
 
[[Category:COM]]
 
== Love Everything, Be Attached To Nothing ==
 
 
As human beings we all want to be happy and free from misery we have learned that the key to happiness is inner peace. The greatest obstacles to inner peace are disturbing emotions such as anger, attachment, fear and suspicion, while love and compassion and a sense of universal responsibility are the sources of peace and happiness. Dalai Lama
 
 
[[http://goodvillenews.com/Love-Everything-Be-Attached-To-Nothing-RSJu6i.html Love Everything, Be Attached To Nothing]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Behind the Beautiful Forevers ==
 
 
For two decades, and currently at The New Yorker, youve written about the distribution of opportunity, and the means by which people might get out of poverty, in America. What inspired you to start asking the same kinds of questions in India?
 
 
[[http://goodvillenews.com/Behind-the-Beautiful-Forevers-YtCKM3.html Behind the Beautiful Forevers]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== How To Let Go of Insecurities 7 Steps To Build Your Confidence ==
 
 
Self-worth comes from one thing thinking that you are worthy. Wayne DyerIts okay to have insecurities, we all do and its crucial for us to observe and understand the impact these insecurities have on the quality of our lives.
 
 
[[http://goodvillenews.com/How-To-Let-Go-of-Insecurities-7-Steps-To-Build-Your-Confiden-APt.html How To Let Go of Insecurities 7 Steps To Build Your Confidence]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Mr. Happy Man ==
 
 
For six hours each day, Bermudas Johnny Barnes stands at a busy traffic intersection telling all who pass that he loves them. His delight and sincerity are infectious, and the people of the island love him back. His service is a simple reminder of the power of happiness and loving-kindness to change any day for the better
 
 
[[http://goodvillenews.com/Mr-Happy-Man-VDrbVr.html Mr. Happy Man]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== The World Waits For You ==
 
 
Its so easy to give up on our dreams; its so easy to do what everybody expects us to be doing; its so easy to blend in, to be like everybody else, just another person in the crowd, having nothing interested to say, nothing interesting to show, nothing interesting to share with the world. Its so easy to stay in our comfort zone, away from our doubts, fears and worries; away from change and all that is unfamiliar; away from growth and evolution; away from all the opportunities life has to offer us; away from all that is beautiful, empowering and great away from life.
 
 
[[http://goodvillenews.com/The-World-Waits-For-You-0I7WPz.html The World Waits For You]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 

Revision as of 07:08, 30 July 2012

When compiling, you may get an error message such as

FieldWorks/Src/Cellar/FwXmlData.cpp:25: undefined reference to `__interface_traits<FwXmlData>::uuid'

It's confused at the usage of CLSID_FwXmlData. If you inspect the FieldWorks/Output/Common/FwCellarTlb.h, you will see

#define CLSID_FwXmlData __uuidof(FwXmlData)

To define the needed GUID-class association, you could use a line such as

template<> const GUID __uuidof(FwXmlData)("2F0FCCC2-C160-11d3-8DA2-005004DEFEC4");

But in this case, the GUID definition should get generated by processing the FwCellarTlb.h file.

Process FooTlb.h

Currently (20070411), extract_iids.sh is in COM/test.

FieldWorks/Output/Common$ extract_iids.sh FwCellarTlb.h > ../../Src/Cellar/Cellar_GUIDs.cpp

The build process will do this automatically in the future.