Exetools

Exetools (https://forum.exetools.com/index.php)
-   Source Code (https://forum.exetools.com/forumdisplay.php?f=46)
-   -   VC++ to VS2010 conversion (https://forum.exetools.com/showthread.php?t=20287)

Zeocrack 09-30-2022 09:06

VC++ to VS2010 conversion
 
2 Attachment(s)
Dear all

I need to convert VC++ project to VS2010 project.

Any idea or Tutorial?

I have added two source file for support

Thanks

xobor 09-30-2022 15:12

Hello,

you can open dsw file in VS2010 and conversion to solution is pretty straightforward

regards

Zeocrack 09-30-2022 17:41

Quote:

Originally Posted by xobor (Post 126169)
Hello,

you can open dsw file in VS2010 and conversion to solution is pretty straightforward

regards

Thanks for the suggestion. But this is not working for me.

Thanks

JMP-JECXZ 09-30-2022 21:58

just make a new project and copy/paste the cpp code of your old project into your new, lmao.

Zeocrack 09-30-2022 23:25

Quote:

Originally Posted by JMP-JECXZ (Post 126172)
just make a new project and copy/paste the cpp code of your old project into your new, lmao.

Thanks for the suggestion. But it is time consuming and sometimes not working.

Would you please try one of the attached file and share?

Thanks

JMP-JECXZ 10-01-2022 00:07

i cant download attachement, need to be part of the cool kids or elite, idk.

i don't see how a copy/paste is time consuming? it's more time consuming to try to convert a project than doing copy/past into your new project in VS?

sendersu 10-02-2022 02:24

@Zeocrack
I"ve some fun time, you could try to build both projects in your VS2010
https://www.sendspace.com/file/grizlj

Note: if you do not have SP1 for VS2010 you might have linker errors (due to issues with non-SP1 cvtres.exe)

Insid3Code 10-02-2022 04:02

Hi,

Just for fun ! :D
How about build these projects from "command line only" without need to use ".vcxproj" or ".sln" and produce clean executable contains only needed imports...

Here my try (binaries)
- solution-1.exe = 51.5 KB
- tuneup.exe = 44.5 KB

https://workupload.com/file/844Hvnc6brH

niculaita 10-02-2022 23:21

This file has been banned

Insid3Code 10-03-2022 00:19

1 Attachment(s)
Quote:

Originally Posted by niculaita (Post 126188)
This file has been banned

Thanks !

New link:
https://www.sendspace.com/file/vreb7o

also attached here...

Zeocrack 10-03-2022 11:07

Hello Insid3Coder

Would you please share how you did in command line?
Thanks

Insid3Code 10-03-2022 17:03

Quote:

Originally Posted by Zeocrack (Post 126193)
Hello Insid3Coder

Would you please share how you did in command line?
Thanks

You need some basic knowledge about command line compilation...

to build resource: (generate *.res)
rc.exe /l 0x0C09 /n /r /x tuneup.rc

to compile: (generate *.obj)
cl.exe /I"MIRACL" /I"include" /D "WIN32" /X /c /O1 /Zl /Os /GF /EHsc /GS- /W4 /Gd tuneup.cpp MIRACL\*.c

to link: (generate final *.exe)
link.exe *.obj /LIBPATH:"lib" /MACHINE:X86 *.res /ENTRY:WinMain *.lib /OUT:"release\X86\tuneup32.exe"

Don't forget to adjust your PATHS regarding your MSVC installation (includes path, libs path)...


All times are GMT +8. The time now is 17:15.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX