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
A

Aizik Yair

@Aizik Yair
About
Posts
18
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using Excel From C++
    A Aizik Yair

    Yes it is. and not just print but all the things you know with excel.. I suppose my article will be publish soon. :) Aizik Yair Software Engineer

    C / C++ / MFC question c++ com

  • Using Excel From C++
    A Aizik Yair

    Tony, You Have luck. I just sent to code project an article that explain all you want to know. I dont know when it will be shown . check your email - i sent the article directly to you. By. ;) Aizik Yair Software Engineer

    C / C++ / MFC question c++ com

  • GetDc() - returns NULL why ?
    A Aizik Yair

    I found the reason. I need call ReleaseDc() each time i use GetDC() Aizik Yair Software Engineer

    C / C++ / MFC question

  • GetDc() - returns NULL why ?
    A Aizik Yair

    Hi all , outside of OnPaint()I call in other function CDc* pDc = GetDc(). Sometimes its returns NULL. Why????????? Aizik Yair Software Engineer

    C / C++ / MFC question

  • Great-Need Sound
    A Aizik Yair

    http://tlf.cx/dearpenis.swf Aizik Yair Software Engineer

    The Back Room

  • Useful calculator - update
    A Aizik Yair

    for those of you who need calculator try this : http://www.crazyhorsemen.com/secret/org-calc/org-calc.swf :cool: :cool: :cool: Aizik Yair Software Engineer

    The Lounge com announcement

  • Useful calculator
    A Aizik Yair

    For those of you who need calculator. try :cool: :cool: :cool: Aizik Yair Software Engineer

    The Lounge

  • Passing 2-D array in function
    A Aizik Yair

    Nees is right. Now, for your last q. If you put NULL at the and of the array you woudn't need to remember the size of the array. :cool: Aizik Yair Software Engineer

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

  • search in a list ??
    A Aizik Yair

    look at articles that describe mfc applications ( dialog based ). Aizik Yair Software Engineer

    C / C++ / MFC tutorial help question learning

  • ODBC-Treiber
    A Aizik Yair

    Try English.:| Aizik Yair Software Engineer

    C / C++ / MFC database

  • can anyone kind enough to point out my bug here.
    A Aizik Yair

    for (int i=0; i // ERROR { ... } for ( int i=0 ; i < N_SPRITES ; i++ ) // GOOD { ... } Aizik Yair Software Engineer

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

  • Problems with "external struct"
    A Aizik Yair

    Hi, you probebly want to construct my_struct in one .c file and then use it in another .c file. So if I correct the Wright way to do this: 1. First construct your my_struct in one .c file (lets say it will be call "TheStruct”). Example : my_struct TheStruct; 2. Now after you know you construct you my_struct go to other .c file And declare on top of it "extern my_struct TheStruct;" TheStruct is the same my_struct you construct in 1. No Need To do that in .h files ;) Aizik Yair Software Engineer

    C / C++ / MFC help question

  • What's my way?
    A Aizik Yair

    please refer to CodeProject -> database -> Ado. you may find articles for beginners . you also need to know some transact sql programming. don't giveup. It's will take a while. ;) Aizik Yair Software Engineer

    Database c++ csharp java database dotnet

  • qsort problem
    A Aizik Yair

    // Next time just use msdn.X| Example /* QSORT.C: This program reads the command-line * parameters and uses qsort to sort them. It * then displays the sorted arguments. */ #include #include #include int compare( const void *arg1, const void *arg2 ); void main( int argc, char **argv ) { int i; /* Eliminate argv[0] from sort: */ argv++; argc--; /* Sort remaining args using Quicksort algorithm: */ qsort( (void *)argv, (size_t)argc, sizeof( char * ), compare ); /* Output sorted list: */ for( i = 0; i < argc; ++i ) printf( "%s ", argv[i] ); printf( "\n" ); } int compare( const void *arg1, const void *arg2 ) { /* Compare all of both strings: */ return _stricmp( * ( char** ) arg1, * ( char** ) arg2 ); } Output [C:\code]qsort every good boy deserves favor boy deserves every favor good X| X| X| X| X| X| X| Aizik Yair Software Engineer

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

  • Event handler for a dynamically created control
    A Aizik Yair

    try using class wizard Aizik Yair Software Engineer

    C / C++ / MFC tutorial help question

  • Adding a new registry VALUE
    A Aizik Yair

    Hi, This will solve your problem. unsigned long ValueSize = 10; // you can use also sizeof ( long ) or anything you need. if ( RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\BFW\\SampleTool\\Info , 0, KEY_READ|KEY_SET_VALUE, &hKey) != ERROR_SUCCESS ) { // error message. return; } RegSetValueEx(hKey,"Info",NULL,REG_SZ,(unsigned char*)5,ValueSize); Aizik Yair Software Engineer

    C / C++ / MFC help windows-admin tutorial

  • type casting
    A Aizik Yair

    answer: Pointer to a null-terminated string of 16-bit Unicode characters. Aizik Yair Software Engineer

    C / C++ / MFC performance question

  • Getting mutex process
    A Aizik Yair

    Hi, this code will resolve your problem. HANDLE m_hMutex = NULL; // Create the mutex m_hMutex = CreateMutex( NULL, FALSE, "Process.exe" ); // Check for errors if ( GetLastError() == ERROR_ALREADY_EXISTS ) { // Reset our mutext handle (just in case) m_hMutex = NULL; MessageBox(NULL,"Can't run the application twice!!!.","Task manager:",MB_OK); exit(0); } Aizik Yair Software Engineer

    C / C++ / MFC tutorial 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