Error on _CommandPtr->Execute

From: Micobo (Micobo_at_discussions.microsoft.com)
Date: 10/25/04


Date: Mon, 25 Oct 2004 01:47:04 -0700

Hi,
I made a dll uses MFC in shared Dll, this library shows some methods to
retrieve data from my Excel files with ado query. I test this library with
console application and all my queries work fine.
Now, I create a new COM dll with ATL object. this new dll depends to my
"data dll" and exposes some methods. When I Test this COM dll in VB6.0
application, I get an 0x80004005 error when I execute query on _CommandPtr.
the code of my data dll is the same. Why my query works when I test it with
a console application and doesn't work when it called by My COM dll ?
Is there any conflict ?
Please, it's very urgent, can you help me ?



Relevant Pages

  • Re: Multiple DLL, multiple THREADS, multiple applications or something else?
    ... Once DLL is loaded and serial port opened and DLL left in its own ... especially if you re-use the buffers by ... > respond to query from devices on serial port) on a notify base ... ...
    (borland.public.delphi.language.objectpascal)
  • Re: low virtual memory
    ... Dll to query this database and retrieve each record. ... my computer is low on virtual memory and needs to be increased. ... is i am not able to release COM pointers. ... Does your DLL by chance use ADO's GetRows method to fetch the records? ...
    (microsoft.public.vc.atl)
  • Re: DoCmd.GotoRecord in Access97 vs. Access 2000
    ... > the DLL files from 2000 machine to your NT machine and register the DLL ... > open the Query by itself and see if an empty row button is ... You can also check whether the NewRec button in the ... user opens the application, then I cannot go to a new record. ...
    (microsoft.public.access.formscoding)
  • Circular Reference Problem
    ... I am here with a Query and need a Solution for it. ... We have 3 Projects in a Solution - Say UI, CMN and PRD ... Now we are in a Need to Use PRD Dll in CMN which results in Circular ... So We need a Solution to Avoid Circular Reference Problem Since as our ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Ich krieg die Krise mit IF..THEN oder CASE
    ... Dabei handelt es sich um eine DLL die für das Debuggen via Query ... Analyzer usw. benötigt wird. ... Visual Studio Versionen verwendet. ...
    (microsoft.public.de.sqlserver)