Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
842a7bcb
Kaydet (Commit)
842a7bcb
authored
Agu 02, 2010
tarafından
Matthias Huetsch [mhu]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mhu23 #i113531# use recommended Windows linker flags and DLL search path.
üst
5394e06d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
salinit.cxx
sal/osl/w32/salinit.cxx
+20
-0
No files found.
sal/osl/w32/salinit.cxx
Dosyayı görüntüle @
842a7bcb
...
...
@@ -40,6 +40,26 @@ extern "C" {
void
SAL_CALL
sal_detail_initialize
(
int
argc
,
char
**
argv
)
{
// SetProcessDEPPolicy(PROCESS_DEP_ENABLE);
// SetDllDirectoryW(L"");
// SetSearchPathMode(
// BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE | BASE_SEARCH_PATH_PERMANENT);
HMODULE
h
=
GetModuleHandleW
(
L"kernel32.dll"
);
if
(
h
!=
0
)
{
FARPROC
p
=
GetProcAddress
(
h
,
"SetProcessDEPPolicy"
);
if
(
p
!=
0
)
{
reinterpret_cast
<
BOOL
(
WINAPI
*
)(
DWORD
)
>
(
p
)(
0x00000001
);
}
p
=
GetProcAddress
(
h
,
"SetDllDirectoryW"
);
if
(
p
!=
0
)
{
reinterpret_cast
<
BOOL
(
WINAPI
*
)(
LPCWSTR
)
>
(
p
)(
L""
);
}
p
=
GetProcAddress
(
h
,
"SetSearchPathMode"
);
if
(
p
!=
0
)
{
reinterpret_cast
<
BOOL
(
WINAPI
*
)(
DWORD
)
>
(
p
)(
0x8001
);
}
}
WSADATA
wsaData
;
int
error
;
WORD
wVersionRequested
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment