- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol __imp__AllocateAndInitializeSid@44 referenced in function _fAllocateAndInitializeSid@44
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol __imp__StartServiceCtrlDispatcherA@4 referenced in function _StartServiceCtrlDisp@8
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol __imp__GetAce@12 referenced in function _fGetAce@12
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
else if (msg .eq. WM_CLOSE) then
id = iand(wparam, Z"ffff")
code = zext(iand(ishft(wparam,-16), Z"ffff"))
if (code.eq.BN_CLICKED) then
call DefaultPushbuttonCallback(dlg,id,code)
endif
! WM_DESTROY:
Generate Fortran include file
deftofd "I:IVFC99dialogResource esource.h" "I:IVFC99dialogResource esource.fd"
Compiling resources...
Rc /d "_DEBUG" /l 0x0409 /I "Resource" /fo "Debug/C99dialog.res" I:IVFC99dialogResourceC99dialog.rc
Compiling...
ifort /nologo /Zi /Od /G6 /include:"Debug/" /include:".Resource" /include:"..IncludeNewDlogmRelease" /fpscomp:nolibs /warn:truncated_source /iface:cvf /module:"Debug/" /object:"Debug/" /asmattr:source /asmfile:"Debug/" /traceback /check:bounds /libs:static /threads /winapp /c I:IVFC99dialogSourceC99DIALOGGlobals.f90
ifort /nologo /Zi /Od /G6 /include:"Debug/" /include:".Resource" /include:"..IncludeNewDlogmRelease" /fpscomp:nolibs /warn:truncated_source /iface:cvf /module:"Debug/" /object:"Debug/" /asmattr:source /asmfile:"Debug/" /traceback /check:bounds /libs:static /threads /winapp /c I:IVFC99dialogSourceC99DIALOG.f90
Linking...
Link /OUT:"Debug/C99dialog.exe" /VERSION:1.2 /INCREMENTAL:NO /NOLOGO /DEBUG /PDB:"Debug/C99dialog.pdb" /SUBSYSTEM:WINDOWS version.lib kernel32.lib /MACHINE:I386 Debug/C99DIALOGGlobals.obj Debug/C99DIALOG.obj Debug/C99dialog.res I:IVFIncludeNewdlogmDebugNewdlogm.lib
Link: executing 'link'
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol ___WSAFDIsSet@8 referenced in function _FDISSET@8
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol __imp__AllocateAndInitializeSid@44 referenced in function _fAllocateAndInitializeSid@44
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol __imp__StartServiceCtrlDispatcherA@4 referenced in function _StartServiceCtrlDisp@8
IFWIN.LIB(ifwinc.obj) : error LNK2019: unresolved external symbol __imp__GetAce@12 referenced in function _fGetAce@12
Debug/C99dialog.exe : fatal error LNK1120: 4 unresolved externals
C99dialog build failed.
ifort /nologo /O3 /G6 /assume:buffered_io /fpp /align:dcommons /align:sequence /iface:cvf /module:"Release/" /object:"Release/" /libs:static /threads /c I:IVFIncludeNewdlogmNewdlogm.f90
Creating library...
Lib /OUT:"Release/Newdlogm.lib" /NOLOGO Release/Newdlogm.obj
xilib: executing 'lib'
Newdlogm build succeeded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's your problem:
/fpscomp:nolibs
This tells the compiler to not pull in the standard Windows libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,removing fpscomp:nolibs didn't help.
In CVF I also had fpscomp:nolibs and this functioned OK.
I managed to get rid of the unresolved externals though, by adding advapi32.lib and wsock32 to the link line (/SUBSYSTEM:WINDOWS version.lib kernel32.lib advapi32.lib wsock32.lib)
But the real reason of the problem is that I have been using dfwbase.mod instead of using dfwin.mod.
In CVF dfwbase.mod contains some expilicit interfaces that are not present in IVF, so that is probably the cause.
From now on I will behave and always use ifwin and not the individual modules.
Jugoslav, you are right that I tweaked IFLOGM to make
I did use the method you mentioned with hidden buttons for Help and About entries in a menu, but I didn't think of using it for the purpose of adding functionality to
Thanks for the tip.
Regards,
Walter Kramer

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page