CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: BossOfTheGame

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Re: Getting odd colors when converting InteropBitmap to Bitmap

    How do you go about copying the palette? It seems as if it is read only.
  2. Re: Getting odd colors when converting InteropBitmap to Bitmap

    Yes that is allowed, but it doesn't work
  3. Re: Getting odd colors when converting InteropBitmap to Bitmap

    If I don't create it as a Format32bppArgb bitmap I get a giant red X on my windows form indicating an error.
  4. Getting odd colors when converting InteropBitmap to Bitmap

    I am using a PS3 webcam to get an InteropBitmap whose format should be 8 bit per pixel grayscale image. It is when I display it as an InteropBitmap, but I need it to be a normal Bitmap.

    The code...
  5. Re: How to display a InteropBitmap in a Windows Form

    Well, this solution semiworks. I still have to mess around with parameters to see what bitmap format it is in. The only problem is that the windows encounters a flickering problem because I have to...
  6. How to display a InteropBitmap in a Windows Form

    I haven't used C# in awhile. So, to get back into it I am writing an application using CLEyeCamera API for the PS3 Eye Toy. The API returns a InteropBitmap. I want to display the image in a panel. I...
  7. Replies
    0
    Views
    1,924

    Memory Used by Python

    Right now I'm in an AI class and I need to measure the space complexity of my algorithm. I have no idea how I would do this. Basically I need to know how much memory one of my classes or the entire...
  8. Replies
    2
    Views
    1,288

    Re: Help with comparing lists

    Thanks a bunch, I haven't fully tested the changes yet, but they seem to be working in the sense that objects are being added to the list and it is not failing.

    I feel kinda stupid for not seeing...
  9. Replies
    2
    Views
    1,288

    Help with comparing lists

    So, I'm working on implementing an A* algorithm.

    I have a class



    class AStarTile:
    def __init__(self,parent,x,y):
    self.parent = None
    self.x = x
  10. Replies
    4
    Views
    1,175

    printf messing up hex numbers

    So, I have a hex file that I read into a vector. and now I'm printing out it's contents by doing a good ol' printf. When it does this I am surprised to see vaules that were FF in my hex editor come...
  11. Replies
    1
    Views
    2,110

    Hex reading problems

    I have a huge binary file and I want to quicky edit it with a python script.
    I want to search the file for the bytes



    54 45 58 30 00 00 20 40 00 00 00 01 FF FF FE E0
    00 00 00 40 00 04 CF 44...
  12. Replies
    5
    Views
    2,007

    Re: Opengl pacman style camera

    The multiple instances of the models are working great, thanks!
  13. Replies
    5
    Views
    2,007

    Re: Opengl pacman style camera

    but what if my model was not one pixel. What if I was using something like glutWireTeapot, or another model I imported?
  14. Replies
    5
    Views
    2,007

    Opengl pacman style camera

    I'm at a loss, I've been trying to think of a way that makes it so if an object is a little off the screen on the left, it is a little on the screen on the right. I can't think of anyway to do this....
  15. Replies
    0
    Views
    2,594

    OpenGL glColor3f and Lighting

    So, I have a model that I hard coded into my program called n64. Its in a function called void draw_n64(int size). It basicly looks like this




    void draw_n64(float size){
    ...
  16. Replies
    1
    Views
    3,547

    SN Tool Ignore strong name validation

    I want to set visual studio to ignore strong name validation using the visual studio command prompt sn tool. I forget the specific arguments. Does anyone know it?
  17. Replies
    1
    Views
    4,516

    Disable Console Window Popup

    How do you disable the console window from poping up in a console application so I can just run the task in the background?
  18. Replies
    2
    Views
    675

    DataGridView

    I have a DataGridView that is bound to an array of my own custom class, I want to figure out what the text of the cell in the first column of the row that the selected column is in. How can I do...
  19. Replies
    1
    Views
    544

    Perl strings and subs

    I have a basic perl question I have a sub


    sub simple
    {
    return 5;
    }

    and I want to put it in this string
  20. Replies
    0
    Views
    987

    Regular Expressions help

    Hi I'm writing a parser for a certain piece of code right now, and I can't seem to get my regular expressions to do what I want them to do. I have this large file I need to turn into XML and I want...
  21. Converting VS8 to VS9 on the command line

    I have a process that I want to automate. I want to convert Visual Studio 8 processes to Visual Studio 9. Is there a way I can do this from the command line?
  22. Re: How to load an application and exit the one that loaded it

    is it possible to start a new process if there is not a second executable file? Can I just pass in a function that I would like to run?
  23. How to load an application and exit the one that loaded it

    I am creating a loader for an application that will pass the appropriate parameters to the said application. I created a button that says start, and when it is pressed an event is triggered, which...
  24. Re: Which static member variables does a csharp class have

    Awesome thank you.
  25. Re: Which static member variables does a csharp class have

    That seems to work, but what if the object that I wanted to get was a string. Then how would I go about calling that strings Split() method?
Results 1 to 25 of 52
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured