Toolbar Images does NOT display LNK4088 ERROR

Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Sun Sep 29, 2013 7:48 pm

Hi ,


Compiled the toolbar3.prg samples in MSVC/Harbour env. It executes fine but Images does not display on the Toolbar. MSVC Compiler gives warning LNK4088 ERROR.
Please provide the solution for this. Thanks in advance...!

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby Antonio Linares » Sun Sep 29, 2013 7:55 pm

Shridhar,

I just tested samples/buildh32.bat toolbar3 and it worked fine.

Have you used buildh32.bat to build it ?
regards, saludos

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

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Sun Sep 29, 2013 8:04 pm

Hi Antoino ,

As you know that I am UEStudio Setup. Compiled the code from UEStudio. I am not sure the settings.


Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Sun Sep 29, 2013 8:16 pm

Hi Antonio ,

I believe that the below setting would be cause but I am not sure.

#SDKPATH = "c:\Program Files\Microsoft SDKs\Windows\v7.0A" Commented
SDKPATH = "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86" Using....

Downloaded MSVC express edition.

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Mon Sep 30, 2013 7:39 am

Hi All ,

Could you please let me know whether MSVC expression edition will work with Harbour ? As I have downloaded latest Express edition and installed. It looks like for Windows 8 NOT for Windows 7. Because it does not create the SDK sub folder after installation. Any Idea why it does not create the folder ?

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby Richard Chidiak » Mon Sep 30, 2013 11:17 am

Shridhar

I have msvc 2012 express edition installed on a pc with windows 7 and it works OK

Here is the application file for uestudio, please adapt the directories especially the harbour one as i install harbour differently,

Also please note i have Msvc 2010 express edition installed on the same computer

Hth

Richard

Code: Select all  Expand view


# --------- Harbour y FWH configuration --------
# --- general --------------------------------------
# $P  - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I  - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for compiler
# --- build ----------------------------------------
# $T  - target full name
# $Tp - target path
# $Tn - target name
# $O  - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R  - release/debug setting for linker

[Settings]
Target =
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path =
User Defines =

Compiler Options =
Linker Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Linker Options = Provides a space for you to specify an additional linker options.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWH = c:\fwh
HPATH = c:\Harbour
CPATH = "c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
CPATHIDE = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
SDKPATH = "c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A"

HPATHL = $(HPATH)\LIB\win\msvc       --------------------------------------------------------------> change here please to adapt your installation
CPATHL = $(CPATH)\LIB
SDKPATHL = $(SDKPATH)\LIB

HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -TP -W3 -c -I$(HPATH)\INCLUDE

LOPT = /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libc
LIBS1 = $(FWH)\LIB\FiveH32.lib $(FWH)\LIB\FiveHC32.lib
LIBS2 = $(HPATHL)\hbrtl.lib $(HPATHL)\hbvm.lib $(HPATHL)\gtgui.lib $(HPATHL)\hblang.lib $(HPATHL)\hbmacro.lib $(HPATHL)\hbrdd.lib $(HPATHL)\rddntx.lib $(HPATHL)\rddcdx.lib $(HPATHL)\rddfpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\hbdebug.lib $(HPATHL)\hbcommon.lib $(HPATHL)\hbpp.lib $(HPATHL)\xhb.lib $(HPATHL)\png.lib $(HPATHL)\hbzlib.lib $(HPATHL)\hbcpage.lib $(HPATHL)\hbwin.lib $(HPATHL)\hbct.lib $(HPATHL)\hbcplr.lib $(HPATHL)\hbpcre.lib $(HPATHL)\minizip.lib $(HPATHL)\hbziparc.lib $(HPATHL)\hbmzip.lib $(HPATHL)\hbtip.lib
LIBS3 = $(SDKPATHL)\kernel32.lib $(SDKPATHL)\user32.lib $(SDKPATHL)\gdi32.lib $(SDKPATHL)\winspool.lib $(SDKPATHL)\comctl32.lib $(SDKPATHL)\comdlg32.lib $(SDKPATHL)\advapi32.lib $(SDKPATHL)\shell32.lib $(SDKPATHL)\ole32.lib $(SDKPATHL)\oleaut32.lib $(SDKPATHL)\uuid.lib $(SDKPATHL)\odbc32.lib $(SDKPATHL)\odbccp32.lib $(SDKPATHL)\iphlpapi.lib $(SDKPATHL)\mpr.lib $(SDKPATHL)\version.lib $(SDKPATHL)\wsock32.lib $(SDKPATHL)\msimg32.lib $(SDKPATHL)\oledlg.lib $(SDKPATHL)\psapi.lib $(SDKPATHL)\gdiplus.lib $(SDKPATHL)\winmm.lib $(SDKPATHL)\WS2_32.LIB
LIBS = $(LIBS1) $(LIBS2) $(LIBS3)

