Search:

Type: Posts; User: Dragokas

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    7,826

    Re: Unicode aware VB6 functions replacement

    reexre, you can extract snippets from here:

    PutStringUnicode(hFile As Long, Optional pos As Long, Optional sStr As String) As Boolean
    PutString(hFile As Long, Optional pos As Long, Optional sStr...
  2. Re: VBWERX Core Language Extensions - need source code

    Yeah, I know. But, if there is already the source, I don't want to make the single oversight on possible incorrect decompilation which can cost me ghost bugs.
  3. VBWERX Core Language Extensions - need source code

    I'm quite long time ago using this VB6.tlb

    I'm curious, if somebody have the source code of it?
  4. Re: How do I get the API's definitions if they are undoc as several cool Shell32 API'

    Which one?

    There are at least 2 ways doing it:

    1) Passive method: in IDA w/ HexRays plugin: open the dll having the functions of your interest. When app asks for debug symbols, you need to...
  5. Re: [VB6, twinBASIC] Getting the full path of all processes when not elevated

    It's curious observation that *for some* processes:
    - SystemProcessIdInformation returns incorrect letter case for folder & correct for file names.
    - GetModuleFileNameEx vice versa returns...
  6. Replies
    24
    Views
    2,228

    Re: Dynamically initialize SxS information?

    What is the reason in dynamic SxS loading? - My application is easily loading with reg-free manifest and missing dependency without errors while you load from the Main() or load form having no...
  7. Re: Is there a way to know if caller expecting an object?

    dz32, surely I can pass more data to callee, or create different method.
    But the question is: can callee know what type of variable (object or not) the caller is waiting for without passing...
  8. Is there a way to know if caller expecting an object?

    main:



    Dim c As New Class1

    'case 1
    Dim item As String
    item = c.item
  9. Replies
    25
    Views
    2,067

    Re: How to hide process by vb6?

    xiaoyao, surely you may damage hard drive by unexpected system shutdown. Run disk check.
    Also, I wouldn't run low-level API code, when 2 people told you it is incorrect.
  10. Replies
    7
    Views
    7,826

    Re: Unicode aware VB6 functions replacement

    Well, I must give outdated thank to @Krool, that's correct remark. Sorry, for not answering. Were bad times.

    @xiaoyao, it's short but not reliable compared to mine. Always need to normalize,...
  11. Re: VB6 Closes when trying to run in IDE or Comple exe

    Did you run as elevated user?
    If you already checked with sfc/dism, are logs report no problems? Are there items restored?
    Check there are no write permission issue in folders %Temp% and C:\Program...
  12. Re: SetThreadPriority vs Task manager process priority

    You'll never need to set that level of priority unless you're writing an exploit.
    That thing will completely pause other processes with lower priority from execution.
  13. Replies
    25
    Views
    2,067

    Re: How to hide process by vb6?

    Yeah, the structure is incorrect and lot of software aware of it to know how to "unlock". There is also a bug abusing on Win7 making app non-killable, but it is making app un-stable when accessing to...
  14. Replies
    25
    Views
    2,067

    Re: How to hide process by vb6?

    It is sometimes useful when you try to hide monitor software from malware.

    P.S. Cool to know, you're already coding drivers ))
  15. Replies
    25
    Views
    2,067

    Re: How to hide process by vb6?

    Only driver can open physical memory directly.

    What are you hiding from?
  16. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    wqweto, nice to know, good addition!
    I also remembered some users complained about user context %TMP% pointing to C:\WINDOWS\Temp (quick googled example).
    Potentially, that may be vbwins' issue....
  17. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    vbwins, that may indicate your app had not enough access permissions to the temp folder or its DACL is modified.
    I have no problem in running VB6 apps with non-elevated context or through the user...
  18. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    I'm using for years this minimal sequence (no complaints as of now among various configs), resource hacker show it goes in such order:



    32x32 (24 bit) - index 1
    16x16 (24 bit) - index 2...
  19. Re: [VB6, twinBASIC] Getting the full path of all processes when not elevated

    fafalone, heh, the case when we both won from language barrier:

    I meant other people's deсlarations, mostly in C++, all over in the articles in Internet with random errors.
    However, I just...
  20. Re: [VB6, twinBASIC] Getting the full path of all processes when not elevated

    Thanks.
    Very useful info as well as your universal PEB. I saw a lot of mistakes all over when ppl try to declare it.
  21. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    Figured out the reason of a such error.
    In my case looks like a bug in Windows.

    In short: contents of the icon doesn't matter*. The problem is in modified %TEMP%

    As you perhaps know(?), if you...
  22. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    yereverluvinuncleber, you can't be sure. The error is really very rare. Like 1 of 300 machines, maybe more.

    Thanks for suggestion to use GreenFish. It support re-order by drag & drop. It was one...
  23. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    very old thread, but maybe somebody still alive here...

    @anderci, in post #42, I do not understand how do you able to solve the issue... so, all you did is just removed stdole2.tlb dependency?
    ...
  24. Replies
    3,724
    Views
    1,847,111

    Re: CommonControls (Replacement of the MS common controls)

    @HackerVlad:



    Option Explicit

    Private Declare Function GetKeyState Lib "user32.dll" (ByVal nVirtKey As Long) As Integer
    Private Declare Function GetMem2 Lib "msvbvm60.dll" (Src As Any, Dst...
  25. Replies
    3,724
    Views
    1,847,111

    Re: CommonControls (Replacement of the MS common controls)

    Thank a much Krool. I overlooked this property.
  26. Replies
    3,724
    Views
    1,847,111

    Re: CommonControls (Replacement of the MS common controls)

    Possible bug with ListBox style "Checkbox". Can't set checkbox to be checked. Is VBCCR have different property?

    Repro:
    Add VB ListBox (Style:Checkbox) & VBCCR ListBox (Style:ListStyleCheckbox)...
  27. Replies
    33
    Views
    18,284

    Re: OS Version information class

    Ok, since you already published it on GitHub, it'll be ok to just mention your fork in my post as x64 IDE compatible, because it is possible you want to continue updating it, so not require my...
  28. Replies
    33
    Views
    18,284

    Re: OS Version information class

    I rewrote it with dynamic alloc. Hope there is no room to break something in x64 using the way I did it.


    groupsCount = InfoBuffer(0)
    ReDim tpGroups(groupsCount - 1) As SID_AND_ATTRIBUTES

    Dim...
  29. Replies
    33
    Views
    18,284

    Re: OS Version information class

    Ok, fixed, and updated 1st post to final version.
  30. Replies
    33
    Views
    18,284

    Re: OS Version information class

    Actually, I've no idea why GetTokenInformation returns that large amount of buffer required.
    For me in VB6 IDE in Win7x64, BufferSize of TOKEN_GROUPS requested == 416, when tpTokens.GroupCount ==...
  31. Replies
    33
    Views
    18,284

    Re: OS Version information class

    fafalone, cool. Thank you. Looks good. Not the most simple update considering I used few non-trivial reg query prototypes, with byval string etc, I don't usually using anymore.

    I updated first...
  32. Replies
    33
    Views
    18,284

    Re: OS Version information class

    fafalone, sure.
    You can make port or (in case it will be backward-compatible with VB6, e.g. with #Conditional options) you can freely post it here and I'll include it in my primary project, so the...
  33. Replies
    33
    Views
    18,284

    Re: OS Version information class

    Updated to v1.15



    Improved Secure Boot state check.

    List of integrity levels appended with:
    - Medium Plus
    - Secure Process
  34. Re: Is there any way to access the interfaces in Win as API?

    Can you provide a link please?
  35. Replies
    14
    Views
    5,605

    Re: I see the emails are back

    Are email notification of topic subscription work? Or repair still in progress?
  36. How to convert VB WinAPI declares to ODL?

    Hi,
    Is there a ready tool to automate preparing ODL (for TLB) by parsing from my VB6 WinAPI Declares?
    I can't use other TLB blindly, because I'm afraid byval/byref is differently declared there and...
  37. Re: How to use VB6 to automatically detect text file encoding format

    Except your post # 2, if text file doesn't have BOM, here is my solution to detect whether text encoding is UTF8.
    Function checks each character for compliance with UTF8 standard.


    Option...
  38. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Fixed with manual OCX recompilation + UMMM. Works well in root, and in subfolder too.
    Also, tried again with pre-compiled OCX from GitHub + manifest in 1st post (+also tried with UMMM). In both...
  39. Replies
    3,724
    Views
    1,847,111

    Re: CommonControls (Replacement of the MS common controls)

    Krool, thanks!
    I forgot to re-register as HKCU. Works good.

    Have a nice day!
  40. Replies
    3,724
    Views
    1,847,111

    Re: CommonControls (Replacement of the MS common controls)

    How to compile OCX version? Is there a special instruction?
    I'm receiving the error while compilation: "Object doesn't support this property or method" pointing to:


    Public Function...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width