Search found 177 matches

by Simo_na
Fri Feb 02, 2024 3:20 pm
Forum: Windows
Topic: Want to show a Sony image RAW file in a window
Replies: 2
Views: 826

Want to show a Sony image RAW file in a window

Hi @ all
i want to show a Sony image RAW file in a window (no full screen)
like this:
https://www.dpreview.com/reviews/image- ... 9c220b.arw
be possible to read and view these raw files with Purebasic and MS Windows 11 ?
Thank You :)
by Simo_na
Sat Jul 16, 2022 10:46 am
Forum: Coding Questions
Topic: MB/s scope grab MS Win
Replies: 11
Views: 1367

Re: MB/s scope grab MS Win

I thought there was a pointer where peek the value.
i didn't know WinSpy. Thank you
since in my opinion it is a very reliable calculation.
I am trying to write a simple 'backup' application and I would have liked to use it value since using the #FO_COPY...
by Simo_na
Fri Jul 15, 2022 8:21 pm
Forum: Coding Questions
Topic: MB/s scope grab MS Win
Replies: 11
Views: 1367

Re: MB/s scope grab MS Win

I understand what you mean...about...
Find ID of 'copy window'
and then request the 64K
converting the pointer buffer to unicode...

right ?

I thought there was something more immediate way... 8)

Thank you
by Simo_na
Fri Jul 15, 2022 5:50 pm
Forum: Coding Questions
Topic: MB/s scope grab MS Win
Replies: 11
Views: 1367

MB/s scope grab MS Win

Hello
During the operations of file copy carried by MS Windows 10/11 OS is possible to capture the MB/S scope in real time ? if yes ...how do it ?
Image
by Simo_na
Sun Jul 03, 2022 4:16 pm
Forum: Coding Questions
Topic: fileapi.h
Replies: 9
Views: 1111

Re: fileapi.h

thank you all for the help :)
by Simo_na
Sat Jul 02, 2022 8:21 pm
Forum: Coding Questions
Topic: fileapi.h
Replies: 9
Views: 1111

Re: fileapi.h

infratec wrote: Sat Jul 02, 2022 7:45 pm The link points to RemoveDirectoryA()

'A' means an ASCII string is required.
and
RemoveDirectoryW() ?

i get error with this
by Simo_na
Sat Jul 02, 2022 8:18 pm
Forum: Coding Questions
Topic: fileapi.h
Replies: 9
Views: 1111

Re: fileapi.h

infratec wrote: Sat Jul 02, 2022 7:45 pm

And why not DeleteDirectory() :?:
I'm doing some practice with 'api' :idea:
by Simo_na
Sat Jul 02, 2022 8:16 pm
Forum: Coding Questions
Topic: fileapi.h
Replies: 9
Views: 1111

Re: fileapi.h

Thank you

Writing code without pointer is wrong ?

Procedure.l MyCreateDirectory()
Protected.l out
Protected.s mydir = GetUserDirectory(#PB_Directory_Desktop)+"test"
out=CreateDirectory_(mydir, #NUL)
If out=0
th_errcode=GetLastError_()
EndIf
ProcedureReturn out
EndProcedure

Procedure.l ...
by Simo_na
Sat Jul 02, 2022 4:27 pm
Forum: Coding Questions
Topic: fileapi.h
Replies: 9
Views: 1111

fileapi.h

Hello
please, 'help me' and let me understand how to do converting this
https://docs.microsoft.com/en-us/window ... directorya
to Purebasic code.
:|
by Simo_na
Sat Jul 02, 2022 3:49 pm
Forum: Coding Questions
Topic: DeleteDirectory() command does not remove the folder...
Replies: 10
Views: 3248

Re:

oryaaaaa wrote: Sun Jul 02, 2006 6:42 pm THANKS!!!!  :D

Please add this trouble to helpfile.
Quote...
by Simo_na
Fri Jul 01, 2022 2:19 pm
Forum: Coding Questions
Topic: Simple code to change the monitor frequency
Replies: 7
Views: 1197

Re: Simple code to change the monitor frequency

;/ Initialize PureBasic desktop library
ExamineDesktops()

;/ Iterate through supported display settings and display only select criteria
While EnumDisplaySettings_(0,i,@DevMode.DEVMODE)
If DesktopWidth(0)*1.0/DesktopHeight(0)=DevMode\dmPelsWidth*1.0/DevMode\dmPelsHeight
Debug Str(DevMode ...
by Simo_na
Fri Jul 01, 2022 11:56 am
Forum: Coding Questions
Topic: Simple code to change the monitor frequency
Replies: 7
Views: 1197

Re: Simple code to change the monitor frequency

a very primitive and brutal way....but it is still a beginning.. :)

; www.purearea.net (Sourcecode collection by cnesm)
; Author: Andreas
; Date: 22. November 2003

;#############################
;Author : Andreas
;16.06.2003
;#############################

;--- Modified by Simo

NewList ...
by Simo_na
Fri Jul 01, 2022 11:31 am
Forum: Coding Questions
Topic: Simple code to change the monitor frequency
Replies: 7
Views: 1197

Re: Simple code to change the monitor frequency

Mijikai wrote: Fri Jul 01, 2022 11:04 am According to some posts it could even damaged the Monitor!
Thank you
now just find the (enumerate) table of frequencies supported by the monitor :)
by Simo_na
Fri Jul 01, 2022 10:47 am
Forum: Coding Questions
Topic: Simple code to change the monitor frequency
Replies: 7
Views: 1197

Simple code to change the monitor frequency

Hello
exists a simple code to change the monitor frequency to 120 Hz to 60 Hz or inverse ?