Re: Multithreading Implementation

From: Mihajlo Cvetanovic (mac_at_RnEeMtOsVeEt.co.yu)
Date: 02/10/05


Date: Thu, 10 Feb 2005 18:34:06 +0100

delvsb wrote:
> We have an MFC application named [ELBook.exe]. This application will
> download all the data from the database before populating it in a Tree view.
> To download the data from database we use the functions of [CLFunc.dll]. This
> dll uses [DBAccess.exe] (a Multithreading Application) to handle all database
> processes.
>
> Since downloading the data from the database is slow we have decided to
> implement multithreading so that while populating the tree view the user can
> already interact with the UI.
>
> But the problem is that when we implement it the function of DBAccess.exe
> returns an error. When we try to investigate it in debug mode and put some
> break point inside the function of DBAccess.exe it will not enter the
> function.

This is a bit obvious, but still... Do you attach to process
DBAccess.exe? If you don't attach to it you won't be able to debug it.

IIUC, CLFunc.dll calls a function of DBAccess.exe. How is that done?



Relevant Pages

  • Multithreading Implementation
    ... download all the data from the database before populating it in a Tree view. ... To download the data from database we use the functions of. ...
    (microsoft.public.vc.mfc)
  • Re: newbie need samples --( with tip of hat to Jeff Conrad )
    ... > Where to find information about designing a database in Microsoft Access: ... > ACC2000: "Understanding Relational Database Design" ... > (See the last download titled "Understanding Normalization") ... > Security FAQ: ...
    (microsoft.public.access.dataaccess.pages)
  • Re: JTree & database: ID column ?
    ... > from database and for it I use ID1 column which is unique ... > and every number in a code represents the place in a parent node. ... And if you can construct a tree ... reverse-index is NOT an auto-inserted id value, although it has to be unique ...
    (comp.lang.java.gui)
  • Re: Parsing and storing formulas
    ... you could easily store different views/stored ... >I was wondering how I can parse a mathematical formula in a storable way. ... > be stored for in the database. ... > The second idea is to represent the formula as a tree. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Choosing the right embedded database.
    ... We want a simple database ... > Most users would download the application and data from a website via DIAL ... > access is the only real method of distribution, ... > local data store via an internet link. ...
    (borland.public.delphi.thirdpartytools.general)