AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

EAccessViolation mögliche Ursachen

Ein Thema von michael-calvin · begonnen am 6. Nov 2002 · letzter Beitrag vom 24. Aug 2004
 
michael-calvin

Registriert seit: 6. Nov 2002
4 Beiträge
 
#6

hab was gutes dazu gefunden ! http://www.devexpress.com/prod

  Alt 7. Nov 2002, 20:46
How do I eliminate the "CoInitialize has not been called" error?

COM libraries can be picky about when CoInitialize is called. In order to guarantee it is initialized at the proper time, use the following unit (save it as ComInit.pas):
Delphi-Quellcode:
unit ComInit;

interface

uses
  ActiveX;

implementation

initialization
  CoInitializeEx(nil,COINIT_MULTITHREADED);
finalization
  CoUninitialize;
end.
Make sure this is the first unit listed in the “uses” statement of your .DPR file. For example:
Delphi-Quellcode:
uses
  ComInit in 'ComInit.pas',
  WebBroker,
  ApacheApp,
  dMain in 'dMain.pas{dmMain: TcxWebHomeDataModule},
  wMain in 'wMain.pas{wpmMain: TcxWebPageModule} {*.html};
http://www.devexpress.com/products/vcl/ewf/faq.asp
[edit=FuckRacism]Code Syntax eingefügt; das geht mit [*code] [*/code] halt ohne den *[/edit]
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:39 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz