The Dink Network

Awards: July DOTM Results

August 14th 2006, 11:31 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
The winner of the July 2006 Download of the Month is none other than not Mr. None, but cypry! His DinkC Editor kicked Mr. None's nonexistant behind with 100% of the votes. Congratulations.

August 14th 2006, 11:40 PM
wizard.gif
Chrispy
Peasant He/Him Canada
I'm a man, but I can change, if I have to.I guess. 
Only a single vote?

-edit
I can modify this post as well, but I won't.
August 15th 2006, 06:56 AM
spike.gif
kikki
Peasant He/Him United Kingdom
This place has changed :) 
How is that possible when I voted for None
August 15th 2006, 07:16 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
Perhaps your votes are ignored?
August 15th 2006, 07:19 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
I just looked up the votes, and it doesn't have a record of you voting. Are you sure you voted None for the July DOTM, and not the June DOTM (which was just a week before?)
August 15th 2006, 07:22 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Congrats Cypry!
August 15th 2006, 10:34 AM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
Thanks. I already started to work on the 1.1 version, which will be MDI. I also want to improve a few things, and I know there are people here(yes, redink1, I'm thinking of you) that know the answer to my questions:
1. How do I add the option that set my program the default application for .c files?
2. How do I use another language procedures in a program(I want to include Compress.c from the Dink source in a Delphi application)?
Please help.
August 15th 2006, 01:08 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
There's HKEY_CLASSES_ROOT in the registry, with which you can setup the file's type to show in the explorer. I'm searching through regedit now for the place with the keys that determine which program to open these files with.

EDIT: http://www.codeguru.com/vb/gen/vb_system/directoriesandfiles/article.php/c4837/#more might help.
August 15th 2006, 02:21 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
Thanks.
August 15th 2006, 04:57 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
2. I'm not sure. You could just call the compress.exe program with an exec-type statement instead of including the code.
August 15th 2006, 10:36 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
YAY Cypry! I voted for you.
August 16th 2006, 08:07 AM
spike.gif
kikki
Peasant He/Him United Kingdom
This place has changed :) 
Yeah that sounds about right redink
August 16th 2006, 02:48 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
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?
August 17th 2006, 09:41 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
I have no experience with Delphi, but are you making sure you get the %1 application or whatever?
August 18th 2006, 01:30 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
I managed to fix it. The problem was the registry key:
I had to write:
"<application path>""%1"
instead of
"<application path>"%1
Without double-quotes for %1, the ParamStr(1) were only until the first space.
Now it works fine. If someone wants to beta-test this new version, I'd be gratefull. If not, I'll release it in a few days.
August 18th 2006, 03:37 PM
dragon.gif
I'll gladly look at it for you. I'm a computer nerd so I love beta-testing. Hell, I even love doing alpha testing.
September 13th 2006, 03:21 AM
old.gif
phatboy
Peasant He/Him
 
i also voted for mr. none. there should be a revote