FWH 16.03 32 BIT

Re: FWH 16.03 32 BIT

Postby Horizon » Fri May 06, 2016 9:11 pm

Antonio,

I think I found. Project properties, Character set should be Not Set.

Fastreport is working now.

How can I define rc file and manifest file in ide?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sat May 07, 2016 9:09 am

Hakan,

Simply add the RC file to the project
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Sun May 08, 2016 7:49 pm

Hi Antonio,

I think i have build my application with msvc 2015 except some unimportant things.

I had an exe file.

I have copied exe to w7. but it gives an error not found a dll. I have install the vc_redistx86 for msvc 2015. same error.

Image

As you know I dont want to continue with msvc ide. I am very happy with command line. I just find reason of runtime error.

Help please.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Sun May 08, 2016 8:37 pm

Hakan,

It seems as api-ms-win-core-com...dll is not found in W7 and your EXE uses it.

Better build the app from the command line, that way we control exactly what we want. The EXE should not need that DLL,
it may be something that Visual Studio is adding.
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Mon May 09, 2016 8:08 am

Antonio,

What should i do?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Mon May 09, 2016 8:23 am

Build it from the command line, until we discover why such DLL is required if built from the IDE
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Mon May 09, 2016 8:40 am

Antonio,

I think there is an option in application project properties, General.

Use of MFC option "Use Standart Windows Libraries" needs dll.

I have tried "Use MFC in a Static Library"

Error list is below.

Code: Select all  Expand view  RUN
1>     Creating library C:\PrgW\Icra\IcraW.lib and object C:\PrgW\Icra\IcraW.exp
1>Fivehc32.lib(MSGS.obj) : error LNK2019: unresolved external symbol __imp__ShellAboutA@16 referenced in function _msg_box
1>Fivehc32.lib(MSGS.obj) : error LNK2019: unresolved external symbol __imp__ShellAboutW@16 referenced in function _msg_box
1>Fivehc32.lib(WINEXEC.obj) : error LNK2019: unresolved external symbol __imp__ShellExecuteA@24 referenced in function _HB_FUN_SHELLEXECUTE
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2001: unresolved external symbol __imp__ShellExecuteA@24
1>Fivehc32.lib(FONTS.obj) : error LNK2019: unresolved external symbol __imp__ChooseFontA@4 referenced in function _HB_FUN_CHOOSEFONT
1>Fivehc32.lib(DROPFILE.obj) : error LNK2019: unresolved external symbol __imp__DragQueryFileA@16 referenced in function _HB_FUN_DRAGQUERYFILES
1>Fivehc32.lib(DROPFILE.obj) : error LNK2019: unresolved external symbol __imp__DragQueryPoint@8 referenced in function _HB_FUN_DRAGQUERYPOINT
1>Fivehc32.lib(DROPFILE.obj) : error LNK2019: unresolved external symbol __imp__DragAcceptFiles@8 referenced in function _HB_FUN_DRAGACCEPTFILES
1>Fivehc32.lib(GETFILE.obj) : error LNK2019: unresolved external symbol __imp__GetOpenFileNameA@4 referenced in function _HB_FUN_CGETFILE
1>Fivehc32.lib(C5CNEW.obj) : error LNK2001: unresolved external symbol __imp__GetOpenFileNameA@4
1>Fivehc32.lib(GETFILE.obj) : error LNK2019: unresolved external symbol __imp__GetSaveFileNameA@4 referenced in function _HB_FUN_CGETFILE
1>Fivehc32.lib(PRINTDC.obj) : error LNK2019: unresolved external symbol _OpenPrinterA@12 referenced in function _HB_FUN_PRNSTATUS
1>Fivehc32.lib(PRINTDC.obj) : error LNK2019: unresolved external symbol _GetPrinterA@20 referenced in function _HB_FUN_PRNSTATUS
1>Fivehc32.lib(PRINTDC.obj) : error LNK2019: unresolved external symbol _ClosePrinter@4 referenced in function _HB_FUN_PRNSTATUS
1>hbwin.lib(wapi_wingdi.obj) : error LNK2001: unresolved external symbol _ClosePrinter@4
1>Fivehc32.lib(PRINTDC.obj) : error LNK2019: unresolved external symbol __imp__PrintDlgA@4 referenced in function _PrinterInit
1>Fivehc32.lib(PRINTDC.obj) : error LNK2019: unresolved external symbol __imp__CommDlgExtendedError@0 referenced in function _HB_FUN_COMDLGXERR
1>Fivehc32.lib(PRINTDC.obj) : error LNK2019: unresolved external symbol __imp__PageSetupDlgA@4 referenced in function _HB_FUN_PAGESETUP
1>Fivehc32.lib(CLRCHOOS.obj) : error LNK2019: unresolved external symbol __imp__ChooseColorA@4 referenced in function _HB_FUN_CHOOSECOLOR
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__StgCreateDocfile@16 referenced in function _HB_FUN_RESETOLEINIT
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__StgCreateDocfileOnILockBytes@16 referenced in function _REOC_New
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleInitialize@4 referenced in function _HB_FUN_RESETOLEINIT
1>hbwin.lib(olecore.obj) : error LNK2001: unresolved external symbol __imp__OleInitialize@4
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleUninitialize@0 referenced in function _HB_FUN_RESETOLEUNINIT
1>hbwin.lib(olecore.obj) : error LNK2001: unresolved external symbol __imp__OleUninitialize@0
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleCreateStaticFromData@28 referenced in function _HB_FUN_REINSERTPICTURE
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleCreateFromFile@32 referenced in function _HB_FUN_REINSERTPICTURE
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleSetContainedObject@8 referenced in function _HB_FUN_REINSERTPICTURE
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleFlushClipboard@0 referenced in function _HB_FUN_RESETOLEUNINIT
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__OleDuplicateData@12 referenced in function _REDATA_New
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__ReleaseStgMedium@4 referenced in function _HB_FUN_RESETOLEUNINIT
1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol __imp__CreateILockBytesOnHGlobal@12 referenced in function _REOC_New
1>Fivehc32.lib(ICONS.obj) : error LNK2019: unresolved external symbol __imp__ExtractIconA@12 referenced in function _HB_FUN_EXTRACTICON
1>Fivehc32.lib(ICONS.obj) : error LNK2019: unresolved external symbol __imp__SHGetFileInfoA@20 referenced in function _HB_FUN_ICON_READ
1>Fivehc32.lib(C5CNEW.obj) : error LNK2001: unresolved external symbol __imp__SHGetFileInfoA@20
1>Fivehc32.lib(C5CNEW.obj) : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function _HB_FUN_CGETFOLDER
1>Fivehc32.lib(GETDIR.obj) : error LNK2001: unresolved external symbol __imp__SHGetPathFromIDListA@8
1>Fivehc32.lib(C5CNEW.obj) : error LNK2019: unresolved external symbol __imp__SHBrowseForFolderA@4 referenced in function _HB_FUN_CGETFOLDER
1>Fivehc32.lib(GETDIR.obj) : error LNK2001: unresolved external symbol __imp__SHBrowseForFolderA@4
1>Fivehc32.lib(GETDIR.obj) : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function _HB_FUN_CGETDIR
1>Fivehc32.lib(FINDTEXT.obj) : error LNK2019: unresolved external symbol __imp__FindTextA@4 referenced in function _HB_FUN_FINDTEXT
1>Fivehc32.lib(MKDIR.obj) : error LNK2019: unresolved external symbol __imp__SHCreateDirectoryExA@12 referenced in function _HB_FUN_LMKFULLPATH
1>Fivehc32.lib(ACTX.obj) : error LNK2019: unresolved external symbol __imp__CoInitialize@4 referenced in function "public: __thiscall TActiveX::TActiveX(struct HWND__ *)" (??0TActiveX@@QAE@PAUHWND__@@@Z)
1>hbwin.lib(wapi_wingdi.obj) : error LNK2019: unresolved external symbol _OpenPrinterW@12 referenced in function _HB_FUN___WAPI_DEVMODE_NEW
1>hbwin.lib(wapi_wingdi.obj) : error LNK2019: unresolved external symbol _DocumentPropertiesW@24 referenced in function _HB_FUN___WAPI_DEVMODE_NEW
1>hbwin.lib(wapi_shellapi.obj) : error LNK2019: unresolved external symbol __imp__ShellExecuteW@24 referenced in function _HB_FUN_WAPI_SHELLEXECUTE
1>C:\PrgW\Icra\IcraW.exe : fatal error LNK1120: 38 unresolved externals
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Mon May 09, 2016 8:56 am

