Page 2 of 2 <12
Topic Options
#72102 - 2002-12-09 02:19 PM Re: Wkixcrypt & console
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
eh, then back again with actual question: what is the problem with me as can't make it work on simple kixweeper13.kix (from kixforms.org)
all it does is nothing... well, meaning that when output is suppressed, nothing can be seen....
_________________________
!

download KiXnet

Top
#72103 - 2002-12-09 03:41 PM Re: Wkixcrypt & console
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
quote:
eh, then back again with actual question: what is the problem with me as can't make it work on simple kixweeper13.kix (from kixforms.org)
all it does is nothing... well, meaning that when output is suppressed, nothing can be seen....

KiXcrypt (and wkixcrpt) just execute kix32.exe (or wkix32.exe) with the temporary file as a parameter, in exactly the same way as if you'd executed them from a BAT file.

Off the top of my head I can't think of anything that would cause them to fail because of the content of a script, unless there is a problem with environment space or %COMSPEC% is set to something odd.

For the purposes of debugging your problem you could try:
  • Use the "-c" flag to disable %COMSPEC% on the line.
  • Use the "-k" flag to disable the KiXtart file delete code.
  • Use the "-d" flag to confirm that the command line is what you expect.
  • See if it works with kixcrypt.exe rather than wkixcrpt.exe
  • Use a wrap-round BAT file to pause so you can see any error messages generated by the application. To do this, create a batch file which will execute the application and pause - call it "debug.bat". Now create the encrypted version using the command:
    kixcrypt -d -k debug.bat ^s
    Hopefully you should see any error messages generated by the application.

Top
#72104 - 2002-12-09 03:51 PM Re: Wkixcrypt & console
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Should see if you can flag Bryce down here - he packaged his windows Bounty Report using Kixforms and Kixcrypt and it runs a charm - don't know specifically how he did it though. Bryce ?
Top
#72105 - 2002-12-09 04:26 PM Re: Wkixcrypt & console
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Patrick,

Apologies for taking so long to answer your original question.
quote:
Running it still gives me a short console window...

Can this be prevented???

Errm, not really. I've gone into it in loads of detail before, but unfortunately the boards search mechanism is fubarred so I cannot locate previous posts.

Basically the problem is that I spawn an new process to execute the unencrypted file using the C "system()" call. This creates the console and I haven't found a way around it. I spawn a new process as I need the old one around to stick around to remove the temporary file if it is left behind for any reason.

People have got around the console appearing for KiXtart scripts by using SetConsole("HIDE") as the very first thing.

You may also be able to play with the %COMSPEC% options and/or the "start" command to minimise the time that the console window appears, but other than that I'm afraid you're stuck with it.

Unless anyone has a solution to my "system() creates console" problem? [Roll Eyes]

Top
#72106 - 2002-12-09 04:56 PM Re: Wkixcrypt & console
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Richard,

It doesn't cost us much time to find the kixcrypt reactions of you back.
We will try to make a list of URLs and add it to the main topic F2-2560.
Within 5 seconds we find over 50 topics which contains the keyword kixcrypt.
In combination with your name we find over 20 topics.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#72107 - 2002-12-09 05:11 PM Re: Wkixcrypt & console
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Hi MCA,

I searched on the word "mingw", as that is the C compiler I use and it is unlikely to turn up in anyone elses post.

I got 40+ hits which was a great surprise, but when I checked the links I discovered that the word "mingw" was nowhere to be found.

The search engine returns plenty of hits, but unfortunately they are not relevant.

Top
#72108 - 2002-12-09 05:21 PM Re: Wkixcrypt & console
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Only eight times we find this word. The topics are

KixCrypt
Test if port is listening
udfPiper() - Piping without temporary files!
Utility: KiXcrypt 2.12b - KiXtart encryption

greetings.

[ 09. December 2002, 17:21: Message edited by: MCA ]
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#72109 - 2002-12-09 05:27 PM Re: Wkixcrypt & console
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Huh [Confused]

Freaky. I still get the nonsense results.

I guess there must be something screwy with my UBB profile. I'll try tomorrow and see what happens...

Top
#72110 - 2002-12-09 05:33 PM Re: Wkixcrypt & console
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Richard,

It hasn't to deal something with your profile. We are doesn't use the search
facility of this board. With this search engine we get also a lot of garba-
ge. It aren't four topics anymore, but now we get over 60 topics as feedback.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#72111 - 2002-12-18 03:11 PM Re: Wkixcrypt & console
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Richard,

thanks for explaining. I guess I'll have to live with it...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
Page 2 of 2 <12


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 837 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.218 seconds in which 0.141 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org