[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapsearch as own process
Or, it's possible that commando isn't exactly what it should be
when you call CreateProcess(...)? Have you tried debugging and
putting some breakpoint
> char commando[100];
> strcpy(commando,".\\bin\\ldapsearch.exe -b
> \"dc=envilogg,dc=se\"
> -s base \"objectclass=*\" > d:/myldif999.ldf");
here then taking a peek at commando's value?
> CreateProcess(NULL,commando,NULL,NULL,false,0,NULL,NULL,&si,&piDelete);
On Thu, Feb 24, 2000 at 07:19:00PM +0100, Mikael wrote:
>
> Correct...but this should also apply for my other testprogram which does
> the same thing as ldapsearch when it come to writing output to a separate
> file. When I start this program with CreateProcess it works perfectly....so
>
> I was (not) hoping that it could be something with the ldapsearch project?
> Perhaps the commandoline is interpreted differently in ldapsearch?