Nikolas92 Posted December 6, 2016 Share Posted December 6, 2016 How to use OpenWith Enhanced (http://extensions.frieger.com/owdesc.php) in dllcall? I can run it with this: Run("RunDll32.exe" & ' "' & @ScriptDir & '\OpenWith.dll",OpenWith ' & '"' & $CmdLine[1] & '"', "") but dont how how to use it in dllcall. anyone can help me? Link to comment Share on other sites More sharing options...
funkey Posted December 7, 2016 Share Posted December 7, 2016 Show us the C headerfile (maybe openwith.h) or the function description to let us help. I can not download the file from here. Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
AndyG Posted December 7, 2016 Share Posted December 7, 2016 4 hours ago, funkey said: Show us the C headerfile (maybe openwith.h) or the function description to let us help. ...or make the dll-file available. Link to comment Share on other sites More sharing options...
Nikolas92 Posted December 7, 2016 Author Share Posted December 7, 2016 (edited) 7 hours ago, funkey said: Show us the C headerfile (maybe openwith.h) or the function description to let us help. I dont know where to find that. I attached dll file: OpenWith.dll Microsoft.VC90.CRT.manifest Edited December 7, 2016 by Nikolas92 Link to comment Share on other sites More sharing options...
Nikolas92 Posted December 8, 2016 Author Share Posted December 8, 2016 Any way to use OpenWith.dll in dllcall or not possible? Link to comment Share on other sites More sharing options...
trancexx Posted December 8, 2016 Share Posted December 8, 2016 3 hours ago, Nikolas92 said: Any way to use OpenWith.dll in dllcall or not possible? DllCall("OpenWith.dll", "none", "OpenWithW", "handle", Null, "str", $CmdLine[1], "int", 0) Nikolas92 1 ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Nikolas92 Posted December 8, 2016 Author Share Posted December 8, 2016 (edited) thanks trancexx, dllcall works (partially). It opens OpenWith Enhanced window, but when I drag files on compiled script I always get this: When files are dragged on this script Run("RunDll32.exe" & ' "' & @ScriptDir & '\OpenWith.dll",OpenWith ' & '"' & $CmdLine[1] & '"', "") it works like this Any way to make dllcall work with dragged files? Edited December 8, 2016 by Nikolas92 Link to comment Share on other sites More sharing options...
trancexx Posted December 8, 2016 Share Posted December 8, 2016 Yea, probably should be this: DllCall("OpenWith.dll", "none", "OpenWithW", "handle", Null, "handle", Null, "wstr", $CmdLine[1], "int", 0) Nikolas92 1 ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Nikolas92 Posted December 8, 2016 Author Share Posted December 8, 2016 thanks, it works now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now