Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Hooked .NET COM Object on Win 7 64

Posted on by Microsoft Employee

Hi,

We're experiencing an issue with an RMS Addin we've developed which works fine on a 32bit system. It hooks at the save point of set customer and is correctly installed in the registry in the WOW64Node, as POS does try to fire the hook.

However, calling the addin fails "Could not create object"

Heres what we've tried

  • Registering the DLL using regasm.exe
  • Installing in the GAC using gacutil.exe
  • Recompiling the project as a 64 bit

But it keeps failing. Is there some incompatibility with RMS, 64 bit and .NET COM Objects?

Thanks,

Matt

*This post is locked for comments

  • Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Hooked .NET COM Object on Win 7 64

    You have to use a wrapper (Isolate a DLL into a Separate Process By Using Component Services).

    Good luck with that cr...p

    I learned very quickly, since I do so many custom apps, to just win 32.

    -Jerry

    JR Data Inc

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Hooked .NET COM Object on Win 7 64

    Yes if ur using COM objects to connect, 64bit its not support ...

    No way to make it work!!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Hooked .NET COM Object on Win 7 64

    did you find a solution?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans