Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

New Post: Library doesn't work properly

$
0
0
Hi,

It still not work: it says that "Calls stack contains only external code. You have to disable 'only user code' and load symbols to view the origin of this path (or somehting similar: I have VS in Italian).
If I disable Just My code, it says that PresentatinFramework.pdb wasn't loaded.
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.pdb: Unable to open or read the file PDB.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PresentationFramework.pdb: Unable to open or read the file PDB.
C:\Windows\symbols\dll\PresentationFramework.pdb: Unable to open or read the file PDB.
C:\Windows\dll\PresentationFramework.pdb: Unable to open or read the file PDB.
C:\Windows\PresentationFramework.pdb: Unable to open or read the file PDB.

And then I stop the execution.
This is the code I use:

WriteableBitmap bmp = BitmapFactory.New(1, 1);
    public MainWindow()
    {
        InitializeComponent();
        bmp.FromResource("Image\\Tulips.jpg");
    }
and this is the XAML code:

<Window x:Class="Test45.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="900" Width="1366">
<Grid>
    <Button Content="Button" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click_1"/>
    <Image HorizontalAlignment="Left" Height="768" Margin="90,10,0,0" VerticalAlignment="Top" Width="1024"/>

</Grid>
</Window>

What's going on?

Thanks a lot.

Jymmy097

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>