The Forum is up for sale: XeNTaX Forum looking for new owner

Need a beta tester :)

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
NKCSS
advanced
Posts: 76
Joined: Mon Oct 08, 2007 10:19 pm
Location: Leiden, The Netherlands
Contact:

Need a beta tester :)

Post by NKCSS »

I have created a small tool that extracts the .ogg files from .aud files (piece of cake, I know, but stil l fun :) ). I created a setup with Visual Studio .NET 2005 for my project wherin I registerd my application with the .aud filetype and created a shellcommand for it. So far so good.

Double clicking a .aud file triggers the tool, and if a valid file is found, it extracts the file without a problem, saving it to the current dir.

The problem comes when I right-click multiple selected .aud files and select my command to extract it. For some reason, it opens HEX Workshow instead of my application.

I am just wondering if this is an issue that only occurs on my machine or that if other people have problems with it aswel.

Anyway, I have attatched the setup, please get back to me with the results.


Sincerely,


Nick Kusters
You do not have the required permissions to view the files attached to this post.
User avatar
Dinoguy1000
Site Admin
Posts: 786
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 154 times
Been thanked: 163 times

Post by Dinoguy1000 »

Hmm... that sounds more like a problem with the file association than anything. Have you double-checked it?
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.
NKCSS
advanced
Posts: 76
Joined: Mon Oct 08, 2007 10:19 pm
Location: Leiden, The Netherlands
Contact:

Post by NKCSS »

Dinoguy1000 wrote:Hmm... that sounds more like a problem with the file association than anything. Have you double-checked it?
Yup, can't find anything wrong with it realy, and found no reason why the hex editor would get the association.

Here's a partial reg dump of the 2 progs concerned here:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\HexWorkshopContextMenu]
@="{7bc80fe0-4b41-11cf-8fba-444553540000}"

[HKEY_CLASSES_ROOT\CLSID\{7bc80fe0-4b41-11cf-8fba-444553540000}]
@="Hex Workshop Shell Extension"

[HKEY_CLASSES_ROOT\CLSID\{7bc80fe0-4b41-11cf-8fba-444553540000}\InProcServer32]
@="C:\\Program Files\\BreakPoint Software\\Hex Workshop 3.1\\hwext.dll"
"ThreadingModel"="Apartment"


[HKEY_CLASSES_ROOT\.aud]
@=".aud Game Sound File"

[HKEY_CLASSES_ROOT\.aud\.aud Game Sound File]

[HKEY_CLASSES_ROOT\.aud\.aud Game Sound File\ShellNew]

[HKEY_CLASSES_ROOT\.aud\shell]

[HKEY_CLASSES_ROOT\.aud\shell\open]
@="&Extract Ogg sound file with NKCSS Aud2Ogg"

[HKEY_CLASSES_ROOT\.aud\shell\open\command]
@=""C:\\Program Files\\Nick Kusters Custom Software Solutions\\NKCSS Aud2Ogg\\NKCSS Aud2Ogg.exe" "%1""

[HKEY_CLASSES_ROOT\.aud Game Sound File]
@=".aud Game Sound File"

[HKEY_CLASSES_ROOT\.aud Game Sound File\shell]
@="open"

[HKEY_CLASSES_ROOT\.aud Game Sound File\shell\open]
@="&Extract Ogg sound file with NKCSS Aud2Ogg"

[HKEY_CLASSES_ROOT\.aud Game Sound File\shell\open\command]
@=""C:\\Program Files\\Nick Kusters Custom Software Solutions\\NKCSS Aud2Ogg\\NKCSS Aud2Ogg.exe" "%1""
"command"=hex(7):55,00,5a,00,5e,00,49,00,21,00,31,00,43,00,65,00,6e,00,38,00,\
  49,00,4a,00,2e,00,2d,00,4a,00,6a,00,62,00,77,00,76,00,5b,00,3e,00,65,00,41,\
  00,6c,00,5b,00,72,00,63,00,67,00,71,00,25,00,36,00,4e,00,5f,00,53,00,48,00,\
  62,00,31,00,3f,00,48,00,57,00,3f,00,20,00,22,00,25,00,31,00,22,00,00,00,00,\
  00
NKCSS
advanced
Posts: 76
Joined: Mon Oct 08, 2007 10:19 pm
Location: Leiden, The Netherlands
Contact:

Post by NKCSS »

Before I forget: If i remove the hex= part, It still has the same behaviour.
Post Reply