Click here to Skip to main content
15,892,674 members

Comments by sandeepyes (Top 3 by date)

sandeepyes 8-Aug-14 5:47am View    
oh sorry, I just put those 0,1 as example. My question is what is the difference if the name ABCD comes before and after the braces.

mean to say what is the difference between
typedef enum ABCD{
RED,
WHITE
};

and
typedef enum{
RED,
WHITE
}ABCD;
sandeepyes 27-Dec-12 22:51pm View    
I dont think its the problem with the type or variable. In Visual Studio its saying "CComPtr" is undefined, one of my friend told that the header files and their classes and functions are not loaded, so its not recognizing those keywords.
and the declaration is
CComPtr< IDispatch> spDoc;
I have used the source code from
http://www.codeproject.com/Articles/2352/JavaScript-call-from-C
I have included files WebPage.h and WebPage.cpp from above link for my project and facing the problem.
sandeepyes 27-Dec-12 8:39am View    
IDispatch