[Environment]
PATH = $(HPATH)\BIN;$(CPATH)\BIN;$(SDKPATH)\BIN;$(CPATHIDE);%PATH%
INCLUDE = $(FWH)\INCLUDE;$(HPATH)\INCLUDE ;$(CPATH)\INCLUDE;$(SDKPATH)\INCLUDE
LIB = $(HPATHL);$(CPATHL);$(SDKPATHL);$(FWH)\LIB
BuildMode = %UESMode%

[General]
TargetExt = .EXE
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 0
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Execute Application
makef = Show Makefile

[Execute Application]
Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = 0

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;
FGR = .res;
FGL = .lib;
FGD = .def;

[GroupFormats]
FGO = %s
FGR = %s
FGL = %s

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag =
ReleaseFlag =
Cmd0 = $(CPATH)\BIN\LINK $(LOPT) $FGO $FGR $(LIBS1) $(LIBS2) $(LIBS4) "$(SDKPATHL)"\kernel32.lib "$(SDKPATHL)"\user32.lib "$(SDKPATHL)"\gdi32.lib "$(SDKPATHL)"\winspool.lib "$(SDKPATHL)"\comctl32.lib "$(SDKPATHL)"\comdlg32.lib "$(SDKPATHL)"\advapi32.lib "$(SDKPATHL)"\advapi32.lib "$(SDKPATHL)"\shell32.lib "$(SDKPATHL)"\ole32.lib "$(SDKPATHL)"\oleaut32.lib "$(SDKPATHL)"\uuid.lib "$(SDKPATHL)"\odbc32.lib "$(SDKPATHL)"\odbccp32.lib "$(SDKPATHL)"\iphlpapi.lib "$(SDKPATHL)"\mpr.lib "$(SDKPATHL)"\version.lib "$(SDKPATHL)"\wsock32.lib "$(SDKPATHL)"\msimg32.lib "$(SDKPATHL)"\oledlg.lib "$(SDKPATHL)"\psapi.lib "$(SDKPATHL)"\gdiplus.lib "$(SDKPATHL)"\winmm.lib "$(SDKPATHL)"\ws2_32.lib
[.PRG]
Out = $In.c
DebugFlag = /b
ReleaseFlag =
Cmd0 = $(HPATH)\BIN\harbour $I $(HOPT) $R /o$O

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = $(CPATH)\BIN\cl.exe $(COPT) $I

[.RC]
Out = $In.res
Cmd0 = $(SDKPATH)\bin\rc -r -fo$O $I

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

 
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Mon Sep 30, 2013 11:40 am

Hi Richard ,

On my system this SDKPATH = "c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A" folder does not have any files.
I do not know why ?

So for that I am using this SDKPATH = "C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86" folder. Which is created by Visual Stuido exp edition installation.

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby Richard Chidiak » Mon Sep 30, 2013 12:08 pm

Shridhar

probably these files have been installed by Msvc 2010 express

My advice is to install also Msvc 2010 express

I have both editions working

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Tue Oct 01, 2013 2:13 pm

Hi Richard ,

But If we install 2 Editions on the same machine then we will not be sure that which is version really working. I beleive that MSVC 2012 should work properly.

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Sun Nov 10, 2013 10:37 am

Hi All ,

I am not using still toolbar and struggling to display images on the Ttool bar button. I do not see any images on the toolbar. This time I am using Borland C++ 582 but still there is same issue. I do not know whats going wrong. I copied bitmap folder also from FWH folder to my application folder but still it does not work.

Code : FWH/SAMPLES/toolbar3.prg

Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: Toolbar Images does NOT display LNK4088 ERROR

Postby shri_fwh » Sun Nov 10, 2013 11:53 am

Hi All ,

Apologize to all. It was my mistake. I had not included the resource file into list so that is why it was not displaying the images.

Now I have included the resource file and it working fine.


Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 96 guests