rundll32.exe "%1",Configure -not working in int as

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
adom_sapek
Junior Member
Junior Member
Posts: 39
Joined: 2011-07-12, 06:59 UTC
Location: poland

rundll32.exe "%1",Configure -not working in int as

Post by *adom_sapek »

I made an association to *.ax file (internal) with following command:

rundll32.exe "%1",Configure

and it's not working. Every time I choose it I get the following msg:

Code: Select all

error in "blabla.ax"
missing entry: Configure
but it's working when I type that line in cmd window.

Need help - thanks.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Maybe you need the full path to rundll32.exe ?

Or you need to write:
rundll32.exe ""%1",Configure"
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
adom_sapek
Junior Member
Junior Member
Posts: 39
Joined: 2011-07-12, 06:59 UTC
Location: poland

Post by *adom_sapek »

Maybe you need the full path to rundll32.exe ?
I forgot to add that I used already full path and nothing
Or you need to write:
rundll32.exe ""%1",Configure"
nope, that's not working


Just as update I should mention that I found one ax (coreavc.ax) that shows up its configuration dialog when called from conte menyu.

Other ones - no luck - but as I said before the same command works for them from cli window.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It works fine for me with test DLL that exports function Configure.

Code: Select all

rundll32 "%1",Configure
User avatar
adom_sapek
Junior Member
Junior Member
Posts: 39
Joined: 2011-07-12, 06:59 UTC
Location: poland

Post by *adom_sapek »

It works fine for me with test DLL that exports function Configure.
and for some unknown reason it doesn't work for me :(
it even works when I type it directly into TC command line but doesn't want to work via menu - there is no typo in the association menu since I can see a msg about configure entry and since coreavcdecoder.ax works this way.

Maybe something wrong with my windows.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Maybe your module can work normally only when current directory is its own directory? Try to change directory and execute command from TC command line or cmd:

Code: Select all

rundll32 "x:\full\path\to\blabla.ax",Configure
User avatar
adom_sapek
Junior Member
Junior Member
Posts: 39
Joined: 2011-07-12, 06:59 UTC
Location: poland

Post by *adom_sapek »

thanks for sugestion but I just found the problem:
in the assiotiation menu I used Configure (capital c) and in CMD I used small c.
Some DLLs need "Configure" while other need "configure"

Thanks.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Great that you've got it :) it seems that this function is non-standard so some writers call it Configure and other ones call it configure.
Post Reply