Hakan,

I explain you how to do it:

1. Copy a name of a missing external, in example ShellAboutA

2. Go to c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\ and look for such name in all libs.
I use Total Commander to do it. If it is not found then next step:

3. Go to c:\Program Files (x86)\Windows Kits\8.1\Lib\ and repeat the step 2.

In this case, I found: shell32.lib

This way you can fix all of them
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Mon May 09, 2016 11:30 am

Hi Antonio,

I have found all missing libraries and added. All options can be compiled succesfully and exe is created. but there is request for some dll to run in w7.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Mon May 09, 2016 4:35 pm

Hakan,

> but there is request for some dll to run in w7

api-ms-win-core-com...dll ?
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Mon May 09, 2016 4:46 pm

Antonio,

Yes. :(
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Mon May 09, 2016 5:15 pm

please email me the exe
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Mon May 09, 2016 5:42 pm

sent.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Postby Antonio Linares » Mon May 09, 2016 7:55 pm

Hakan,

Already reviewed

Are you using Visual Studio Community 2015 ?

If so, please update it from "Extensions and Updates"

Not sure if that may solve it, but sounds reasonable:
http://stackoverflow.com/questions/17023419/win-7-64-bit-dll-problems
regards, saludos

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

Re: FWH 16.03 32 BIT

Postby Horizon » Mon May 09, 2016 8:14 pm

Antonio Linares wrote:Hakan,

Already reviewed

Are you using Visual Studio Community 2015 ?

If so, please update it from "Extensions and Updates"

Not sure if that may solve it, but sounds reasonable:
http://stackoverflow.com/questions/17023419/win-7-64-bit-dll-problems


Yes, Visual Studio Community 2015.

What do you mean "Extension and Updates". If you mean redistributable package, I have done.

I have seen this link. I could not get any useful information.

ps. I have found the Extensions and Updates. But there are alot of package there. Which one should i update?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 26 guests

cron