Results 1 to 22 of 22

Thread: Asian and USA Compatibility Question

Threaded View

  1. #15
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Asian and USA Compatibility Question

    Quote Originally Posted by Code Doc View Post
    Thanks a bunch. I assume that this is the CopyMemory API that I need to declare at the top:
    Code:
    Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)
    Yes. Test quickly on your system before forwarding along.

    Edited: One other thing I would recommend: Force binary comparison in your InStr() so VB doesn't try to do case conversion. This is default if one does not add "Option Compare Text" to their form/module. By you can still implicitly call it:
    Example > StartRead = InStr(1, MyData, "Hello", vbBinaryCompare)
    Last edited by LaVolpe; Oct 5th, 2009 at 04:00 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width