• Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch in

    From Pedro M. Espinosa@21:1/5 to All on Wed Feb 16 13:42:02 2022
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to Pedro M. Espinosa on Thu Feb 17 06:35:07 2022
    Dear Pedro M. Espinosa:

    On Wednesday, February 16, 2022 at 2:42:04 PM UTC-7, Pedro M. Espinosa wrote:
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the
    EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch
    in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?

    Usually, you have an executable, say 'MyProgram.exe' that explicitly names a DLL, say '3rdParty.DLL'. Then when the application is run, Windoze searches the working directory, or its own DLL space, or the PATH, for '3rdParty.DLL'. If it does not find '
    3rdParty.DLL', or the DLL is the wrong version and does not have a procedure named 'CreateFrom' or 'Dispatch', then it will throw an error like this.

    Looks for instances in your code that invoke either of these names, that is occurred just before this problem showed up.

    I don't do VO, just offering nearly worthless, generic advice.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to Pedro M. Espinosa on Thu Feb 17 13:00:00 2022
    Pedro,

    The VO repository might be corrupted. Try to re-index it.

    Jamal



    On 2/16/2022 4:42 PM, Pedro M. Espinosa wrote:
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pedro M. Espinosa@21:1/5 to Jamal on Thu Feb 24 08:56:27 2022
    On Thursday, February 17, 2022 at 12:00:04 PM UTC-6, Jamal wrote:
    Pedro,

    The VO repository might be corrupted. Try to re-index it.

    Jamal
    On 2/16/2022 4:42 PM, Pedro M. Espinosa wrote:
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?

    Hi Jamal,
    Thanks for your suggestion. I reindexed the repository but that didn't help. As the pressure to solve it was high, what I finally did was to compile it in my old computer an luckily it worked OK.
    Now that I have more time I'm going to try to rebuild the repository from a fresh start and see if this works in this computer or, if this is not successful, reinstall the VO
    Thanks again,
    Pedro

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pedro M. Espinosa@21:1/5 to dlzc on Thu Feb 24 08:49:09 2022
    On Thursday, February 17, 2022 at 8:35:09 AM UTC-6, dlzc wrote:
    Dear Pedro M. Espinosa:
    On Wednesday, February 16, 2022 at 2:42:04 PM UTC-7, Pedro M. Espinosa wrote:
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the
    EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch
    in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?
    Usually, you have an executable, say 'MyProgram.exe' that explicitly names a DLL, say '3rdParty.DLL'. Then when the application is run, Windoze searches the working directory, or its own DLL space, or the PATH, for '3rdParty.DLL'. If it does not find '
    3rdParty.DLL', or the DLL is the wrong version and does not have a procedure named 'CreateFrom' or 'Dispatch', then it will throw an error like this.

    Looks for instances in your code that invoke either of these names, that is occurred just before this problem showed up.

    I don't do VO, just offering nearly worthless, generic advice.

    David A. Smith
    Hi David,
    My program doesn't use any OLE therefore that shouldn't be the case. What I finally did was to compile it in my old computer and it worked, so what I´m going to do is to reinstall the VO in my new computer and see if this solves the problem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to Pedro M. Espinosa on Sat Feb 26 14:36:30 2022
    If the app run from the IDE, then you may want to check if the correct
    version of VO DLLs are found the EXE folder. You may an older version
    lurking there.

    I suggest you copy the VO DLLs from VO BIN folder to the EXE folder.

    Jamal

    On 2/24/2022 11:56 AM, Pedro M. Espinosa wrote:
    On Thursday, February 17, 2022 at 12:00:04 PM UTC-6, Jamal wrote:
    Pedro,

    The VO repository might be corrupted. Try to re-index it.

    Jamal
    On 2/16/2022 4:42 PM, Pedro M. Espinosa wrote:
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?

    Hi Jamal,
    Thanks for your suggestion. I reindexed the repository but that didn't help. As the pressure to solve it was high, what I finally did was to compile it in my old computer an luckily it worked OK.
    Now that I have more time I'm going to try to rebuild the repository from a fresh start and see if this works in this computer or, if this is not successful, reinstall the VO
    Thanks again,
    Pedro

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve@21:1/5 to Pedro M. Espinosa on Sun Feb 27 04:17:16 2022
    On Wednesday, February 16, 2022 at 9:42:04 PM UTC, Pedro M. Espinosa wrote:
    Hi, I'm having a problem with Visual Objects 2.8 SP4b (2838)
    When I compile any application for distribution creating the EXE file It doesn't run but always gives me this message:
    Procedure entry point not found OleAutoObjectEx:_CreateFrom|Dispatch in the dynamic link library MyProgram.exe
    ¿Does anybody has any circumvention for this problem?


    Hi Pedro, you must also copy the generated .mdf file from your VO bin directory to the target directory. I've found that even if you have the bin directory in the os search path, it doesn't work, whereas copying the .mdf file does.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)