hallo,
nachdem ich auf is 11 prof umgestiegen bin und jetzt anfange die is-scripte anzupassen, bekomme ich beim kompolieren die fehlermeldung:
Fehler C8014 `STARUPINFO`:identifier bereits definiert.
Problem:
ich habe in dem script:
<LaunchAppEx.h> den aufruf typedef STARTUPINFO - nur dort.
denn unter 6.10 funktioniert es problemlos.
wobei ich ja erst am anfang bin ...
die gleiche fehlermeldung bekomme ich übrigends im selben script
für einen danach kommenden typedef ebenfalls.
-------------------------
.
.
.
#ifndef _LAUNCHAPPEX_H
#define _LAUNCHAPPEX_H
#ifndef STILL_ACTIVE
#define STILL_ACTIVE 0x00000103
#endif
#if _ISCRIPT_VER < 0x600
#ifndef BYVAL
#define BYVAL
#endif
#endif
prototype _LaunchAppEx(STRING, STRING, NUMBER, NUMBER, NUMBER, BYREF NUMBER);
prototype BOOL kernel32.CreateProcessA(POINTER, BYVAL STRING, POINTER,
POINTER, BOOL, NUMBER, POINTER, POINTER, POINTER,
POINTER);
prototype BOOL kernel32.GetExitCodeProcess(NUMBER, POINTER);
prototype NUMBER kernel32.WaitForSingleObject(NUMBER, NUMBER);
typedef STARTUPINFO
begin
NUMBER cb;
POINTER lpReserved;
POINTER lpDesktop;
POINTER lpTitle;
NUMBER dwX;
NUMBER dwY;
NUMBER dwXSize;
NUMBER dwYSize;
NUMBER dwXCountChars;
NUMBER dwYCountChars;
NUMBER dwFillAttribute;
NUMBER dwFlags;
// the following is actually two words, but we know
// we want 0 as the value, so we cheat & create one NUMBER
NUMBER wShowWindow;
//WORD cbReserved2;
POINTER lpReserved2;
HWND hStdInput;
HWND hStdOutput;
HWND hStdError;
end;
typedef PROCESS_INFORMATION
begin
NUMBER hProcess;
HWND hThread;
NUMBER dwProcessId;
NUMBER dwThreadId;
end;
#endif
.
.
.
-------------------------
kann mir hierzu jemand eine hilfestellung geben - oder noch besser eine lösung??
thx
ngk1968
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Migration von IS 6.1 Prof nach IS 11 Prof
Started by
ngk1968
, Nov 23 2005 14:29
2 replies to this topic
Posted 26 November 2005 - 11:54
IS 11 hat eine neue Implementierung der LaunchAppAndWait Funktion (die vermutlich sogar teilweise auf LaunchAppEx basiert). Deshalb sind in dieser Version schon die entsprechenden Protoypen und typedefs drin. Ich empfehle, den LaunchAppEx Aufruf durch LaunchAppAndWait zu ersetzen.
Stefan Krüger
InstallSite.org twitter facebook