Hi,
Also ich bekomme jetzt beim starten meines Programms einen Runtime Error... Ich habs so gemacht:
MeinProgramm.exe.manifest
Zitat:
<?
xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-
com:
asm.v1" manifestVersion="1.0">
<assemblyIdentity
name="Firmenname.Programmname"
processorArchitecture="x86"
version="1.0.0.0"
type="
win32"/>
<description>Programmbeschreibung</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="
win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
(Habe mal alles erstmal so übernommen...)
manifest.rc:
Zitat:
1 24 MeinProgramm.exe.manifest
Jetzt habe ich meine manifest.res die ich dann so in mein Programm einbinde:
{$R manifest.res}
in einer
Unit die in mein Projekt eingebunden ist steht außerdem folgendes:
Delphi-Quellcode:
procedure InitCommonControls; stdcall; external 'comctl32.dll';
initialization
InitCommonControls;
Zitat:
---------------------------
Error
---------------------------
Runtime error 216 at FFFF0A51
---------------------------
OK
---------------------------
Was mache ich da denn falsch? ...
Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."