Autor Beitrag
Maggi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 160

WIN XP, WIN 2003
D5 Enter D 2006
BeitragVerfasst: Mi 04.09.02 12:52 
Hallöle,

ich habe da mal eine kleine Frage. Wenn ich ein Programm mit Shellexecute aufrufe und Parameter übergeben möchte, bin ich da an Grenzen gebunden, oder kann ich beliebig viele Parameter übergeben??

Maggi :?:

Es gibt Sachen die gibt es nicht!!!
OregonGhost
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 215



BeitragVerfasst: Mi 04.09.02 19:49 
Microsoft hat folgendes geschrieben:
lpParameters is a pointer to a null-terminated string that specifies the parameters to be passed to the application

Nullterminierter String, gell? Kann also ziemlich lang sein (in Win64 16 TeraByte (c; ). Laut PSDK gilt keine Beschränkung, also... probier doch mal, das typische Limit von 65536 zu überschreiten - wenn das geht, sollte das wohl wirklich beliebig sein.

_________________
Oregon Ghost
---
Wenn NULL besonders groß ist, ist es fast schon wie ein bisschen eins.