Search found 561 matches

by Denis
Mon Oct 25, 2021 7:51 am
Forum: Tricks 'n' Tips
Topic: Modular alternative for SetWindowCallback
Replies: 10
Views: 529

Re: Modular alternative for SetWindowCallback

perhaps the following set of functions can be used to sub-unsub/class windows instead of SetWindowLongPtr:

DefSubclassProc
GetWindowSubclass
SetWindowSubclass
RemoveWindowSubclass

Blog from Raymond Chen about these functions
https://devblogs.microsoft.com/oldnewth ... 0/?p=41883
by Denis
Wed Oct 13, 2021 5:51 am
Forum: Bugs - Windows
Topic: Polink error with personnal user asm lib x86 Backend_C only
Replies: 7
Views: 1207

Re: Polink error with personnal user asm lib x86 Backend_C only

Hope this new version will also solve the problem i reported here with asm lib. for now i wasn't able to get it work (I've tried many different ways to code desc file). If the final version of the library should be different in asm and C, this will cause a problem with the compiler because the user ...
by Denis
Sat Oct 09, 2021 6:31 am
Forum: Tricks 'n' Tips
Topic: Extract Icon from Dll/exe at non standard size(WINDOWS ONLY)
Replies: 14
Views: 2384

Re: Extract Icon from Dll/exe at non standard size(WINDOWS ONLY)

Thanks tatanas, i discover this API. I was working a lot about Icons, but even today, I don't clearly understand the difference between the small and large icons. Any Idea? i've tested your code with small Icon and it seems to works. I don't know if it will works with all Icon of all files. I still ...
by Denis
Fri Oct 08, 2021 8:55 am
Forum: Bugs - Windows
Topic: Polink error with personnal user asm lib x86 Backend_C only
Replies: 7
Views: 1207

Polink error with personnal user asm lib x86 Backend_C only

Fred, as you tell me, asm lib are compatible with C backend. With all my asm libs i use, i get an Polink error only with x86 Backend_C. All is Ok with other x86 versions (Ok with 6.00 alpha 5 asm backend) All is Ok with all x64 versions (no decoration) all functions are declared in descriptor file a...
by Denis
Fri Oct 08, 2021 6:41 am
Forum: Windows
Topic: Save an image (CreateImage()) as a .ico file
Replies: 4
Views: 1034

Re: Save an image (CreateImage()) as a .ico file

A bit of reading about icons Icons by John Hornick The evolution of the ICO file format, part 1: Monochrome beginnings The evolution of the ICO file format, part 2: Now in color! The evolution of the ICO file format, part 3: Alpha-blended images The evolution of the ICO file format, part 4: PNG imag...
by Denis
Sat Oct 02, 2021 6:13 pm
Forum: Coding Questions
Topic: Did ASM syntax changed for PB 6.00 alfa?
Replies: 27
Views: 4661

Re: Did ASM syntax changed for PB 6.00 alfa?

It's not a PB problem. Rinzwind is right. it's a CPU plateform limitation. You compile in 32 bit mode, so PUSH/POP EDI is correct (RDI doesn't exist in 32 bit). You compile in 64 bit mode (so compiler 64 not compiler 32), so PUSH/POP EDI is not correct. There is no problem to run a 32 bit exe under ...
by Denis
Sat Oct 02, 2021 8:41 am
Forum: Coding Questions
Topic: Did ASM syntax changed for PB 6.00 alfa?
Replies: 27
Views: 4661

Re: Did ASM syntax changed for PB 6.00 alfa?

Intel documentation about push instruction In 64-bit mode PUSH r/m32 is N.E. i.e. N.E. — Indicates an instruction syntax is not encodable in 64-bit mode (it may represent part of a sequence of valid instructions in other modes). AMD documentation In 64-bit mode, this instruction defaults to a 64-bit...
by Denis
Fri Sep 24, 2021 5:17 am
Forum: Announcement
Topic: My Wifi Keys (fr-uk-de compatible)
Replies: 15
Views: 2645

Re: My Wifi Keys

Vraiment Sympa!

Image
by Denis
Thu Aug 19, 2021 8:47 am
Forum: Coding Questions
Topic: Unable to get UserLibraries lib function adress
Replies: 11
Views: 2797

Re: Unable to get UserLibraries lib function adress

So where is the bug?
(See the first post)
for example for the fonction of my userlib Is_MMX()

Code: Select all

*pt = @Is_MMX()
is not supported
by Denis
Wed Aug 18, 2021 9:01 am
Forum: Coding Questions
Topic: Unable to get UserLibraries lib function adress
Replies: 11
Views: 2797

Re: Unable to get UserLibraries lib function adress

yeah,
another interesting way! :wink:
by Denis
Tue Aug 17, 2021 5:20 am
Forum: Coding Questions
Topic: Unable to get UserLibraries lib function adress
Replies: 11
Views: 2797

Re: Unable to get UserLibraries lib function adress

Mijikai What exactly are you doing with prototypes? I trying to add examples and for some function, i will emulate a false return (failure) value and load the correct function with prototype, i.e. another asm function written if the Is_xx() function failed. There are interesting examples on the for...
by Denis
Mon Aug 16, 2021 6:28 pm
Forum: Coding Questions
Topic: Unable to get UserLibraries lib function adress
Replies: 11
Views: 2797

Re: Unable to get UserLibraries lib function adress

and for example the generic function to detect AVX, FMA, VAES, VPCLMULQDQ, but ... i use XGETBV without detecting if it is supported, so a lot of work is comming for me The example is based on an Intel code inside the monumental documentation ... ; ; X64 UNICODE ; ;**********************************...
by Denis
Mon Aug 16, 2021 5:59 pm
Forum: Coding Questions
Topic: Unable to get UserLibraries lib function adress
Replies: 11
Views: 2797

Re: Unable to get UserLibraries lib function adress

Hi Mijikai, don't know if it will answer you Based on An initFunction - -> Init_Processor - (When you create an userlib) : As PB, i use include file with FASM X64 version ; ; X64 UNICODE ; ;******************************************************** ; Init_Processor() ; ; Description : ; ------------- ...
by Denis
Sun Aug 15, 2021 5:59 pm
Forum: Coding Questions
Topic: Unable to get UserLibraries lib function adress
Replies: 11
Views: 2797

Unable to get UserLibraries lib function adress

Salut Fred, I get the same problem with PB 5.73 LTS (windows - x86), PB 6.00 alpha 3 (windows - x64) and PB 6.00 alpha 3 C backend (windows - x64) . I'm on an asm lib (developed with PB 5.73 LTS (windows - x86)/PB 6.00 alpha 3 (windows - x64)). I want to use prototype with PB but it's not possible t...