Search found 5188 matches

by ts-soft
Wed Aug 08, 2018 8:56 am
Forum: Tricks 'n' Tips
Topic: Module Advanced Gadget Functions (All OS)
Replies: 25
Views: 8584

Re: Module Advanced Gadget Functions (All OS)

Why don't you use CommonConstants? CompilerIf Defined(CommonConstants, #PB_Module) = 0 DeclareModule CommonConstants ; Form Enumeration FormWindow EndEnumeration Enumeration FormGadget EndEnumeration Enumeration FormMenu EndEnumeration Enumeration FormImage EndEnumeration Enumeration FormFont EndEnu...
by ts-soft
Thu Jul 19, 2018 10:22 am
Forum: Feature Requests and Wishlists
Topic: Remove requirement for matching "Module" for "DeclareModule"
Replies: 7
Views: 2065

Re: Remove requirement for matching "Module" for "DeclareMod

+1 and versa vice DeclareModule CommonConstants ; Form Enumeration FormWindow EndEnumeration Enumeration FormGadget EndEnumeration Enumeration FormMenu EndEnumeration Enumeration FormImage EndEnumeration Enumeration FormFont EndEnumeration ; Event Enumeration EventCustom #PB_Event_FirstCustomValue E...
by ts-soft
Tue Jul 10, 2018 8:08 am
Forum: Coding Questions
Topic: UTC Time
Replies: 23
Views: 4139

Re: UTC Time

idle wrote:If I change my system time to display UTC , I still get the correct value :?
My Bad, i have used linux, sorry
by ts-soft
Mon Jul 09, 2018 12:44 pm
Forum: Coding Questions
Topic: UTC Time
Replies: 23
Views: 4139

Re: UTC Time

I have utc in my computer-bios, so your code shows the false value :)

Image
by ts-soft
Sat Jul 07, 2018 7:48 pm
Forum: Feature Requests and Wishlists
Topic: #PB_*_FirstCustomValue should work like MacroExpandedCount
Replies: 9
Views: 1971

Re: #PB_*_FirstCustomValue should work like MacroExpandedCou

Most problems like this can you solve with my include "CommonConstants" CompilerIf Defined(CommonConstants, #PB_Module) = 0 DeclareModule CommonConstants ; Form Enumeration FormWindow EndEnumeration Enumeration FormGadget EndEnumeration Enumeration FormMenu EndEnumeration Enumeration FormI...
by ts-soft
Wed Apr 25, 2018 5:03 pm
Forum: Coding Questions
Topic: GPU card info ...
Replies: 7
Views: 1805

Re: GPU card info ...

Here a Version of WMI by nco2k, some Changes by me :wink: (i can't find the thread by nco2k) ;WMI by nco2k for PureBasic 5.41 LTS #RPC_C_AUTHN_WINNT = 10 #RPC_C_AUTHN_LEVEL_CALL = 3 #RPC_C_AUTHN_LEVEL_PKT_PRIVACY = 6 #RPC_C_AUTHZ_NONE = 0 #RPC_C_IMP_LEVEL_IMPERSONATE = 3 #RPC_E_CHANGED_MODE = $80010...
by ts-soft
Sun Apr 15, 2018 1:13 pm
Forum: Coding Questions
Topic: Are structures private to procedures?
Replies: 5
Views: 1277

Re: Are structures private to procedures?

The structuredefinition is always global, a compilerdirective!
This have nothing to do with the variable you are using with this structure.
by ts-soft
Mon Feb 26, 2018 5:56 pm
Forum: Windows
Topic: POLINK: fatal error:
Replies: 10
Views: 5271

Re: POLINK: fatal error:

fryquez wrote:Why is nobody reporting this polink problem to Pelle?
It is not a problem with Pelle, is a problem with Windows 10 and Pelle. Microsoft have made the errorcode.
by ts-soft
Sat Feb 24, 2018 9:36 pm
Forum: Windows
Topic: POLINK: fatal error:
Replies: 10
Views: 5271

Re: POLINK: fatal error:

see here: http://www.purebasic.fr/english/viewtop ... 19#p518619
I think, is a bug in windows 10 insider Preview 17025
by ts-soft
Fri Jan 19, 2018 4:28 pm
Forum: Feature Requests and Wishlists
Topic: Print / PrintN with Flag #PB_Ascii / #PB_UTF8 / #PB_Unicode
Replies: 3
Views: 1460

Re: Print / PrintN with Flag #PB_Ascii / #PB_UTF8 / #PB_Unic

And a Flag for OEM: Print("blabla", #PB_OEMtoCHAR)
Print("blabla", #PB_CHARtoOEM)
by ts-soft
Thu Dec 21, 2017 8:53 pm
Forum: Coding Questions
Topic: Enumeration #PB_Event_FirstCustomValue
Replies: 2
Views: 899

Re: Enumeration #PB_Event_FirstCustomValue

Here an example with modules! CompilerIf Defined(CommonConstants, #PB_Module) = 0 DeclareModule CommonConstants ; Form Enumeration FormWindow EndEnumeration Enumeration FormGadget EndEnumeration Enumeration FormMenu EndEnumeration Enumeration FormImage EndEnumeration Enumeration FormFont EndEnumerat...
by ts-soft
Tue Nov 21, 2017 2:23 pm
Forum: Coding Questions
Topic: define without variable
Replies: 1
Views: 763

Re: define without variable

This was changed, allways integer default!
2. März 2017 : Version 5.60 wrote:- Geändert: 'define.b' Syntax zum Ändern des Standard-Typs entfernt, da dies schwer zu findende Bugs hervorrufen konnte.
Translated: Changed: 'define.b' removed syntax for changing the default type as this could cause hard-to-find bugs
by ts-soft
Sat Nov 04, 2017 11:56 am
Forum: Coding Questions
Topic: PB Bug or OSK.EXE Bug
Replies: 4
Views: 1407

Re: PB Bug or OSK.EXE Bug

Run without problems on win 10!
Only the keyboard is over the stickywindow, but this should normal :wink:
by ts-soft
Fri Oct 13, 2017 2:20 pm
Forum: Tricks 'n' Tips
Topic: [Module] DPI Awareness
Replies: 17
Views: 10052

Re: DPI Awareness Module

@Thunder93

I get a ima with windows 10 Version 1709 (Build 16299.15) (x86 and x64)! Fall Creators Update

Code: Select all

135:   RetrVal = GetProcessDpiAwareness(#Null, @DPI_UNAWARE)
All other windows version running without a error.

greetings
Thomas