Click here to Skip to main content
15,893,161 members
Home / Discussions / COM
   

COM

 
QuestionPassing interface as parameters of functions Pin
nripun21-Feb-06 23:51
nripun21-Feb-06 23:51 
AnswerRe: Passing interface as parameters of functions Pin
Malli_12322-Feb-06 0:03
Malli_12322-Feb-06 0:03 
GeneralRe: Passing interface as parameters of functions Pin
nripun22-Feb-06 1:02
nripun22-Feb-06 1:02 
Questionhow to get the selected files name during Drag&Drop's mouse moving process Pin
welli21-Feb-06 21:28
welli21-Feb-06 21:28 
QuestionIE Toolbar (Toolband) Pin
vaughandaly21-Feb-06 20:49
vaughandaly21-Feb-06 20:49 
QuestionIDispatch and bookmarks in word Pin
lparsonson21-Feb-06 4:37
lparsonson21-Feb-06 4:37 
QuestionConnecting to a running IE COM instances. Pin
TClarke21-Feb-06 3:42
TClarke21-Feb-06 3:42 
QuestionAccess violation in ADODB::Connection Pin
Dyrl20-Feb-06 7:13
Dyrl20-Feb-06 7:13 
I´m working with a template using ADO inside a Windows Service to connect to an SQL Server but I´m getting an "access violation". The following is part of the code that:

#import "C:\Program Files\Common Files\System\ADO\msado15.dll" rename("EOF", "EndOfFile")
#import "C:\Program Files\Common Files\System\ado\MSJRO.DLL" no_namespace

typedef ADODB::_RecordsetPtr RecPtr;
typedef ADODB::_ConnectionPtr CnnPtr;

....
CnnPtr m_Cnn;

HRESULT hr;
hr = m_Cnn.CreateInstance( __uuidof( ADODB::Connection ) );
m_Cnn->Open(CnnStr, UserName, Pwd, NULL); <--- I´m getting the error here


Does any one have a clue on how to solve the problem?
Thanks,
Adrian
AnswerRe: Access violation in ADODB::Connection Pin
lparsonson21-Feb-06 4:35
lparsonson21-Feb-06 4:35 
GeneralRe: Access violation in ADODB::Connection Pin
Dyrl21-Feb-06 8:48
Dyrl21-Feb-06 8:48 
GeneralRe: Access violation in ADODB::Connection Pin
lparsonson21-Feb-06 22:39
lparsonson21-Feb-06 22:39 
QuestionAcitveX component, "off form", like the timer Pin
david_reynolds19-Feb-06 14:37
david_reynolds19-Feb-06 14:37 
Questionhow to load xml schema from resource? Pin
dolph_loe19-Feb-06 10:32
dolph_loe19-Feb-06 10:32 
Questionocx replace Pin
mahmoodi18-Feb-06 20:29
mahmoodi18-Feb-06 20:29 
QuestionBindToStorage HRESULT fails while using IPropertyBag2 Pin
nripun18-Feb-06 3:48
nripun18-Feb-06 3:48 
AnswerRe: BindToStorage HRESULT fails while using IPropertyBag2 Pin
mbue18-Feb-06 21:18
mbue18-Feb-06 21:18 
QuestionEvent Notification using Windows MAnagement Instrumentation Pin
abhiramsss17-Feb-06 1:14
abhiramsss17-Feb-06 1:14 
AnswerRe: Event Notification using Windows MAnagement Instrumentation Pin
oshah20-Feb-06 3:11
oshah20-Feb-06 3:11 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
abhiramsss21-Mar-06 21:18
abhiramsss21-Mar-06 21:18 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
oshah22-Mar-06 1:03
oshah22-Mar-06 1:03 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
abhiramsss2-Apr-06 23:37
abhiramsss2-Apr-06 23:37 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
abhiramsss5-Apr-06 19:21
abhiramsss5-Apr-06 19:21 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
abhiramsss22-May-06 19:17
abhiramsss22-May-06 19:17 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
oshah23-May-06 6:42
oshah23-May-06 6:42 
GeneralRe: Event Notification using Windows MAnagement Instrumentation Pin
abhiramsss28-May-06 23:36
abhiramsss28-May-06 23:36 

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.