AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi MapDebugInformation und Windows 7 = Fehler
Thema durchsuchen
Ansicht
Themen-Optionen

MapDebugInformation und Windows 7 = Fehler

Ein Thema von himitsu · begonnen am 10. Dez 2009 · letzter Beitrag vom 10. Dez 2009
Antwort Antwort
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#1

MapDebugInformation und Windows 7 = Fehler

  Alt 10. Dez 2009, 12:01
Mahlzeit,

wie erade auffiehl, lößt MSDN-Library durchsuchenMapDebugInformation unter Windows 7 einfach so eine Exception aus.
Konnte es jetzt erstmal schnell in einer Win7-32-VM auf diese Funktion reduzieren.

dInfo := MapDebugInformation(0, PChar(FileName), nil, 0); Quelle: http://www.delphipraxis.net/internal...109316#1109316

Weiß da zufällig wer Rat?
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat
Benutzerbild von Mithrandir
Mithrandir
(CodeLib-Manager)

Registriert seit: 27. Nov 2008
Ort: Delmenhorst
2.379 Beiträge
 
#2

Re: MapDebugInformation und Windows 7 = Fehler

  Alt 10. Dez 2009, 12:20
Vielleicht hängt es zusammen mit:
Zitat:
Note
This function is provided only for backward compatibility. It does not return reliable information. New applications should use the SymGetModuleInfo64 and SymLoadModule64 functions.
Wobei SymLoadModule64 schon von SymLoadModuleEx abgelöst wurde.

Dann schmeiß ich auch das nochmal in Raum:
Zitat:
All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
Und schließlich bleibt noch zu sagen, dass ich Version 6.1 der Datei auf der Platte habe...
米斯蘭迪爾
"In einer Zeit universellen Betruges wird das Aussprechen der Wahrheit zu einem revolutionären Akt." -- 1984, George Orwell
  Mit Zitat antworten Zitat
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#3

Re: MapDebugInformation und Windows 7 = Fehler

  Alt 10. Dez 2009, 12:28
ups, das hab ich ganz übersehn
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat
Antwort Antwort


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:58 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz