Where do I change the linking command in MSVC++? - linker

Need to add lalleg to the end of my linking command.

Go to the properties for the project, then drill down in "linker", click on "command line". You can add it there.

Related

How to add "vcl.bpi" to BPL project

I use C++ builder 2009 to create a BPL project. The "Requires" list has "rtl.bpi" as default. I add some VCL Forms to the "Contains" list and try to build the BPL project. The build fails due to linker error such as "Unresolved external 'Forms::TForm::' referenced from XXX.OBJ". It is obvious that I should add "vcl.bpi" to the "Requires" list. I do the following steps:
Right-click on "Requires" and select "Add Reference".
In the "Add" dialog-->"Requires" tab, key "vcl.bpi" in the "Package name" text edit, and the click "OK".
It pops an error dialog shows "File vcl.bpi not found".
How should I add "vcl.bpi" manually?
If you put in only the filename by itself, you need to fill in the "Search Path" field of the dialog with the folder that the file resides in.
Otherwise, specify the full path to the file.
Either way, you can use the Browse button to simplify this.
The file is located in the $(BCB)\lib\win32\release folder.

Active directory - dsmoduser to add "Other" pager number

To update user pager information, I need to user dsmod user -pager 2321 option. But in the GUI browser, there is also "other" option which I need to fill. How can I add anything there using command line?
See this article at Microsoft: http://technet.microsoft.com/en-us/library/cc732954.aspx
This command supports only a subset of commonly used object class attributes.
You will have to use something else if you wish to do this via command line. Powershell or vbs will help you achieve this.

XP - Context Menu - Move Selected Files to a Specific Folder

G'day all and thanks for your help. Every now and then I have to copy downloaded files (after changing them) to a specific folder. In this example lets say d:\myfolder. I want to be able to do this quick with no hassles.
It was suggested that I look at the registry and the windows context menu. Truth be told I have no idea what to do.
Simply put; How do I MOVE files I selected to d:\myfolder from the context menu?
If possible greatly appreciated.
Thank you.
PS: The closest I could find was:
http://thismatter.com/tutorials/software/windows-xp/copy-move-files-more-efficiently.htm
This is almost there but cannot specify a specific folder.
Oof, a bit late in finding this question and responding, but here goes...
I want to do the same thing you're requesting, with the same aim: to do so in as few steps as possible.
The simplest solution for you would be to just create a shortcut for the target folder to which you wish to direct your files, and then move that shortcut into your "Send To" folder.
One add'l tip on this approach: selecting the target folder shortcut in the "Send To" menu will copy your file to the selected location; however, selecting the folder when also holding down the SHIFT key will move the file to that folder, instead.

Issue with configuring conTEXT to compile for Unrealscript

I have been going through Rachel Cordone's Unreal Development Kit Game Programming with UnrealScript Beginner's Guide book and having an issue using the conTEXT text editor.
As per instructed through the book I have followed all the steps to configure it but it won't compile once I press F9 - considering the last step to configure is to set the Enivronment Options/Execute Keys section. Here are the steps the book lays out (just that certain tab):
7) Now we are going to set up the conText to compile code. On the Execute Keys tab, click on Add, then type .uc into the Extensions field that comes up.
8) Once that's done four keys, F9 through F12, will show up in the User Exec Keys window. Let's click on F9 to make it convenient. Once clicked the option on the right become available.
9) For the Execute line, click on the button to the right of the field and navigate to out UDK installation's Binaries\Win64 folder, and select UDK.exe. For Start In, copy the Execute line but leave out UDK.exe.
10) In the Parameters field, type "make" without the quote marks. This tells UDK.exe that we want to compile code instead of opening the game.
11) Change Save to All Files Before Execution.
12) Check Capture Console Output and Scroll Console to the Last Line...
Then all I have to do is press F9 and it will compile - but it doesn't! It gives me:
No user command associated with extension '.uc'
Use 'Environment Options/Execute Keys' dialog to assign commands.
It seems it is not registering the changes no matter what I do (yes I clicked apply before saying okay but even still nothing). Any ideas?
The instructions may be out of date. You'll need to select your ".uc" entry, hit "Edit", and change it to just "uc".
Also, if you use UDK.com instead of UDK.exe the console output will go directly into Context instead of going to a separate popup.

How to start the associated program when selecting more than one files?

I have set .jpg file associated to my own program. I want to add the context menu to .jpg files, so I set the entry of HKCR.jpg\shell\open\command to "myProg.exe %1". After associating, there will be an item on the top of the context menu saying "Open image with myprog". This works right when I select a single .jpg file, but when I selected more than one file and click the top item of the context menu, nothing happended. How can I solve the problem?
Thank you very much
Each selected file will be sent to a new instance of your application. Your application should check if a previous version exists, or not. If a previous instance exists, it should sent its parameters to it (e.g. using Windows Messages) and then terminate.
Another approach is to use DDE (Dynamic Data Exchange), an old method used by Shell to send all files to one instance of your program.
You might need double quotes around the "%1".
Read this article for much more detailed information about how all this works.
http://msdn.microsoft.com/en-us/library/bb776883.aspx
Also, this blog entry talks about what you need to do specifically for multi-select command execution: http://blogs.msdn.com/pix/archive/2006/06/30/652889.aspx

Resources