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
Aizik Yair
Posts
-
Using Excel From C++ -
Using Excel From C++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
-
GetDc() - returns NULL why ?I found the reason. I need call ReleaseDc() each time i use GetDC() Aizik Yair Software Engineer
-
GetDc() - returns NULL why ?Hi all , outside of OnPaint()I call in other function CDc* pDc = GetDc(). Sometimes its returns NULL. Why????????? Aizik Yair Software Engineer
-
Great-Need Soundhttp://tlf.cx/dearpenis.swf Aizik Yair Software Engineer
-
Useful calculator - updatefor 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
-
Useful calculatorFor those of you who need calculator. try :cool: :cool: :cool: Aizik Yair Software Engineer
-
Passing 2-D array in functionNees 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
-
search in a list ??look at articles that describe mfc applications ( dialog based ). Aizik Yair Software Engineer
-
ODBC-TreiberTry English.:| Aizik Yair Software Engineer
-
can anyone kind enough to point out my bug here.for (int i=0; i // ERROR { ... } for ( int i=0 ; i < N_SPRITES ; i++ ) // GOOD { ... } Aizik Yair Software Engineer
-
Problems with "external struct"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
-
What's my way?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
-
qsort problem// 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
-
Event handler for a dynamically created controltry using class wizard Aizik Yair Software Engineer
-
Adding a new registry VALUEHi, 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
-
type castinganswer: Pointer to a null-terminated string of 16-bit Unicode characters. Aizik Yair Software Engineer
-
Getting mutex processHi, 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