Results 1 to 7 of 7

Thread: OCX Decryption

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Question OCX Decryption

    Hi,
    I had ActiveX controls doen with VB 6.0.
    I am planning to disrbute the OCXs.
    Is it posible the end user decrypt OCX binary file to the source code?
    Regards

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: OCX Decryption

    Since no one replied to you...

    I'm not 100% sure... but I think an OCX is compiled the same way as an EXE. So if an EXE cannot be decompiled, then an OCX cannot be decompiled also.

  3. #3
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: OCX Decryption

    Quote Originally Posted by CVMichael
    Since no one replied to you...

    I'm not 100% sure... but I think an OCX is compiled the same way as an EXE. So if an EXE cannot be decompiled, then an OCX cannot be decompiled also.

    I'm pretty shure they are complied in the same way as an EXE file so, I agree with you they probably cannot be decompiled.

    You may be able to get the source though, I'm shure they are included with the MSDN CD-ROM.


    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  4. #4
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: OCX Decryption

    Quote Originally Posted by sciguyryan
    I'm pretty shure they are complied in the same way as an EXE file so, I agree with you they probably cannot be decompiled.

    You may be able to get the source though, I'm shure they are included with the MSDN CD-ROM.
    Huh ? Your kinda contradicting yourself there..

    First you agree with me that it cannot be decompiled, but then you say you can probably get the source code...

    Decompiling IS getting the source code...

  5. #5
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: OCX Decryption

    Quote Originally Posted by CVMichael
    Huh ? Your kinda contradicting yourself there..

    First you agree with me that it cannot be decompiled, but then you say you can probably get the source code...

    Decompiling IS getting the source code...

    No, what I asid was you may be able to get the code from before it was complied. Like I said I think those are included with the MSDN CD-ROM

    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  6. #6

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Re: OCX Decryption

    Thanks,
    SO the finale result is No way to decompile the OCX back to its source code

  7. #7
    Junior Member
    Join Date
    May 2005
    Location
    California
    Posts
    22

    Re: OCX Decryption

    At its core, an OCX is nothing more than a DLL with a type library and several exported functions used to self-register and instantiate the object. It can be disassembled, but its not pcode that can be decompiled back into its original source.
    Mike Stefanik
    sockettools.com

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