Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File command - using target name without specifying optional arguments which precede it? #25

Open
DaveInCaz opened this issue Aug 11, 2020 · 3 comments

Comments

@DaveInCaz
Copy link
Contributor

For the File command, is there any way to use the target_name option without specifying interface names or a classes filter?

The docs show this:

Parameters <file_name> [interfaces] [classes_filter] [target_name]
file_name file containing typelib. Can be relative to base path
interfaces (optional) pipe (|) separated interfaces with or w/o leading
underscore
classes_filter (optional) pipe (|) separated filter for coclasses in file
target_name (optional) surrogate file location in output manifest

Since the argument separators are just whitespace... I can't seem to leave those middle options blank but still add a target_name, can I?

Is there some way to use an "all" wildcard for the middle two options?

(Looking at the code, I don't see a way...)

Thanks

@DaveInCaz
Copy link
Contributor Author

Actually, it seems to work when I use a line like this:

File ..\..\path\to\dll\abc.1.2.3.4.dll | * abc.dll

Looking at the code I don't actually see why this works. Is this the best way?

@wqweto
Copy link
Owner

wqweto commented Aug 11, 2020

Try quoting the empty strings like this

File UcsFP20.dll "" "" Dependency\UcsFP20.dll

Yes, the syntax got weird but this is what organic growth looks like I suppose. . .

@DaveInCaz
Copy link
Contributor Author

That worked great, thanks! I just submitted a PR to add a note about that syntax to the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants