Search:
Type: Posts; User: wqweto
Search:
Search took 0.03 seconds.
-
I'm positive they do.
There are subtle differences with intrinsics though e.g. you cannot do CLng(AddressOf MyProc) while VBA.CLng(AddressOf MyProc) compiles fine.
Btw, in "normal" calling...
-
This is the point of the compiler "hijacking" certain functions -- it can codegen more optimal implementation based on parameters/expected result data-types so no Variant conversion happens at all.
...
-
Btw, this is the biggest lie the compiler makes you believe in. Int is an intrinsic and has nothing to with VBA.Int as its implemented as a direct call to runtime impl (one or several exports of...
-
Definitely looks like a bug in CreateIconIndirect.
In manifested IDE "CreateIcon vs GDI Scaling" sample works fine while compiled the hIcon seems to be 2x zoomed although I'm using 125% system...
-
This is not so simple to solve. Apparently there is something wrong with sqlcmd (probably a bug) which is exhibited sporadically. I'm currently unable to make it work on my machine for the life of...
-
Then you might want to try to reverse SSMS (or Skype) authentication dialogs or work with some monitoring tools (regmon, etc.) to reverse behavior.
Edit: Btw, here is a simple encryption impl...
-
There is no "SQLServer's methodology". Your screenshot is from SSMS logon dialog. This is a client tool which currently is developed outside main SQL Server development. One is written in C# while...
-
I would be interested in the link too.
TIA,
</wqw>
-
Btw, the name of the single column in OPENROWSET resultset is "BulkColumn" if you want to be explicit instead of using img.*
cheers,
</wqw>
-
Try allowing inbound traffic (UDP and TCP) on C:\Program Files (x86)\Microsoft SQL Server\90\Shared\sqlbrowser.exe in firewall if not already enabled.
SQL Server instance discovery happens with...
-
Here you go
'--- mdBinaryFile.bas
Option Explicit
#Const HasPtrSafe = (VBA7 <> 0) Or (TWINBASIC <> 0)
#If HasPtrSafe Then
Private Declare PtrSafe Function DeleteFile Lib "kernel32" Alias...
-
I usually resort to underscore suffix with Line_ in cases like this, so things get ugly really fast with Close_, Open_ and Dim sTop_ As String because Stop is reserved keyword but I need some "top"...
-
Completely forgot about Debug.Assert fix.
Btw, the Not Not MyArray compiler hack is emulated in TB with exactly the same semantics (i.e. GetMem4 of ArrPtr of MyArray)
cheers,
</wqw>
-
I thought that using Not Not MyArray hack (compiler allowing Not operator on arrays) leads to Expression too complex errors at some point during process lifetime.
This issue might be resolved I'm...
-
Try renaming C:\Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL to something else.
There is no other way to disable Data View add-in from loading on startup.
cheers,
</wqw>
-
Didn't know there are troubles with pointers arithmetic in other languages.
Now on second thought obviously pointers (i.e. char *) should be incr/decr in unsigned fashion (or signed with silent...
-
Btw, the Not Not bLocalData hack for ArrPtr impl seems dangerous.
cheers,
</wqw>
-
Curious if you found any problems with runtime operations while testing such AllocationPreference on a LAA flagged VB6 compiled process? Is the pain real?
-
MZ-Tools has a decent linter under Review Source Code menu option which flags unused routines (esp. if scoped as private) and variables/constants/enums/API declares.
cheers,
</wqw>
-
Should be possible with something similar to
Dim c As Long
Do
c = c + 1
If PeekMessage(uMsg, 0, WM_DRAWCLIPBOARD, WM_DRAWCLIPBOARD, PM_NOREMOVE) <> 0 Then
...
-
The simple fact that this lists drive letters hints this probably is drive *volume* serial and has nothing to do with physical disk serial.
-
Yes, I’ve been through the same procedure to receive a PFX (or P12) file. PFX files are container files (like AVI) so you get your “leaf” certificate, intermediary certificates and your “leaf”...
-
Start Command Prompt and type “net helpmsg 87” without the quotes.
-
You just need openssl.exe to do everything with certificates on Linux and almost everything on Windows so no need for any sketchy tools IMO.
What part of IE you use to "apply for new certificate"?...
-
Btw, here is a mdStreamSupport.bas helper modile which supports byte-arrays based chunked I/O on files through IStream interface.
Works with files above 2GB in size and with long filenames too.
...
-
Of course we should obligatory mention Boyer–Moore string-search algorithm which has the potential to obliterate any naive loop approach be it in ASM or not.
cheers,
</wqw>
-
I'm always wary of casting byte-arrays to strings after all those couttsj horror threads with byte-arrays-in-strings gone wrong :-))
What if these byte-arrays being compared are odd sized? Will it...
-
Yes, in practice the performance is not so abysmal. For instance I use InStrB for byte-arrays equality comparison like this
Private Function pvArrayEqual(baFirst() As Byte, baSecond() As Byte)...
-
InStr is an intrinsic and it does not compile to a call to VBA.InStr (unless you explicitly use VBA.InStr in your code). InStr calls __vbaInStr export of MSVBVM60.DLL directly.
Here is some...
-
Btw, voidtool's Everything has an API (custom hWnd messages) which can be used to query it's index. There is also a command-line tool to perform queries.
Another option is to implement an MFT...
-
And there is a mirror of the book's original site at http://powervb.mvps.org/
Unfortunately EditTLB works on XP/Win2003 only as far as I can remember.
cheers,
</wqw>
-
OP can start by searching sources for "Unexplained error" string for instance.
cheers,
</wqw>
-
The secret it to check if GetStdHandle(STD_OUTPUT_HANDLE) returns a true file handle i.e. if the output is redirected.
Only if the output is *not* redirected then...
-
No, it's impossible to make it work as intended reliably. It looks like it's working but it does completely different thing than a pure console application.
Last time I tried to do what you want...
-
Check this out
'Early Binding!
Dim ct1 As ADOX.Catalog
Set ct1 = New ADOX.Catalog
Dim ct2 As ADOX.Catalog
Set ct2 = CreateObject("ADOX.Catalog")
-
VB's Rnd is not very good PRNG, it's more on the side of the worse ones. The PRNG repeats after 65536 generations (or was it 32768?) not billions, so the generally the algorithm is weak and dated but...
-
Cannot hide how *glad* I am this does not work!
You don't expect me to debug it for your next ransomware, do you?
cheers,
</wqw>
-
Using New_c.Dictionary(vbLong, vbLong) instead of New_c.Dictionary<Long, Long> has many performance disadvantages. What you can do is called manual specialization i.e. manually implement...
-
In Help->About search for some graphics that say "SP6" in plain text
cheers,
</wqw>
-
|
Click Here to Expand Forum to Full Width
|