Click here to Skip to main content
14,599,610 members
   

COM

 
QuestionControl Pin
rahultaing5-May-06 17:36
Memberrahultaing5-May-06 17:36 
AnswerRe: Control Pin
Laxman Auti5-May-06 19:22
MemberLaxman Auti5-May-06 19:22 
GeneralRe: Control Pin
rahultaing5-May-06 19:52
Memberrahultaing5-May-06 19:52 
AnswerRe: Control Pin
Laxman Auti5-May-06 20:05
MemberLaxman Auti5-May-06 20:05 
QuestionConnection Points and .NET Pin
MariusMatioc5-May-06 8:28
MemberMariusMatioc5-May-06 8:28 
QuestionCOM Material need? Pin
raghuji.rao4-May-06 17:40
Memberraghuji.rao4-May-06 17:40 
AnswerRe: COM Material need? Pin
Sohailk5-May-06 15:46
MemberSohailk5-May-06 15:46 
QuestionOle DB for OLAP Pin
Tarek Jabri4-May-06 4:46
MemberTarek 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
mva#realJSOP4-May-06 4:45 
QuestionRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz4-May-06 11:52
MemberRoger Stoltz4-May-06 11:52 
AnswerRe: regsvr32 Keeps Respawing itself Pin
#realJSOP7-May-06 23:45
mva#realJSOP7-May-06 23:45 
AnswerRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 4:36
mva#realJSOP8-May-06 4:36 
GeneralRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz8-May-06 5:07
MemberRoger Stoltz8-May-06 5:07 
GeneralRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 5:13
mva#realJSOP8-May-06 5:13 
GeneralRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz8-May-06 5:26
MemberRoger Stoltz8-May-06 5:26 
GeneralRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 8:24
mva#realJSOP8-May-06 8:24 
AnswerRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz8-May-06 21:23
MemberRoger Stoltz8-May-06 21:23 
GeneralRe: regsvr32 Keeps Respawing itself Pin
#realJSOP8-May-06 23:33
mva#realJSOP8-May-06 23:33 
GeneralRe: regsvr32 Keeps Respawing itself Pin
Roger Stoltz9-May-06 1:04
MemberRoger Stoltz9-May-06 1:04 
QuestionDifference between COM and ATLCOM Pin
Laxman Auti4-May-06 3:00
MemberLaxman Auti4-May-06 3:00 
AnswerRe: Difference between COM and ATLCOM Pin
guestcat4-May-06 3:34
Memberguestcat4-May-06 3:34 
GeneralRe: Difference between COM and ATLCOM Pin
Laxman Auti4-May-06 4:27
MemberLaxman Auti4-May-06 4:27 
AnswerRe: Difference between COM and ATLCOM Pin
Roger Stoltz4-May-06 12:08
MemberRoger Stoltz4-May-06 12:08 
GeneralRe: Difference between COM and ATLCOM Pin
Laxman Auti5-May-06 3:53
MemberLaxman Auti5-May-06 3:53 
QuestionGetting a link time error Pin
leanmean4-May-06 0:49
Memberleanmean4-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.