Search:
Type: Posts; User: quickbbbb
Search:
Search took 0.05 seconds.
-
hi~ All
use keyboard F9 to set breakpoint , win api callback can not stop in breakpoint
how to do can let win api callback stop in breakpoint ??
the following image show when code run to...
-
Ok, I see
As for you ask me "what's your goal in the end"
I want to reduce type conversion
But I found that the "Timer - tt" was very small.
So don't trouble you to help me the answer
thanks...
-
Hi Schmidt
How to success when use "Dim V1 As Long"
Private Sub Form_Load()
Dim out
Dim V1 As Long
Dim V2 As Variant
V1 = 12345
-
VB6 Cdec() very slow
VC++ EXP() Log() much faster than vb6
so I think VC++ Cdec may be also much faster than vb6
-
-
hi~ ALL
whether VC++ has function as like vb6 cdec function ?
-
hi Ben
'Public Declare Function PlanDFT Lib "FFTW3Wrapper.dll" (ByVal DimCount As Long, ByRef DimSizes As Long, ByRef Src As Double, ByRef Dest As Double, ByVal Sign As Long, ByVal Flags As Long)...
-
why ?
why use varptr will happen error ??
use varptr should be as the following
-
the issue main happen in copy array ( not happen in single Variable )
dim a(100 ) as long
dim b(100 ) as long
copymemory varptr(a(0)) , varptr(b(0)) , 101*4
..............
The previous example...
-
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
ByVal Destination As Long, _
ByVal Source As Long, _
ByVal Length As Long)
win7 64 bit + vb6
'=========
-
I has a catch err code similar the following
when uncheck "Allow Unrounded Floating Point Operations" ---> no any error
when check "Allow Unrounded Floating Point Operations" ----> msgbox...
-
it can let my app speed up 10% , so I like enabled it
-
hi ~ all
(1)
1.exe compilered with check "Allow Unrounded Floating Point Operations"
when running , 1.exe has a error
(2)
1.exe compilered with uncheck "Allow Unrounded...
-
thanks
I use * + * <> to success find
-
hi ~ ALL
private sub Form_Load
a1 = (1 + 2) <> (4 + 2) ' it has "+" and "<>" ( two keywords )
a1 = (2) <> (4)
a1 = (2-3) <> (4-3)
end sub
-
your cpu is ????
my cpu : i7 3770 + win7
tB 109: 20
VB6 in IDE: 17
VB6 exe p-code 14.6
VB6 native fast: 0.83
-
hi , Wayne
why arrary is very slow ?
Dim t As Single
Dim w As Long
Dim w2 As Long
Dim w3 As Long
-
you have to do is keep your own record of the allocation ---> I always use the way that you said
But sometimes it is danger.
2022/07/02 my app calculate value is 721221
2022/08/02 my app...
-
let my app speed up
my most issues is always about speed up!
https://www.vbforums.com/showthread.php?894326-RESOLVED-Why-VB-NET-Power-Function-is-so-fast
...
-
So is there other win api can replace GlobalSize ?
-
wow! success !!
thank you much
=======
Dim s11 As String
s11 = "123456789"
Debug.Print GlobalSize(StrPtr(s11) - 4) 'it show 32
Debug.Print LenB(s11) + 4 + 2 'it...
-
I want to get string memory size not get string length
because string may be channe by me use winapi
example
=========
Private Declare Function GlobalSize Lib "kernel32.dll" (ByVal hMem...
-
hi all ~
Private Declare Function GlobalSize Lib "kernel32.dll" (ByVal hMem As Long) As Long
Private Sub Form_Load()
Dim a(100) As Long
-
-
my ask is "How to use program to detect" not "use eye to detect"
-
yes
I mean type members is stored contiguously in one place ( no any other pointer )
-
Hi~ ALL
How to use program to detect data in struct is contiguous memory or not ?
'=====
Private Type Type_a1
'---> is contiguous memory
a1 As Long
a2(11) As Long
-
Wow, can not work in real project
Thanks
-
My vb6 ide can not find vbinstance
How to get the vbinstance ?
-
Hi. All
Dim a as new vbide.codemodule
A.addfromfile “c:zzz.txt”
But it show “activex error”
Please give me a sample code
Thanks
-
good! my app speed up 10%
-
I find a important thing
MsgBox Str(Timer - tt) ---> change as MsgBox Str(Timer - tt), , Str(k) --> let freebasic compiler not neglect k
test again call sub =============
For...
-
(1) yes , all run in *.EXE
(2) use byref
vb6 = 0.2958 second
freebasic = 0.002621 second
-
it show the following in info.txt
Compiler 1.09.0 Beta 2
gcc 9.3
-
sorry
vb6 is 0.0552 second ( not 0.552 second , I lost one 0 )
-
vb6 = 0.0552 second
freebasic = 0.000116 second
-
-
hi ~ all
Private Sub Form_Load()
Const QQ = 100000000
-
my vb6.exe not activate "compatible to XP" or "compatible to Win7"
-
hi~ all
compile the same vb6 vbp file ( code line = 120,000 )
(1) win7 : 20 sec
(2) win10 : 50 sec
|
Click Here to Expand Forum to Full Width
|