Click here to Skip to main content
15,886,137 members
Home / Discussions / COM
   

COM

 
QuestionControl Pin
rahultaing5-May-06 17:36
rahultaing5-May-06 17:36 
AnswerRe: Control Pin
Laxman Auti5-May-06 19:22
Laxman Auti5-May-06 19:22 
GeneralRe: Control Pin
rahultaing5-May-06 19:52
rahultaing5-May-06 19:52 
AnswerRe: Control Pin
Laxman Auti5-May-06 20:05
Laxman Auti5-May-06 20:05 
QuestionConnection Points and .NET Pin
MariusMatioc5-May-06 8:28
MariusMatioc5-May-06 8:28 
QuestionCOM Material need? Pin
raghuji.rao4-May-06 17:40
raghuji.rao4-May-06 17:40 
AnswerRe: COM Material need? Pin
User 2155975-May-06 15:46
User 2155975-May-06 15:46 
QuestionOle DB for OLAP Pin
Tarek Jabri4-May-06 4:46
Tarek Jabri4-May-06 4:46 
I am trying to connect to MDP provider using
OLE DB For OLAP following these steps:
1-i'v got the List of providers..and choose one of them
2-i called ParseDisplayName() ,..the i called BindMoniker() method as written in the code below...
3-When i Call ppIDBInitialize->Initialize(); ..i got Access voilation exception
can any one help me please....
Here is the code:

ULONG chEaten = 0;
hr = pIParseDisplayName->ParseDisplayName(pIBindCtx,rgEnumInfo[i].wszParseName, &chEaten, &pIMoniker);
ppIDBInitialize=NULL;
hr = BindMoniker(pIMoniker, 0, IID_IUnknown,(void**)&ppIDBInitialize);

rgProps[0].dwPropertyID = DBPROP_INIT_LOCATION;
rgProps[0].vValue.vt  = VT_BSTR;
rgProps[0].vValue.bstrVal  =  SysAllocString(L"server");

rgProps[1].dwPropertyID = DBPROP_INIT_DATASOURCE;
rgProps[1].vValue.vt  = VT_BSTR;
rgProps[1].vValue.bstrVal  = SysAllocString(L"FoodMart 2000");

rgProps[2].dwPropertyID = DBPROP_AUTH_INTEGRATED;
rgProps[2].vValue.vt  = VT_BSTR;
rgProps[2].vValue.bstrVal  = SysAllocString(L"SSPI");

// Create the structure containing the properties.
DBPROPSET PropSet;
PropSet.rgProperties      = rgProps;
PropSet.cProperties       = 3;
PropSet.guidPropertySet   = DBPROPSET_DBINIT;

IDBProperties *pIDBProperties=NULL;

// create properties pointer
hr=ppIDBInitialize->QueryInterface(IID_IDBProperties,(void**)&pIDBProperties);

// Set properties
hr=pIDBProperties->SetProperties(1, &PropSet);

// Initialize the data source object.
 hr = ppIDBInitialize->Initialize();   // Access voilation exception

Questionregsvr32 Keeps Respawing itself Pin
#realJSOP4-May-06 4:45
mve#realJSOP4-May-06 4:45 
QuestionRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz4-May-06 11:52
Roger Stoltz4-May-06 11:52 
AnswerRe: regsvr32 Keeps Respawing itself Pin
#realJSOP7-May-06 23:45
mve#realJSOP7-May-06 23:45 
AnswerRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 4:36
mve#realJSOP8-May-06 4:36 
GeneralRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz8-May-06 5:07
Roger Stoltz8-May-06 5:07 
GeneralRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 5:13
mve#realJSOP8-May-06 5:13 
GeneralRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz8-May-06 5:26
Roger Stoltz8-May-06 5:26 
GeneralRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 8:24
mve#realJSOP8-May-06 8:24 
AnswerRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz8-May-06 21:23
Roger Stoltz8-May-06 21:23 
GeneralRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 23:33
mve#realJSOP8-May-06 23:33 
GeneralRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz9-May-06 1:04
Roger Stoltz9-May-06 1:04 
QuestionDifference between COM and ATLCOM Pin
Laxman Auti4-May-06 3:00
Laxman Auti4-May-06 3:00 
AnswerRe: Difference between COM and ATLCOM Pin
guestcat4-May-06 3:34
guestcat4-May-06 3:34 
GeneralRe: Difference between COM and ATLCOM Pin
Laxman Auti4-May-06 4:27
Laxman Auti4-May-06 4:27 
AnswerRe: Difference between COM and ATLCOM Pin
Roger Stoltz4-May-06 12:08
Roger Stoltz4-May-06 12:08 
GeneralRe: Difference between COM and ATLCOM Pin
Laxman Auti5-May-06 3:53
Laxman Auti5-May-06 3:53 
QuestionGetting a link time error Pin
leanmean4-May-06 0:49
leanmean4-May-06 0:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.