Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread JonY via Mingw-w64-public
On 3/7/21 7:41 AM, scr3a...@auresium.com wrote: Mmmh somehow the attachement didn't follow my last message. Sorry for the spam. I hope this one will do it. Scr3am Patch looks good to me, applied to master branch. OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread scr3amer
Mmmh somehow the attachement didn't follow my last message. Sorry for the spam. I hope this one will do it. Scr3am Le 2021-03-07 07:01, JonY via Mingw-w64-public a écrit : On 3/5/21 2:01 PM, Liu Hao wrote: Please send the patch for review here on the mailing list. Do not use the merge

Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread scr3amer
Oops sorry. I thought it would have been easier with that system. My bad. Please find the patch enclosed to this mail. Just to be sure that it is the proper file format I used this command to generate it: git format-patch -1 HEAD Is it good ? One last thing, pure curiosity but is there a

Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread JonY via Mingw-w64-public
On 3/5/21 2:01 PM, Liu Hao wrote: 在 2021-03-05 08:10, scr3a...@auresium.com 写道: Note the difference : PSTR vs PCSTR. I replaced PSTR with PCSTR locally to fix a build issue I had and it was enough. Is it a good fix ? If yes should I send a patch here on the mailing list ? This looks

Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread scr3amer
Hello Liu, Thanks for the quick reply. I submitted a pull request (hoping it makes things easier than just a patch in a mailing list). https://sourceforge.net/p/mingw-w64/mingw-w64/merge-requests/17/ Cheers, Scr3am Liu Hao a écrit : 在 2021-03-05 08:10, scr3a...@auresium.com 写道: Note

Re: [Mingw-w64-public] mingw And dlopen

2021-03-06 Thread Biswapriyo Nath
In Microsoft Windows platform, LoadLibrary function is used to load DLLs dynamically. Some projects do like this: #ifdef _WIN32 ret = LoadLibrary(...) #else ret = dlopen(...) #endif If you want to use dlopen() in Microsoft Windows platform there is an unofficial wrapper repository here

Re: [Mingw-w64-public] mingw And dlopen

2021-03-06 Thread Vincent Torri
Hello On Sat, Mar 6, 2021 at 8:48 AM Thomas Dineen wrote: > > Gentle People: > > Do any of you have experience with Mingw gcc and dlopen for > dynamic (under application > program control) loading of libs. Specifically I am looking at passing > externs into C functions > included in a dll