Reply to Re: Awards: July DOTM Results
If you don't have an account, just leave the password field blank.
That's what I did before. I used the ShellExecute function. I didn't like to do that, because it called an external program, and the eventual errors couldn't be handled by my application. Now, I managed to solve this: I created a .dll from Compress.c, using C++ Builder, and use it in my application. It works. I also managed to do the registry thingy.
Now, a weird bug occured: when I start my program from command prompt, with a script as a parameter, or just drag the script into it, from windows explorer, it works fine. But when I try to open a script directly(after DinkCEditor has been set as default application), ParamStr(1) won't work anymore. The weird thing is that it worked fine in these conditions in the old version. Any sugestions?
Now, a weird bug occured: when I start my program from command prompt, with a script as a parameter, or just drag the script into it, from windows explorer, it works fine. But when I try to open a script directly(after DinkCEditor has been set as default application), ParamStr(1) won't work anymore. The weird thing is that it worked fine in these conditions in the old version. Any sugestions?