Thank you very much, reza_shnia!
I mean...
In krpano 1.16.9 and earlier version, there are tow programs, such as "kmakemultires.exe" and "kencrypt.exe".
I can operated all droplet.bat by asp with aspexec.dll [include "MAKE PANO (MULTIRES) droplet.bat" and "ENCRYPTXML.bat"],
In krpano 1.19.x there are tow programs too, such as "krpanotools32.exe" and "krpanotools64.exe", they are the same function actually .
So I just operate the droplet.bat for makepano [MAKE PANO (MULTIRES) droplet.bat] but don't the droplet.bat for encrypt [ENCRYPT XML droplet.bat] by asp with aspexec.dll . in other words, I can make panos but don't encrypt xml files.
This is my code sample by asp(in krpano 1.19.x):
1, for make panos
|
Source code
|
1
2
3
4
5
6
7
8
9
10
|
<%
dim aspexe,strResult
set aspexe = server.createObject("aspexec.execute")
aspexe.application = "full\path\to krpanotools\MAKE PANO (MULTIRES) droplet.bat "
aspexe.parameters = "full\path\to myproject\panoroma.jpg"
aspexe.showwindow = true
response.write("try to running the program:"&aspexe.application&"<br>")
strResult = aspexe.ExecuteWinApp
response.write(strResult)
%>
|
the Result for make panos are "Ok"
2, for encrypt
|
Source code
|
1
2
3
4
5
6
7
8
9
10
|
<%
dim aspexe,strResult
set aspexe = server.createObject("aspexec.execute")
aspexe.application = "full\path\to krpanotools\ENCRYPT XML droplet.bat "
aspexe.parameters = "full\path\to myproject\tour\tour.xml"
aspexe.showwindow = true
response.write("try to running the program:"&aspexe.application&"<br>")
strResult = aspexe.ExecuteWinApp
response.write(strResult)
%>
|
the Result for encrypt is "Not"
I need the solution for ENCRYPT my xml file.
Regards