Click here to Skip to main content
11,415,025 members (66,198 online)
   

Database

 
GeneralRe: Row ID after INSERT to database Pin
Abyss24-Mar-05 4:45
memberAbyss24-Mar-05 4:45 
GeneralRe: Row ID after INSERT to database Pin
Jeff Martin24-Mar-05 5:08
memberJeff Martin24-Mar-05 5:08 
QuestionColin Angus Mackay ???? Pin
WDI22-Mar-05 10:11
sussWDI22-Mar-05 10:11 
AnswerRe: Colin Angus Mackay ???? Pin
Jeff Martin22-Mar-05 10:57
memberJeff Martin22-Mar-05 10:57 
GeneralRe: Colin Angus Mackay ???? Pin
WDI22-Mar-05 11:34
sussWDI22-Mar-05 11:34 
QuestionColin Angus Mackay ???? Pin
WDI22-Mar-05 10:08
sussWDI22-Mar-05 10:08 
AnswerRe: Colin Angus Mackay ???? Pin
David Rawheiser23-Mar-05 10:18
sussDavid Rawheiser23-Mar-05 10:18 
GeneralSql stored procedure vs triggers vs functions Pin
jinnyb22-Mar-05 6:55
memberjinnyb22-Mar-05 6:55 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
Colin Angus Mackay22-Mar-05 8:13
memberColin Angus Mackay22-Mar-05 8:13 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
jinnyb22-Mar-05 10:34
memberjinnyb22-Mar-05 10:34 
GeneralRe: Sql stored procedure vs triggers vs functions Pin
Edbert P.22-Mar-05 19:53
memberEdbert P.22-Mar-05 19:53 
GeneralADO inside win32 services goes boom Pin
Peter Mares22-Mar-05 4:08
memberPeter Mares22-Mar-05 4:08 
GeneralRe: ADO inside win32 services goes boom Pin
Chris Austin22-Mar-05 18:25
memberChris Austin22-Mar-05 18:25 
GeneralRe: ADO inside win32 services goes boom Pin
Peter Mares22-Mar-05 20:51
memberPeter Mares22-Mar-05 20:51 
Hey, thanks for the reply.

I found the problem. When running under the SCM as a service, the SCM obviously takes the "entry point" nominated in the dispatch table that is passed into StartServiceCtrlDispatcher( ) and puts it into another thread. Since I was calling CoInitialize BEFORE this, COM never got initialized, or so it seemed. Simply putting CoInitialize into the entry point function sorted me out.

As an aside, I am slightly curious why, before the fix, calls the ADO Connection::Open( ) function SUCCEEDED and the CreateInstance( ) function returned what seems to be a valid interface pointer to the Connection object - weird.

Anyhow, atleast its sorted out Big Grin | :-D

Thanks,
Peter


controlSHIFT
[Glossary Manager] [AfterThought Backup Lite]

