VOGONS

Common searches


Mouse copy/paste support

Topic actions

Reply 120 of 151, by Wengier

User metadata
Rank Member
Rank
Member
Zaqu75 wrote:

Now my DosBox is able to run...

collector wrote:
Zaqu75 wrote:

Thank you, Wengier, for your great job, but when I try to open the exe it gets an error which says "MSVCP140.dll is missing". Why is this issue happening and how can I fix it?

Do you even try to add MSVCP140.dll to the folder with this build of DOSBox?

Zaqu75:

Thanks for your post. Yes, you are right about this. I have re-uploaded the Windows binary package, which now also includes the changes in the latest SVN (r3955) in addition to the inclusion of DLL files MSVCP140.dll and vcruntime140.dll. The download link for the Windows binary package remains the same: https://bitly.com/12jANWF

EDIT: For the purpose of better compatibility, the Windows binary is now compiled using Visual Studio 2005 instead of Visual Studio 2015, and the required files MSVCP80.dll and MSVCR80.dll are now included instead of MSVCP140.dll and vcruntime140.dll. In addition to more recent versions of Windows such as Windows Vista and Windows 10, it has been tested to work on earlier versions of Windows such as Windows 98 and Windows 2000. The alternative Windows binary compiled with MinGW is also available from: http://bit.ly/1laDvGX

Reply 122 of 151, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Willie, I understand that you want your problem solved but please stay on topic (copy/paste) and don't post your problem in every Dosbox patch thread...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 123 of 151, by Willie...

User metadata
Rank Newbie
Rank
Newbie

Disregard... I think I found a solution! With some clever use of loops in a BAT file, I can make the program drop to DOS at midnight, where the looping batch re-launches it, thus re-syncing the system clock.

I will leave it running for a few days this way, and see how well it holds up. 😀

Reply 124 of 151, by Willie...

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote:

Willie, I understand that you want your problem solved but please stay on topic (copy/paste) and don't post your problem in every Dosbox patch thread...

I believe I only posted in two threads? If I crossed the line, I apologize.

Reply 125 of 151, by Wengier

User metadata
Rank Member
Rank
Member

I have updated the Windows binaries to match the latest DOSBox SVN version (r3972). This enhanced DOSBox SVN build is now known as DOSBox SVN-lfn, which features mouse copy/paste, automatic drive mounting and DBCS support in addition to LFN support. The download links remain the same.

Last edited by Wengier on 2016-03-27, 15:52. Edited 5 times in total.

Reply 127 of 151, by Wengier

User metadata
Rank Member
Rank
Member

