Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. TextureLoader - InvalidOperationException

TextureLoader - InvalidOperationException

Scheduled Pinned Locked Moved Graphics
graphicshelptutorialquestion
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Katerinochka
    wrote on last edited by
    #1

    Hi, I am trying to do some graphics with Direct3D for Windows Mobile. Everything works fine until I create a texture: texture = TextureLoader.FromFile(dev, "My Documents\\abc.bmp", 200, 200, 0, Usage.None, Format.A8R8G8B8,Pool.Managed, Filter.None, Filter.None, 0); This throws the InvalidOperationException with no further details how to solve it. The alternative ways to create a texture lead to the same exception: texture = TextureLoader.FromStream(dev, System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("Project1.abc.bmp")); texture = TextureLoader.FromFile(dev,"Project1.abc.bmp"); Could someone help me with this please? I would very appreciate any advice!!! Thank you, Katerina

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups