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
N

Nacho Chip

@Nacho Chip
About
Posts
15
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Video Streaming SDK
    N Nacho Chip

    Hello, I am trying to draw a video stream from a webcam or from another computer webcam on a Direct X surface. Can anyone give me some suggestion about any library or SDK I can use to do that. I know the part how to put a bitmap data on the Direct X surface, but need some suggestion about getting video data from the webcam and from the network. Thanks!

    Nacho

    C / C++ / MFC graphics sysadmin tutorial

  • Drawing a windows without system frame
    N Nacho Chip

    Hello, can anyone give me a suggestion about how can I draw my windows application without the windows system border? Like those Yahoo widget which floating in the desktop? Which GUI SDK support this feature? Thanks!

    Nacho

    C / C++ / MFC question graphics

  • Capture the windows console exit event
    N Nacho Chip

    Hello all, I have some questions about the windows console. If my main GUI windows create a new console windows attach to the main process by calling AllocConsole(). Is there any way to get notify when the console get closed by the user? For example, the close windows button in the top right get clicked by the user. The problem what I have is that if the console windows get closed, then my main process will also be terminated. However, it happen without letting my free my application resource. Any suggestion? Thanks for advance! Nachi

    Nacho

    C / C++ / MFC help tutorial question learning

  • Special character for the enum type in DTD Schema
    N Nacho Chip

    Hello, I try to build a enum type in my DTD scheme. The enum type contains some special characters which I don't know how to deal with it, here is my dtd structure Operator ( > | >= | < | <= | == ) #REQUIRED> The system said the enum type is invalid since I am using '>', '>=" ... these character in my enum list. I try to search the web and did not find anything talk about how can I define a special character in my enum list. Any one have any idea? Thanks for advance!

    Nacho

    XML / XSL question database xml tutorial

  • Write a string find and replace program
    N Nacho Chip

    Hello, I am planning to write a program that will do string find and replace for any text file. Can anyone one give me any suggestion what is the best way to do it, or is there any existing library already provide this feature? I can write my own but it may not be efficient enough. Any suggestion? Thanks! Nacho

    Nacho

    C / C++ / MFC question

  • The file contains a character that cannot be represented in the current code page
    N Nacho Chip

    Is this the only way, since I have a lot of other files have similar problems, is it means that I need to re-save all those files? Thanks!

    Nacho

    C / C++ / MFC c++ question help

  • Declare Friend with a template class in Visual C++ 2005
    N Nacho Chip

    When I try to compile my old code in Visual C++ 2005, I get the error message error C2990: 'Cg2HashTable' : non-class template has already been declared as a class template with the code //*************************************************************** // Forward declarations template class Cg2FixedList; template class Cg2HashTable; template class Cg2SortedList; //*************************************************************** class Cg2DataHandle { private: friend class Cg2FixedList; friend class Cg2HashTable; friend class Cg2SortedList; ............... How can I fix this? Thanks!

    Nacho

    C / C++ / MFC c++ help question

  • The file contains a character that cannot be represented in the current code page
    N Nacho Chip

    Hello, I am trying to convert my project to use Visual C++ 2005. However, when I compile my project, I get a lot of warning message like this, c:\dxsdk\include\d3d9types.h(1385) : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss How can I fix this? Thanks!

    Nacho

    C / C++ / MFC c++ question help

  • Delete all files in a folder
    N Nacho Chip

    Hello, Can anyone tell me which function I can use to delete all file in a folder. Any standard ANSI C++ function I can used? Thanks!

    Nacho

    C / C++ / MFC c++ question

  • Loading DLL inside the code
    N Nacho Chip

    Hello, I would like to know what is the proper way to use LoadLibrary() when loading DLLs. In my project, it depends on couple DLL files to run. Those DLLs need to sit in Windows\win32\ or the same folder as the executable file. However, I want to put those DLL filew into some fixed place and when my application starts to run, I can load them to the memory. I try to use LoadLibrary() function but I don't know where should I call this function in the code. It is because everytime I start the program, I already get the "missing dll" error and the program get terminated before any code has been run. Any idea about this? Am I missing something? Thanks! Nacho -- modified at 18:12 Tuesday 9th May, 2006

    C / C++ / MFC question performance help

  • Question about increment a Void* pointer
    N Nacho Chip

    Thanks, but is there any way which just use ANSI C++ standard type rather than BYTE? By using BYTE, we will have problem when we port the code in other platforms. Any idea? Nacho

    C / C++ / MFC question data-structures tutorial

  • Question about increment a Void* pointer
    N Nacho Chip

    Hello all, I have a question about doing an increment of a Void* pointer. I find out that I cannot do something like this int i[10]; void* p = i; int j = *((int*)(p++)); The compiler will complain about the size of the pointer when I try to do an increment. My alternative approach is int i[10]; void* p = i; int j = *((int*)(((char*)(p))++)); // Ugly First, I type cast the void* to char*, and then the compiler will know when I do the increment, it is going to add 4 bytes each time. I think this approach is ugly and might not compatiable with different platforms (when char* is not 4 bytes). In case if people wonder why I try to do something like this is that I try to calculate the offset in an array by my self with only know the size of the element in the array in the array. However, I don't know how to add exactly n byte to a pointer when calculate the offset. The default increment behavior always requires to know the type of the pointer, which I don't know. Any idea? Thanks! Nacho

    C / C++ / MFC question data-structures tutorial

  • how big array size does a visual c++ program allow ?
    N Nacho Chip

    For the array, in order to use the heap memory, you can allocate your array like this float* floatArray = NULL; floatArray = new float[100]; and when you finish using your array, you can delete [] floatArray; floatArray = NULL; I wish it help! Nacho

    C / C++ / MFC help c++ data-structures tutorial question

  • Question when writing an Assert function
    N Nacho Chip

    Hello all, I am writing an assert function and don't know how to do certain things, 1. How can I know the file name of the code that cause the assert? 2. How can I know the line number of the code that cause the assert? 3. How can I know the function name of the code that cause the assert? 4. How can I print out the call stack when I get the assert? 5. Can I get the PC and SP register information when I get the asset? Thanks! Nacho

    C / C++ / MFC question sharepoint data-structures tutorial

  • Cost of type Casting
    N Nacho Chip

    Hello, Can someone give me some explanations how C++ actually doing the type casting? Is a Dynamic Cast really expensive? What about Static Cast, Constant Cast and Interrupter Cast? Thanks! Nachi

    C / C++ / MFC c++ question
  • Login

  • Don't have an account? Register

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