All good things were meant to be improved
GeneralQuery Date Field Type In Access Pin
Ajibawo22-Mar-05 1:16
memberAjibawo22-Mar-05 1:16 
GeneralRe: Query Date Field Type In Access Pin
Colin Angus Mackay22-Mar-05 8:14
memberColin Angus Mackay22-Mar-05 8:14 
GeneralRe: Query Date Field Type In Access Pin
Edbert P.22-Mar-05 19:55
memberEdbert P.22-Mar-05 19:55 
GeneralRe: Query Date Field Type In Access Pin
Ajibawo22-Mar-05 23:09
memberAjibawo22-Mar-05 23:09 
GeneralRe: Query Date Field Type In Access Pin
Edbert P.23-Mar-05 12:07
memberEdbert P.23-Mar-05 12:07 
GeneralPackage And Deployment Wizard Pin
Salman.21-Mar-05 23:48
memberSalman.21-Mar-05 23:48 
GeneralRe: Package And Deployment Wizard Pin
rwestgraham22-Mar-05 11:58
memberrwestgraham22-Mar-05 11:58 
Generaldataset or datareader Pin
jinnyb21-Mar-05 21:41
memberjinnyb21-Mar-05 21:41 
GeneralRe: dataset or datareader Pin
Colin Angus Mackay21-Mar-05 22:03
memberColin Angus Mackay21-Mar-05 22:03 
QuestionWhich is faster? Pin
Yulianto AKA goodmast3r21-Mar-05 16:16
memberYulianto AKA goodmast3r21-Mar-05 16:16 
AnswerRe: Which is faster? Pin
Christian Graus21-Mar-05 16:32
memberChristian Graus21-Mar-05 16:32 
GeneralViewing stored procedures Pin
Its due when21-Mar-05 3:58
memberIts due when21-Mar-05 3:58 
GeneralRe: Viewing stored procedures Pin
Colin Angus Mackay21-Mar-05 4:09
memberColin Angus Mackay21-Mar-05 4:09 
GeneralRe: Viewing stored procedures Pin
Scott Serl21-Mar-05 11:22
memberScott Serl21-Mar-05 11:22 
Generaldiff between managed providers and ole-db provider Pin
satishrg20-Mar-05 20:16
membersatishrg20-Mar-05 20:16 
GeneralRe: diff between managed providers and ole-db provider Pin
Colin Angus Mackay21-Mar-05 4:12
memberColin Angus Mackay21-Mar-05 4:12 
Generalthank you very much Pin
satishrg21-Mar-05 11:48
membersatishrg21-Mar-05 11:48 
GeneralMSDE won't install Pin
Christian Graus20-Mar-05 18:36
memberChristian Graus20-Mar-05 18:36 
GeneralDB Small Footprint (Access? Firebird?) Pin
Dato20-Mar-05 8:19
memberDato20-Mar-05 8:19 
GeneralRe: DB Small Footprint (Access? Firebird?) Pin
salsafyren221-Mar-05 1:08
membersalsafyren221-Mar-05 1:08 
GeneralRe: DB Small Footprint (Access? Firebird?) Pin
Luis Alonso Ramos23-Mar-05 21:43
memberLuis Alonso Ramos23-Mar-05 21:43 
Questionsuggest me a good book ? Pin
WDI19-Mar-05 23:18
sussWDI19-Mar-05 23:18 
AnswerRe: suggest me a good book ? Pin
Andy MacAngus21-Mar-05 10:25
memberAndy MacAngus21-Mar-05 10:25 
GeneralGenericOLEDB Pin
sjurmr19-Mar-05 12:20
membersjurmr19-Mar-05 12:20 
GeneralSQL database protection Pin
Wimal Prasanna19-Mar-05 5:39
memberWimal Prasanna19-Mar-05 5:39 
GeneralRe: SQL database protection Pin
Colin Angus Mackay19-Mar-05 11:32
memberColin Angus Mackay19-Mar-05 11:32 
GeneralRe: SQL database protection Pin
Mike Dimmick20-Mar-05 0:08
memberMike Dimmick20-Mar-05 0:08 
GeneralOR mapping tools And Object Broker pattern Pin
norm19-Mar-05 3:51
membernorm19-Mar-05 3:51 
GeneralSoundex In Ado.net Dataset Search Pin
Hemant_Mane18-Mar-05 23:41
memberHemant_Mane18-Mar-05 23:41 
QuestionIIS Webhits via ADO.NET? Pin
harryteck18-Mar-05 14:39
memberharryteck18-Mar-05 14:39 
GeneralINNER JOIN Pin
HahnTech18-Mar-05 10:00
sussHahnTech18-Mar-05 10:00 
GeneralRe: INNER JOIN Pin
HahnTech18-Mar-05 11:22
memberHahnTech18-Mar-05 11:22 
QuestionCan someone give me an advise for my application's database Pin
Blue_Skye18-Mar-05 7:31
memberBlue_Skye18-Mar-05 7:31 
QuestionWhich is better on webservice? Pin
WDI18-Mar-05 1:27
sussWDI18-Mar-05 1:27 
AnswerRe: Which is better on webservice? Pin
hspc18-Mar-05 3:13
memberhspc18-Mar-05 3:13 
Generaland - or statement Pin
WDI18-Mar-05 1:20
sussWDI18-Mar-05 1:20 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150427.4 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid