AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein GUI-Design mit VCL / FireMonkey / Common Controls Delphi Was heisst Fensterhandle des OLE Elements nicht verfügbar
Thema durchsuchen
Ansicht
Themen-Optionen

Was heisst Fensterhandle des OLE Elements nicht verfügbar

Ein Thema von bundy · begonnen am 20. Nov 2006 · letzter Beitrag vom 30. Sep 2008
 
acadam71

Registriert seit: 3. Jan 2006
8 Beiträge
 
#9

Re: Was heisst Fensterhandle des OLE Elements nicht verfügba

  Alt 30. Sep 2008, 13:31
Hier mal eine Info von RemObjects bzgl. der Unit uROComInit, (der letzte Abschnitt ist der wichtigste)

Overview

Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required.
Usage

RemObjects SDK uses MSSQL which depends on COM to work so CoInitializeEx has to be called for RO server applications to function. CoInitializeEx is used to initialize COM in a multithreaded environment. By default the templates use uROCOMInit has which calls this function, so COM is already initialized in most cases howeverusing CoInitializeEx has known disadvantages:

Clipboard stops working
Drag and drop operations can't be accepted
Object linking and embedding (OLE) doesn't work
Shell dialogs (Open/Save) don't open

All these things require OleInitialize to be called in the main thread, instead of CoInitializeEx and require Single Thread Apartment. If your application need any of the above functionality you will have to remove the uROComInit reference from your project and initialize/deinitialize COM in ever thread that requires it.
  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 11:45 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