Checkbox text disappears Harbour/MSVC

Re: Checkbox text disappears Harbour/MSVC

Postby TimStone » Wed Feb 25, 2015 5:14 pm

When I do that, and try to build, it generates:

1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409

That is solved by giving the manifest a different id: 2 24 which allows it to then build without error.

However, it does not take away the problem !

Do you have a file with your project settings. It has to be in the VS Properties for the project. I can post the command lines it generates if you wish.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Checkbox text disappears Harbour/MSVC

Postby TimStone » Wed Feb 25, 2015 5:38 pm

Here are some of the command lines in my setup:

General:

Code: Select all  Expand view  RUN

Platform Toolset : Visual Studio 2013 ( v120 )
Enable Managed Incremental Build : No
Configuration Type :  Application (.exe)
Use of MFC :  Use Standard Windows Libraries
Character Set : Use Unicode Character Set
Common Language Runtime Support:  No Common Language Runtime Support
Whole Program Optimization :  No Whole Program Optimization
Windows Store App Support : No
 


Linker

Code: Select all  Expand view  RUN

/OUT:"C:\Projects VS\MLS Service Writer 10\Release\MLS Service Writer 10.exe" /MANIFEST /FORCE:MULTIPLE /NXCOMPAT /PDB:"C:\Projects VS\MLS Service Writer 10\Release\MLS Service Writer 10.pdb" /DYNAMICBASE /DEBUG /MACHINE:X86 /OPT:REF /SAFESEH /INCREMENTAL /PGD:"C:\Projects VS\MLS Service Writer 10\Release\MLS Service Writer 10.pgd" /SUBSYSTEM:WINDOWS /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"Release\MLS Service Writer 10.exe.intermediate.manifest" /OPT:ICF /ERRORREPORT:PROMPT /NOLOGO /TLBID:1
 


C/C++

Code: Select all  Expand view  RUN

/GS /analyze- /W3 /Gy /Zc:wchar_t /I"c:\fwh\include" /I"c:\harbour\include" /Zi /Gm- /O2 /sdl- /Fd"Release\vc120.pdb" /fp:precise /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /errorReport:prompt /WX- /Zc:forScope /Gd /Oy- /Oi /MD /Fa"Release\" /EHsc /nologo /Fo"Release\" /Fp"Release\MLS Service Writer 10.pch"


Manifest

Code: Select all  Expand view  RUN

/verbose /out:"Release\MLS Service Writer 10.exe.embed.manifest" /nologo "Release\MLS Service Writer 10.exe.embed.manifest.res"
 


Resources

Code: Select all  Expand view  RUN

/D "_UNICODE" /D "UNICODE" /l 0x0409 /nologo /fo"Release\%(Filename).res"
 
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Checkbox text disappears Harbour/MSVC

Postby Antonio Linares » Fri Feb 27, 2015 9:55 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Checkbox text disappears Harbour/MSVC

Postby TimStone » Fri Feb 27, 2015 10:37 pm

It would be far easier if you could do what I did above, and just cut and paste the items in an email.

The project build file is a bit different and not exactly easy to compare. I tried.

I simply went into each section in properties for the project, selected COMMAND LINE, and did a cut and paste. If you do that in an email, I'll do the comparison and will likely find what is different.

I really appreciate it.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Checkbox text disappears Harbour/MSVC

Postby Antonio Linares » Sat Feb 28, 2015 6:50 am

Tim,

C/C++
/GS /analyze- /W3 /Zc:wchar_t /ZI /Gm /Od /Fd"Debug\vc120.pdb" /fp:precise /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /Fa"Debug\" /EHsc /nologo /Fo"Debug\" /Fp"Debug\tutor01.pch"


Linker
/OUT:"c:\soporte\Debug\tutor01.exe" /MANIFEST /NXCOMPAT /PDB:"c:\soporte\Debug\tutor01.pdb" /DYNAMICBASE "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /DEBUG /MACHINE:X86 /INCREMENTAL /PGD:"c:\soporte\Debug\tutor01.pgd" /SUBSYSTEM:WINDOWS /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"Debug\tutor01.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /TLBID:1


Manifest
/verbose /out:"Debug\tutor01.exe.embed.manifest" /nologo "Debug\tutor01.exe.embed.manifest.res"


Resources
/D "_UNICODE" /D "UNICODE" /l 0x0409 /nologo /fo"Debug\%(Filename).res"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Checkbox text disappears Harbour/MSVC

Postby Antonio Linares » Sat Feb 28, 2015 6:54 am

Tim,

If you can't find the difference all that I can think about is to have a TeamViewer session with you and I will build my example on your Visual Studio remotely.

Anyhow tomorrow I am flying to Barcelona and I wont be back until March 9. If I can get a good internet connection in Barcelona then we could do the TeamViewer session from there.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Timm Sodtalbers and 53 guests