Just to let other users know that both the source code and Windows binaries have been updated to match the latest DOSBox SVN r3981, and the file 256keys.com has been replaced by keybuf.com in the Windows binary package to support larger keyboard buffer size (now 1024 by default, but it is easily expandable). The download link for the Windows binary remains the same (i.e. http://bit.ly/12jANWF for the Visual Studio build and http://bit.ly/1laDvGX for the MinGW build).

Reply 128 of 151, by laajt

User metadata
Rank Newbie
Rank
Newbie

Hey. Can u post a link for a source code files for the svn r3981?
I'm in a big need to build own version with some modifications in bios.cpp.

Ok I found it here:
Long File Name (LFN) support
Sorry to bother you!

Can I compile the r3981 version with your changes the way it is described in the link below:
https://www.dosbox.com/wiki/BuildingDOSBox
or are there needed additional libraries?

Thanks in advance!

Reply 129 of 151, by Wengier

User metadata
Rank Member
Rank
Member
laajt wrote:
Hey. Can u post a link for a source code files for the svn r3981? I'm in a big need to build own version with some modifications […]
Show full quote

Hey. Can u post a link for a source code files for the svn r3981?
I'm in a big need to build own version with some modifications in bios.cpp.

Ok I found it here:
Long File Name (LFN) support
Sorry to bother you!

Can I compile the r3981 version with your changes the way it is described in the link below:
https://www.dosbox.com/wiki/BuildingDOSBox
or are there needed additional libraries?

Thanks in advance!

If you want to build your own copy using MinGW under Windows, I don't think you need any additional libraries except those mentioned in that page. But if you want to enable mouse copy/paste support (by setting C_CLIPBOARD=1 in config.h) in a non-Windows platform, you will need also the pdcurses library. The pdcurses library is not needed for Windows unless you set *both* C_CLIPBOARD=1 and C_WIN32CLIP=0 in config.h.

Reply 130 of 151, by laajt

User metadata
Rank Newbie
Rank
Newbie

If you want to build your own copy using MinGW under Windows, I don't think you need any additional libraries except those mentioned in that page. But if you want to enable mouse copy/paste support (by setting C_CLIPBOARD=1 in config.h) in a non-Windows platform, you will need also the pdcurses library. The pdcurses library is not needed for Windows unless you set *both* C_CLIPBOARD=1 and C_WIN32CLIP=0 in config.h.

Thank You for the explanation. This information is crucial for me!

Reply 131 of 151, by laajt

User metadata
Rank Newbie
Rank
Newbie

I can't get it working.. Guess I'm doing something wrong.

- unpack sources of dosbox-code-0-3981
- unpack your source changes and overwrite it over original db code
- change c_clipboard to 0 and c_win32clip to 1 (not using pdcurses)
- ./autogen.sh
- ./configure --enable-core-inline LDFLAGS="-static-libgcc -static-libstdc++ -s" LIBS="-lvorbisfile -lvorbis -logg"
- make.

And in the dosbox.conf set clipboardmodifier=none.

Reply 132 of 151, by Wengier

User metadata
Rank Member
Rank
Member
laajt wrote:
I can't get it working.. Guess I'm doing something wrong. […]
Show full quote

I can't get it working.. Guess I'm doing something wrong.

- unpack sources of dosbox-code-0-3981
- unpack your source changes and overwrite it over original db code
- change c_clipboard to 0 and c_win32clip to 1 (not using pdcurses)
- ./autogen.sh
- ./configure --enable-core-inline LDFLAGS="-static-libgcc -static-libstdc++ -s" LIBS="-lvorbisfile -lvorbis -logg"
- make.

And in the dosbox.conf set clipboardmodifier=none.

What operating system are you using, and what error message(s) have you seen when you did above? If you are using Windows and want to enable mouse copy/paste support but without using pdcurses, you can just leave both c_clipboard and c_win32clip to 1 in config.txt. I just tried your steps in my MinGW installation under Windows, and everything works fine. You need to mention the actual error message(s) you have seen during compilation in order for me to see what problem you are experiencing.

Reply 133 of 151, by laajt

User metadata
Rank Newbie
Rank
Newbie

I'm using Windows 7 Profesional x64 and MinGw with MSYS.
Links to the config.log, configure and make outputs.
http://s000.tinyupload.com/index.php?file_id= … 959473679183207
http://s000.tinyupload.com/index.php?file_id= … 756783135714961
http://s000.tinyupload.com/index.php?file_id= … 522553988655605
Could You please have a look on this?

Reply 134 of 151, by Wengier

User metadata
Rank Member
Rank
Member
laajt wrote:
I'm using Windows 7 Profesional x64 and MinGw with MSYS. Links to the config.log, configure and make outputs. http://s000.tinyup […]
Show full quote

I'm using Windows 7 Profesional x64 and MinGw with MSYS.
Links to the config.log, configure and make outputs.
http://s000.tinyupload.com/index.php?file_id= … 959473679183207
http://s000.tinyupload.com/index.php?file_id= … 756783135714961
http://s000.tinyupload.com/index.php?file_id= … 522553988655605
Could You please have a look on this?

According to the make-output.txt file you uploaded, the MAKE command was executed successfully. This means everything went fine and I don't think there is any problem here. You should be able to run the generated dosbox.exe in the src directory.

Reply 135 of 151, by laajt

User metadata
Rank Newbie
Rank
Newbie

I am able to run the application but the copy/paste function isn't working at all.

Today I will try to compile it with pdcurses in a way described below:
- c_clipboard 1 c_win32clip 0
- ./configure --enable-core-inline LDFLAGS="-static-libgcc -static-libstdc++ -s" LIBS="-lvorbisfile -lvorbis -logg" --enable-debug

Reply 136 of 151, by Wengier

User metadata
Rank Member
Rank
Member
laajt wrote:
I am able to run the application but the copy/paste function isn't working at all. […]
Show full quote

I am able to run the application but the copy/paste function isn't working at all.

Today I will try to compile it with pdcurses in a way described below:
- c_clipboard 1 c_win32clip 0
- ./configure --enable-core-inline LDFLAGS="-static-libgcc -static-libstdc++ -s" LIBS="-lvorbisfile -lvorbis -logg" --enable-debug

You need to add C_CLIPBOARD=1 into config.h *after* you run ./configure, otherwise it will be overwritten by the ./configure command using the default C_CLIPBOARD=0, which will disable mouse copy/paste support. The setting C_WIN32CLIP=1 should be fine for Windows, but you need to add this line into config.h after you run ./configure too. If you set C_WIN32CLIP=0, then the pdcurses library will be required in your Windows installation as well in addition to the libraries mentioned in that page.

Reply 138 of 151, by laajt

User metadata
Rank Newbie
Rank
Newbie

I've got a question 😀
Is it possible to change the codepage of the copied text from dosbox?
The thing is I've got a software that is using codepage 437 and it displays correctly,
but when I copy something to notepad (or similar software) the copied characters are incorrect
(The "basic" letters are okay, but lines, patterns, greek characters are not).

Reply 139 of 151, by Wengier

User metadata
Rank Member
Rank
Member
laajt wrote:
I've got a question :) Is it possible to change the codepage of the copied text from dosbox? The thing is I've got a software th […]
Show full quote

I've got a question 😀
Is it possible to change the codepage of the copied text from dosbox?
The thing is I've got a software that is using codepage 437 and it displays correctly,
but when I copy something to notepad (or similar software) the copied characters are incorrect
(The "basic" letters are okay, but lines, patterns, greek characters are not).

Personally I don't use non-ASCII and non-DBCS codepages. But to fix the problem you mentioned I am going to use the OEM character set during clipboard copy and paste instead. I have tested with copying Greek characters and it seems to work. You can try the latest version on your computer too.