Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-sharp gstreamer-sharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-sharpgstreamer-sharp
  • Issues
  • #7

Closed
Open
Created May 28, 2018 by Bugzilla Migration User@bugzilla-migration

Basic tutorial 5 runtime error due to invalid DllImport

Submitted by tom..@..il.com

Link to original bug (#796440)

Description

Created attachment 372451
Patch for invalid DllImport in BasicTutorial5.cs

Basic tutorial 5 (https://github.com/GStreamer/gstreamer-sharp/blob/master/samples/BasicTutorial5.cs) crashes in the runtime because it can't find libgdk-win32-3.0-0.dll and gdk_win32_drawable_get_handle.

It should be
[DllImport("libgdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gdk_win32_window_get_handle(IntPtr handle);

Patch 372451, "Patch for invalid DllImport in BasicTutorial5.cs":
0002-Patch-for-invalid-DllImport.patch

Version: 1.14.0

Assignee
Assign to
Time tracking