Re: TAdoconnection component causes crash in my CGI webapp

From: Andrew Ryazanov (aust_at_rin.ru)
Date: 03/18/05


Date: Fri, 18 Mar 2005 22:13:01 +0300


"Andrew Ryazanov" <aust@rin.ru> wrote in message
news:423b2766@newsgroups.borland.com...
> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> news:423b03a1$1@newsgroups.borland.com...
> Perhaps you don't call CoInitialize. That's can be a reason why the app
> crashes. Call CoInitializeEx(nil,COINIT_MULTITHREADED or
> COINIT_APARTMENTTHREADED) on startup and CoUninitialize on finish.

I forgot to add, you should place them under Initialization/Finlization
section.



Relevant Pages

  • Switching for COInitialize to OleInitialize crashes app
    ... A simple WTL SDI app with the following helper class crashes after a switch ... from CoInitialize and CoUnitialize to OleInitialize and OleUninit.... ... then it doesn't crash. ...
    (microsoft.public.vc.atl)
  • Need help with GDB
    ... For some reason after days of operation, it crashes. ... The server the app is running on is a remote web server, ...
    (comp.os.linux.development.apps)
  • SHBrowseForFolder and BIF_USENEWUI
    ... I'm having an issue using SHBrowseForFolder with the BIF_USENEWUI flag. ... the pidlRoot member is set to anything other than CSIDL_DESKTOP, the app ... crashes with an application error: The memory could not be read. ... Using CoInitialize() didn't do any good either. ...
    (microsoft.public.vb.winapi)
  • Re: Opinion wanted
    ... the details including the nature of my own app (which you mischaraterized ... correct the current control (provided that control is invalid but invalid ... causes you to validate controls that have already been ... largely discreditted for good reason and has very little use these days. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: edit & continue
    ... > and just run the app in the dubugger to test it. ... there is little realistic way to perform unit tests, ... > solid reason, "If I encounter a simple mistake I can fix it without ... > practice talk that only seems to apply if you are following a certain ...
    (microsoft.public.dotnet.languages.csharp)