| | |
Cygwin/GCC to VC8 conversion question
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hi Folk
An aside from the computability issues. I am running into a specific error where the
best solution eludes me. Suggestions please!
I am looking for advice from someone who may have seen this before:
Compiling manifest to resources...
Linking...
sub_proc.obj : error LNK2019: unresolved external symbol __imp__InitializeSecurityDescriptor@8 referenced in function _process_init
Debug/make_msvc.net2003.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\cygwin\usr\src\make-3.81-2\Debug\BuildLog.htm"
make_msvc.net2003 - 2 error(s), 205 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
This is apparently from:
*ANY IDEAS?*
I love this group and have been reading it for a long time, but rarely posted. I imagine
my posts will be more frequent now that I am working with these tools. Thank all of
you for a great thread.
73
-Grace
NNNN
z
An aside from the computability issues. I am running into a specific error where the
best solution eludes me. Suggestions please!
I am looking for advice from someone who may have seen this before:
Compiling manifest to resources...
Linking...
sub_proc.obj : error LNK2019: unresolved external symbol __imp__InitializeSecurityDescriptor@8 referenced in function _process_init
Debug/make_msvc.net2003.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\cygwin\usr\src\make-3.81-2\Debug\BuildLog.htm"
make_msvc.net2003 - 2 error(s), 205 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
This is apparently from:
C++ Syntax (Toggle Plain Text)
/* We can't use NULL for lpSecurityDescriptor because that uses the default security descriptor of the calling process. Instead we use a security descriptor with no DACL. This allows nonrestricted access to the associated objects. */ if (!InitializeSecurityDescriptor((PSECURITY_DESCRIPTOR)(&sd), SECURITY_DESCRIPTOR_REVISION)) { pproc->last_err = GetLastError(); pproc->lerrno = E_SCALL; return((HANDLE)pproc); }
I love this group and have been reading it for a long time, but rarely posted. I imagine
my posts will be more frequent now that I am working with these tools. Thank all of
you for a great thread.
73
-Grace
NNNN
z
Last edited by Tekmaven; Jul 24th, 2008 at 3:04 am. Reason: Code tags
73s
-Grace
NNNN
z
-Grace
NNNN
z
Thank you for your response. I am having trouble now locating Advapi32.h and there is no referance to this library in the Cygwin sources (gnu) for this library. I do see an advapi32.h in the Debugging tools or Windows Directory. I see that there is a file named AdvAPI32.Lib in the Platform SDK\Lib folder. Specifically, how should I modify the code to use the appropriate library? 73 -Grace NNNN z
73s
-Grace
NNNN
z
-Grace
NNNN
z
![]() |
Other Threads in the C++ Forum
- Previous Thread: port programming
- Next Thread: REg: timestamp with milliseconds linux c++
Views: 770 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






