You use SizeOf(Quad) to build the 2 vtables.
You should use SizeOf(Integer) instead and it will work on 32bit compiler, too.
Search found 294 matches
- Wed Feb 19, 2025 12:30 pm
- Forum: Tricks 'n' Tips
- Topic: WASAPI Process Notifications (System Wide)
- Replies: 19
- Views: 3448
- Wed Feb 05, 2025 10:44 am
- Forum: Coding Questions
- Topic: [SOLVED] COM help!
- Replies: 2
- Views: 1554
Re: COM help!
The inferaces are wrong defined.
Interface IAudioSessionManager2 Extends IUnknown
GetSessionEnumerator(SessionEnum)
RegisterDuckNotification(sessionID, duckNotification)
RegisterSessionNotification(Notification)
UnregisterDuckNotification(duckNotification)
UnregisterSessionNotification ...
Interface IAudioSessionManager2 Extends IUnknown
GetSessionEnumerator(SessionEnum)
RegisterDuckNotification(sessionID, duckNotification)
RegisterSessionNotification(Notification)
UnregisterDuckNotification(duckNotification)
UnregisterSessionNotification ...
- Sun Dec 22, 2024 7:31 pm
- Forum: Announcement
- Topic: PureBasic 6.20 is out !
- Replies: 148
- Views: 91038
Re: PureBasic 6.20 beta 2 is out !
Thanks for windows arm64 support, works great.
I think libucrt.lib should be ditched.
There is no point for static linking, as all Windows ARM systems already have the UCRT runtime.
I think libucrt.lib should be ditched.
There is no point for static linking, as all Windows ARM systems already have the UCRT runtime.
- Mon Dec 09, 2024 4:20 pm
- Forum: Feature Requests and Wishlists
- Topic: Allow Enter key to action gadgets
- Replies: 19
- Views: 6161
Re: Allow Enter key to action gadgets
The 3 mentioned GadgetType are ignored, all other will generate a PB_EventType_LeftClick event on Enter key release.PBJim wrote: Mon Dec 09, 2024 2:49 pm Incidentally, what happens in the below logic? Is this to allow Enter to be passed through as normal in those gadgets?
But yourself should decide on wich GadgetType you want this.
- Mon Dec 09, 2024 10:17 am
- Forum: Feature Requests and Wishlists
- Topic: Allow Enter key to action gadgets
- Replies: 19
- Views: 6161
Re: Allow Enter key to action gadgets
Use a keyboard hook.
Enumeration Window
#WinApp
EndEnumeration
Procedure KeyboardProc(nCode.l, wParam, lParam)
If nCode = #HC_ACTION And wParam = #VK_RETURN And (lParam >> 31) & 1
Protected ActiveGadget = GetActiveGadget()
If ActiveGadget <> -1
Select GadgetType(ActiveGadget)
Case #PB ...
Enumeration Window
#WinApp
EndEnumeration
Procedure KeyboardProc(nCode.l, wParam, lParam)
If nCode = #HC_ACTION And wParam = #VK_RETURN And (lParam >> 31) & 1
Protected ActiveGadget = GetActiveGadget()
If ActiveGadget <> -1
Select GadgetType(ActiveGadget)
Case #PB ...
- Thu Oct 31, 2024 2:01 pm
- Forum: The PureBasic Editor
- Topic: [SOLVED] Very slow editor - independent of settings
- Replies: 107
- Views: 52268
Re: Very slow editor - independent of settings
There is not really one. The shell extension form 1&1 is the problem.dangerfreak wrote: Thu Oct 31, 2024 1:26 pm But where is the correlation between a network drive and an IDE?!
Can't you map the cloud using WebDav?
- Sun Oct 20, 2024 8:44 am
- Forum: Coding Questions
- Topic: Windows/UAC - Launch another program not as administrator?
- Replies: 19
- Views: 4583
- Thu Aug 22, 2024 2:17 pm
- Forum: Coding Questions
- Topic: Rebirth oldest theme - "Enumerate hardware devices (Windows)"
- Replies: 13
- Views: 2397
Re: Rebirth oldest theme - "Enumerate hardware devices (Windows)"
You use #SPDRP_DEVICEDESC for Property, maybe you want #SPDRP_FRIENDLYNAME.
Code: Select all
#SPDRP_FRIENDLYNAME = $0C- Thu Aug 22, 2024 9:14 am
- Forum: Coding Questions
- Topic: Rebirth oldest theme - "Enumerate hardware devices (Windows)"
- Replies: 13
- Views: 2397
Re: Rebirth oldest theme - "Enumerate hardware devices (Windows)"
This should fix x64 compatibility, but error handling should be added still.
EnableExplicit
; How to enumerate hardware devices by using SetupDi calls
; mskuma 26 June 2006
; adapted from http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q259695
; (Windows only)
#DIGCF_PRESENT = $00000002 ...
EnableExplicit
; How to enumerate hardware devices by using SetupDi calls
; mskuma 26 June 2006
; adapted from http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q259695
; (Windows only)
#DIGCF_PRESENT = $00000002 ...
- Fri Jun 07, 2024 3:49 pm
- Forum: Coding Questions
- Topic: [PB 6.11 LTS] [Not a Bug] Can not access address of variable in module
- Replies: 2
- Views: 774
Re: [PB 6.11 LTS] Can not access address of variable in module
Put the @ after module name.
Code: Select all
Debug M_module::@g_var- Fri May 24, 2024 6:34 pm
- Forum: Coding Questions
- Topic: Lock on resizewindow() with thread.
- Replies: 5
- Views: 1041
Re: Lock on resizewindow() with thread.
ResizeWindow() does send messages to the owning (creator of the window) thread,
but you are blocking it with WaitThread().
Avoid blocking function in the main GUI thread and let it process WindowEvent() calls.
but you are blocking it with WaitThread().
Avoid blocking function in the main GUI thread and let it process WindowEvent() calls.
- Thu May 23, 2024 7:24 pm
- Forum: Windows
- Topic: Visual Studio linker download
- Replies: 36
- Views: 11838
Re: Visual Studio linker download
There is no need for documentation, the linker will change with one of the next beta version anyway.Rinzwind wrote: Mon May 20, 2024 6:04 am Can this be documented somewhere? I wasn't aware that placing the VC folder in Compilers was an option. Only matters for asm compiler I guess?
The Pelles linker is not suited anymore.
- Fri May 17, 2024 7:44 am
- Forum: Coding Questions
- Topic: Can't locate DLL
- Replies: 3
- Views: 1167
Re: Can't locate DLL
That sqlcipher.dll has dependency, the PortableApp version needs libcrypto-1_1-x64.dll and vcruntime140.dll.
AZJIO is also right, never use GetCurrentDirectory() + "sqlcipher.dll"
AZJIO is also right, never use GetCurrentDirectory() + "sqlcipher.dll"
- Mon Apr 29, 2024 10:50 am
- Forum: Windows
- Topic: Visual Studio linker download
- Replies: 36
- Views: 11838
Re: Visual Studio linker download
If I think on how many place I used NODEFAULTLIB:libname
Update lib download for msvcrt.lib and msvcprt.lib.
Update lib download for msvcrt.lib and msvcprt.lib.
- Sun Apr 28, 2024 6:12 pm
- Forum: Windows
- Topic: Visual Studio linker download
- Replies: 36
- Views: 11838
Re: Visual Studio linker download
Interesting, working here with all my projects (at least without debugger).
Maybe some PB libs are not compatible with it yet.
Maybe some PB libs are not compatible with it yet.