sketchucation logo sketchucation
    • Login
    1. Home
    2. Shubham777
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Extension using c#

      @icehuli said:

      in case somebody using it, added a new project "IHL_CsR22ExtApp0" for Sketchup 2018/2017 x64 with ruby 22

      Interesting and nice job Icehuli!

      I currently working on your C# project "IHL_CsExt0" .After successfully build your code I connected this with SketchUp 2023 but I got exception at following function :

      public static void rb_define_module_function(VALUE module, string name, CallbackArg2 func)
              {
                  MethodDelegates.Add(func);//keep a reference to "func" to prevent it being garbage collected
                  rb_define_module_function(module, name, func, 2); 
              }
      

      exception occurs ::
      1.Exception thrown at 0x00007FF99A750EB6 (x64-msvcrt-ruby270.dll) in SketchUp.exe: 0xC0000005: Access violation reading location 0x000000006F21B998.
      2.System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
      3.kernelbase.pdp Not Loaded

      Currently using ::
      SketchUp 2023 with "x64-msvcrt-ruby270.dll" in visual studio 2019.
      framework=.net 4.5 also add post build event to copy "IHL_CsExt0.so" file (SketchUp)Plugin folder

      Can you please help me out for this issue. Thank you In Advance!

      posted in Developers' Forum
      S
      Shubham777
    • 1 / 1