Displaying 5 results from an estimated 5 matches for "_dll".
Did you mean:
_dl
2013 Mar 19
2
Patch to add Unicode filename support for win32 flac
On 18.3.2013 12:25, Erik de Castro Lopo wrote:
> JonY wrote:
>
>> Before anyone does anything, see __wgetmainargs
>> <http://msdn.microsoft.com/en-us/library/ff770599.aspx>.
>>
>> It can expand wildcards. Since it already provides argc/argv/env, it is
>> more a less a drop-in replacement for the main() arguments.
> +1
>
> Erik
Alright, here's
2013 Mar 19
3
Patch to add Unicode filename support for win32 flac
...ns are
warrantless, if you can place malicious replacement c-runtime dll in the
exe's path you have already won.
>
> I think it is best to link it directly, please use the following
> prototype and call it directly:
>
> =============================================
> #ifdef _DLL
> #define CALL_DLLIMPORT __declspec(dllimport)
> #else
> #define CALL_DLLIMPORT
> #endif
> int __cdecl CALL_DLLIMPORT __wgetmainargs(int*, wchar_t***, wchar_t***,
> int, int*);
> =============================================
>
> This should simplify the error handling log...
2013 Mar 19
0
Patch to add Unicode filename support for win32 flac
...inargs, I have some concerns about the security
implications:
LoadLibrary("msvcrt.dll") <- Which msvcrt? Theoretical security exploit.
I think it is best to link it directly, please use the following
prototype and call it directly:
=============================================
#ifdef _DLL
#define CALL_DLLIMPORT __declspec(dllimport)
#else
#define CALL_DLLIMPORT
#endif
int __cdecl CALL_DLLIMPORT __wgetmainargs(int*, wchar_t***, wchar_t***,
int, int*);
=============================================
This should simplify the error handling logic and help against
LoadLibrary handle leaks...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
José Fonseca <jose.r.fonseca at gmail.com> writes:
> Attached are two patches with MSVC build enchancements.
>
> They are quite trivial, but were necessary to correctly link LLVM
> libraries with Mesa3D on Windows.
[snip]
> add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE )
> + add_llvm_definitions( -D_SECURE_SCL=0 )
With this setting the default LLVM build becomes
2010 Mar 06
6
[LLVMdev] [PATCH]: MSVC build enhancements
Attached are two patches with MSVC build enchancements.
They are quite trivial, but were necessary to correctly link LLVM
libraries with Mesa3D on Windows.
Jose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-to-build-against-static-MSVC-runtime.patch
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL: