|
Sorry Whitesky, as seeing your name, i thought its the reply for my another post "Regarding SQL execution using MFC", and so i replied like that.
Sorry..
With Regards,
Sangeetha.
|
|
|
|
|
I want to replace Third party controls Sheridan & Farpoit which I have used for Spreadshit and splittcontrol how it is possible?
My Application is in VB6.
pl. give me solution for this.
email: nileshjs@hcl.in
nilesh
nilesh
|
|
|
|
|
Nilesh J Suryavanshi wrote: My Application is in VB6.
Then why on earth are you asking in the C++ forum ?
Nilesh J Suryavanshi wrote: email: nileshjs@hcl.in
Posting your email address to a public forum will result in spam from third parties, no-one is going to mail you a solution, come back to the forum for your answer. In fact, if you registered with this address, any response will be mailed to you anyhow.
|
|
|
|
|
Nilesh J Suryavanshi wrote: Spreadshit
You may have to consider the soapbox. Not even that, I guess.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
to ues some individual jpeg pictures to make video,no matter the form of the video(avi,divx,xvid.....)
|
|
|
|
|
If they are jpegs, you want to make an mpeg, realistically. Did you try google ?
|
|
|
|
|
I would like to obtain data from an Excel sheet and write it out in a special XML format for another application to read. I need to do some processing on the Excel data.
I have been searching for examples of a simple Visual Studio 2003 or 2005 MFC example to get me started, but no luck so far.
All I have found is a C#, and have not done C#.
Any links would be useful.
Many thanks,
Andy.
|
|
|
|
|
try this
Otherwise search "Excel Automation" on google
|
|
|
|
|
Andy202 wrote: Any links would be useful.
Try here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Give me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
9ine
|
|
|
|
|
|
I thought codeproject was my friend
9ine
|
|
|
|
|
|
9ine wrote: e me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
you are lucky.. MSDN provided you example in CFileFind::FindNextFile()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
no MFC only native windows API please
9ine
|
|
|
|
|
Hello everyone,
I am wondering whether the generated binary code on Visual Studio integrated mobile simulator is the same as that of real device (for example, real HP ARM iPAD)?
Is the answer to the question (binary code on simulator is the same as that of read device) the same to all Microsoft mobile development IDE -- embedded VC 3/4 and Visual Studio 2005?
thanks in advance,
George
|
|
|
|
|
Hi all,
Could anyone please tell me what the following means / does ??
I'm refering to the if - endif part...
<br />
#if 0<br />
.. code doesn't matter ..<br />
#endif<br />
Thanx in advance
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
It's a precompiled directive, which means that it will be evaluated before the compilation starts. In this case all the code in between will be 'discarded'. Here it is not very usefull (the programmer probably wanted to test a piece of code and use this to 'remove' it from compilation quickly).
|
|
|
|
|
Thanx alot Cédric ... Never knew that...
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
« Programm3r » wrote:
#if 0
.. code doesn't matter ..
#endif
that are compiler directives.. as you see if you pass false in if statement nothing will be executed same here is also goign
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Thanx alot ThatsAlok ...... Appreciate the help
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
In addition to the other responders, pre compiler directives are very usefull.
Lets say yo wanted a common code base for different eivironments you would use #ifdef #elif #endif commands.
So, for eaxmple,
#ifdef WINDOWS_NT_4
// do NT 4 specifc code
#elif
// do code for everything else
#endif
You of course need to compile different modules then for NT4, and everything else, putting the WINDOWS_NT_4 define in a header file, or make file.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
It is a preprocessor directive. The code in between #if and #endif only gets passed on to the compiler if the preprocessor evaluates #if to true.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
currently, i have a private function in cat named privateFun.
i would like to have this function "private" to all except dog's action member function.
by using the following approach, all the dog's members can access all the cat's private members.
// cat.h
//
#ifndef CAT_H
#define CAT_H
// forward declaration.
class dog;
class cat
{
private:
friend class dog;
void privateFun() {}
};
#endif
//
// cat.h
// dog.h
//
#ifndef DOG_H
#define DOG_H
#include "cat.h"
class dog
{
private:
void action()
{
cat c;
c.privateFun();
}
};
#endif
//
// dog.h
however, i would like to have ONLY dog's action member function to access cat's private members.
i try the following approach but can't work.
// cat.h
//
#ifndef CAT_H
#define CAT_H
// forward declaration.
class dog;
class cat
{
private:
friend void dog::action(); /* HERE IS THE CHANGES AND COMPILATION ERROR HAPPENS HERE. */
void privateFun() {}
};
#endif
//
// cat.h
// dog.h
//
#ifndef DOG_H
#define DOG_H
#include "cat.h"
class dog
{
private:
void action()
{
cat c;
c.privateFun();
}
};
#endif
//
// dog.h
Of course, i would get the following compilation error:
c:\Documents and Settings\YC Cheok\Desktop\aaa\cat.h(10): error C2027: use of undefined type 'dog'
However, I just cann't include the dog header file into cat. This will introduce circular include problem.
Any advice? Can I have something like member function forward declaration? Thank you very much
|
|
|
|
|
You can declare the other cat function as protected.
In that case, the dog can not access to that function
|
|
|
|