problem about surface-Collection of common programming errors


  • TX-NY-CA
    12.04 network-manager surface
    While attempting a wifi fix, I was prompted to run the following commands: sudo mv /etc/init/network-manager.conf /etc/init/network-manager.conf-disabled sudo mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop.disabledHow can I reverse/undo those commands?I ask because I could not get the wifi-fix to work, but am now unable to revert to an old workaround. I suspect this is because of changes made by those two commands. And so until I get this resolved, I cannot connect

  • GManNickG
    c++ directx textures surface
    I’m kind of wondering about this, if you create a texture in memory in DirectX with the CreateTexture function:HRESULT CreateTexture(UINT Width,UINT Height,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DTexture9** ppTexture,HANDLE* pSharedHandle );…and pass in D3DFMT_UNKNOWN format what is supposed to happen exactly? If I try to get the surface of the first or second level will it cause an error? Can it fail? Will the graphics device just choose a random format of its choosing?

  • Anish Karunakaran
    c# asp.net wpf xaml surface
    I have developed a surface application(wpf) using visual studio 2010–> suface v2–>surface application(WPF).Now i want to test the application in tablet. I tried on Windows rt and 8. but none are compatible.What is the tablet specification i require for this scenario. Or how should I Deploy the application.One more question how we can specify the resolution for devises. ie samsung sur40 has a larger screen and tablet small. how can we adjust this in app. whether it is needed such adjustments. N

  • Bjorn Vdkerckhove
    c# wpf surface
    for my project i need a scatterview but let’s call it a listbox for people who don’t work with the surface sdk 🙂 , and it’s bound to an observablecollection of objects in my viewmodel. Depending the kind of object, i use a different datatemplate (images, video’s,…) The container for these items is by default a listboxitem.But there is a special object where i need more than a normal listboxitem as container, so i created my customlistboxcontainer. Here if found how to use that container:Have

  • genpfault
    android opengl-es surface glulookat
    I have the following code for the Renderer:package hello.project;import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10;import android.content.Context; import android.opengl.GLSurfaceView.Renderer; import android.opengl.GLU;public class HelloOpenGLES10Renderer implements Renderer {private Square square; private Square2 square2;// the square private Context context; private Context context2; public static int w,h;/** Constructor to se

  • Levi Kurti
    android exception canvas resources surface
    I have this strange bug, and found nothing about a possible solution to it. The problem always appears randomly after playing around a bit with my app. The app runs perfectly on almost all devices. Still one of the devices on which this issue is present is running CM 7.1.0 and I know that a lot of CM7 users were complaining about similar problems.Unfortunately I have some users that had the same issue with the app, but I don’t know if they were using CM7 or not. Since I wasn’t able to reproduce

  • Michaël
    android view surface
    I have a problem with my first project. I just have finished my first game in Android, but while I go back to main menu (main activity) my app crashed with system error.I have 3 activities:menu difficulty game (Surface View realization)When I touch a back button in my game activity, it returns to main activity (menu) but the focus is gone off, and after few minutes the application crashed. Can the reason be the surface view closing or maybe the rendering thread continue his work?

  • BalusC
    c++ memory sdl leak surface
    [SOLVED] Forgot to implement a copy constructor and an assignment operator. The instance which is being assigned to using default copying will get the same pointer as the instance which created the surface it points to. Once one of them destructs or calls redraw(), the other keeps the pointer to freed memory, and it causes a segmentation fault.I have a class for text labels in my application. When it’s properties are changed, it automatically redrawing itself into it’s private surface.Generally,

  • BecoZ
    c# wpf surface pixelsense
    I am currently building an application which calls and uses another project’s classes and stuff. I am attempting to create a central app where multiple games or applications can be called and played concurrently side by side.Upon testing it on my PC, it worked perfectly. However, when I port it over to the surface table (samsung surface sur40), it crashes the moment i call another application within my own. Any help?

  • kahr
    c# wpf pixelsense surface
    I am developing a multitouch application for Microsoft Surface Table (now called PixelSense). Sometimes I am getting a strange exception when I run the application at the Surface Table, but never at my desktop computer. It happens right after I have started the application and entering the SurfaceWindow – but not always…The exception:Object reference not set to an instance of an object.;; at System.Windows.Input.StylusDevice.ChangeStylusOver(IInputElement stylusOver)at System.Windows.Input.Sty

  • Maarten
    sdk tags surface pixelsense
    We’re working on a SUR40 application that supports tags. But sometimes we get a strange and hard to reproduce crash inside the TagVisualizationHostAdapter when moving a tag. We have a ScatterView that acts as TagVisualizationHost.Below the stack trace. Anyone an idea?Thx,MaartenSystem.ArgumentNullException: Value cannot be null. Parameter name: visualizationat Microsoft.Surface.Presentation.Controls.TagVisualizationHostAdapter.NotifyVisualizationMoved(TagVisualization visualization, Point center

  • Jevgeni Smirnov
    android video android-3.0 surface
    I have following case which doesn’t work right:Start video player(fragment with media player in activity) Press android home button.(video is paused) Resume activity from recent apps.Expected result: video is resumed.Actual result: activity is closed.Other scenarios are connected with multiple video fragments:Video plays. Something triggers event. Current fragment detached and fragment with new media player instance is attached.As far as I understood the problem is in those 3 lines:04-09 12:56:4

  • user1693492
    c# wpf surface vnc
    I am new to C# programming with Microsoft Visual C# 2010 and I need help regarding an XamlParseExcepion when I attempt to use the VncSharpWpf.dll as reference. The following error occurs.link of the library and example codes are from : http://d.hatena.ne.jp/horus531/20110515/1305443108When I tried adding the same codes into the example code provided by the aurthor(i.e importing surface library into the project, the same code works).I dont know what is causing the library to crash everytime on th

  • orangebit
    .net windows-8 surface pixelsense
    we are experiencing a strange problem with a software we already developed few month ago, today we had to reopen the app for the customer to make some improvement. But a strange exception start to show up. it seem that is coming from the ScatterView. But the strange thing the app is working on production and the code is the same what could be the cause? Here the exception.System.TypeInitializationException was unhandled HResult=-2146233036 Message=The type initializer for ‘Microsoft.Surface.Pres

  • Scott
    r surface raster terrain gradients
    I want to estimate the gradient (slope and aspect) of an undefined surface (i.e., the function is unknown). To test my methods, here is the test data:require(raster); require(rasterVis) set.seed(123) x <- runif(100, min = 0, max = 1) y <- runif(100, min = 0, max = 1) e <- 0.5 * rnorm(100) test <- expand.grid(sort(x),sort(y)) names(test)<-c(‘X’,’Y’) z1 <- (5 * test$X^3 + sin(3*pi*test$Y)) realy <- matrix(z1, 100, 100, byrow = F) # And a few plots for demonstration

  • Supuhstar
    grub2 grubrescue surface
    all solutions I found depend on a live CD, but my surface won’t boot into live USB and I can’t figure out how to access UEFI.Every time I start my Surface, it sayserror: unknown filesystem. grub rescue> _How do I get back into Windows?I still have the full Windows partition in it (I think hd0,gp3), if that helps you with your answer.

Web site is in building