Problems with Write to File in WIndows?

2025-03-05 Thread Bob Sneidar via use-livecode
Hi all. 

I am having a serious issue here with Write to file. I have this snippet of 
code running in a repeat loop in Windows. 

  -- if no errors then write file to disk
  if pDataA [tKey] ["message"] is empty then
 open file tFullPath for binary write
 write tFileData to file tFullPath
 put the result into tResult
 close file tFullPath
 wait 100 milliseconds with messages
 if not there is a file tFullpath then \
   breakpoint
 if tResult is empty then
put "SUCCESS! File transferred." into pDataA [tKey] ["message"]
put tFilePath into pDataA [tKey] ["rfafilepath"]
 else 
put true into pDataA ["error"]
put tResult into pDataA [tKey] ["message"]
 end if
  else
 breakpoint
  end if

The code never breaks at the breakpoints, but if I go back and look for the 
files, only the folders exist, NOT the files I wrote! Note that I check for the 
existence of the file and breakpoint if it doesn’t exist, and it doesn’t break, 
meaning the file exists, but it isn’t there! 

The crazy thing is if I go back through the same set of files and step through 
the code in the loop ALL THE FILES END UP BEING SAVED!

Is there some kind of timing issue here?

Bob S

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Code signing on Windows

2025-03-05 Thread Marty Knapp via use-livecode
Just had to renew my code signing certificate for Windows. Used K Soft as 
before but the certificate came from Sectigo (dang expensive) and came on a USB 
dongle. I exported the certificate so I could use my automated setup using Inno 
setup and the K Sign app which worked great before. Can’t get it to work. 
Anybody gone down this road? Tech support seems to be non-existent from either 
Sectigo or K Soft.

---
Marty Knapp

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Code signing on Windows

2025-03-05 Thread Tom Glod via use-livecode
Hey Martin.. I went with Signpath.com a saas for signing software.
Its cheaper than doing what you are doing, and it works so nice, you upload
your files and get back signed files with your cert from GlobalSign.
I wish i could help, but this stuff was just beyond what I wanted to deal
with.
If anyone goes with them, tell em I sent you.
Good luck Martin.

On Wed, Mar 5, 2025 at 6:57 PM Marty Knapp via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just had to renew my code signing certificate for Windows. Used K Soft as
> before but the certificate came from Sectigo (dang expensive) and came on a
> USB dongle. I exported the certificate so I could use my automated setup
> using Inno setup and the K Sign app which worked great before. Can’t get it
> to work. Anybody gone down this road? Tech support seems to be non-existent
> from either Sectigo or K Soft.
>
> ---
> Marty Knapp
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode