Results 1 to 11 of 11

Thread: MVP file

  1. #1
    Join Date
    Jun 2004
    Posts
    3

    MVP file

    Hi,

    I have created an ocx file using the workbench. Do I still need the .MVP file?

    It seems that if the .MVP file is missing I cannot run my routine successfully. Is there a way to use the ocx without the .MVP file as I do not want to have so many .MVP files in my installation directory.

    OR is there a way to combine all my .MVP files into one ocx or dll?

    Thanks.

    jolim

  2. #2
    Join Date
    Apr 2003
    Posts
    302
    Hi Jolim,

    Yes, you always need the MVP files, they are loaded by the ActiveX Control (Integration or Smart Control).


    Best Regards,

    Marc Cymontkowski

  3. #3
    Join Date
    Jun 2004
    Posts
    3
    Hi,

    Is there anyway I can combine MVP files into one or do without the MVP files?

    Thanks.

  4. #4
    Join Date
    Apr 2003
    Posts
    302
    Hi,

    No, the MVP files are required. There may be ways to integrate MVP files into the resources of an executable and at runtime save them to disc and load them, but that's a bit complicated and not recommended.


    Best Regards,

    Marc

  5. #5
    Join Date
    Jun 2004
    Posts
    2
    Hi Marc,

    I have the same query as Jolim as well. I have few concerns about the MVP file. The first concern as Jolim had mentioned, missing MVP file may cause the routine not to run well and they occupied the installation disk space too.

    Another concern is that, if the user happen to have downloaded the Montivsion Development Trial version kit. They might be able to meddle with the MVP file and disrupted the whole routine.

    On the whole, Montivision provides a powerful backend routine for digital imaging technology. My company has been trying out on the trial version and found it promising. But the main concern now is on the MVP file and had held up the decision until there is better solution for the MVP files integration.

    Best Regards,
    JuzZen

  6. #6
    Join Date
    Apr 2003
    Posts
    302
    Hi JuzZen,

    I discussed the problem with the developers and we had the following idea: What if the workbench offers additional save/load 'secure' option where you can pass a key that is used to encrypt/decrypt the code in the MVP file?


    Best Regards,

    Marc Cymontkowski

  7. #7
    Join Date
    Jun 2004
    Posts
    3
    Hi,

    That might solves the problem with other people trying to open the file and changing its contents. However you mentioned in the above post that there is another way:-

    "There may be ways to integrate MVP files into the resources of an executable and at runtime save them to disc and load them, but that's a bit complicated and not recommended."

    Would you be able to share with us how that is done?

    I tend to look at the MVP file as the VBP file. I will never distribute the VBP file to my customer even if there is a password or encryption to it...it is just too risky.

    Hope there is another way to get around this.

    Thanks You.

  8. #8
    Join Date
    Apr 2003
    Posts
    302
    Hi,

    the think is that i am not sure how to add any kind of resource (e.g. a MVP file) to a VB project as resource. In VC++ it is pretty easy. You would have to load the resource, write it to a temp file, load that file and then delete the file.

    Do you know how to add a resource like an MVP file to a VB executable?

    Anyway we decided to implement the following two things into our development kit:

    1) MVP file encryption
    2) If possible, load MVP files from resources (in discussion)

    In my opinion you should't worry too much to distribute an encrypted MVP file. Someone with assembler knowledge is also able to reverse engineer your VB/VC etc. code. Decrypt an encrypted file that uses an unknown encryption should be harder to do.


    Best Regards,

    Marc

  9. #9
    Join Date
    Jun 2004
    Posts
    2
    Hi Marc,

    thanks for the response. However, I have the same thinking as Jolim. Your suggestion provided might only solved for not allowing user to tamper the MVP files. But still, we do not wish to distribute the MVP files to our users.

    Nevertheless, I am glad to know that VC++ might be able to resolve the issue.
    If it is possible, can I request to have a sample in VC++, loading the resource as suggested in the previous thread by you, "In VC++ it is pretty easy. You would have to load the resource, write it to a temp file, load that file and then delete the file."

    Best Regards,
    JuzZen

  10. #10
    Join Date
    Apr 2003
    Posts
    302
    Hi,

    We modified the VC++ sample application LiveDraw in order to demonstrate how to load an MVP file from the resources. Please drop us an eMail to support@montivision.com in order to get the sample application.


    Best Regards,

    Marc

  11. #11
    Join Date
    Apr 2003
    Posts
    302
    Hi,

    a short update on MVP file handling. The next version of the development kit will include a functionality to generate include files from MVP files for C/C#/C++, Delphi, and VB6/VB.NET from within the Workbench. Those include files will contain strings that can be given to the LoadConfig() method of the ActiveX Controls.


    Best Regards,

    Marc Cymontkowski

Bookmarks

Posting Permissions

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