|
I think the Standard edition won't let you link statically from the GUI. I know ther eis a way around that thoguh, and I think it is in a CP article. I don't knnow where it is at the moment though... but it involves hacking the DSP/MAK files...
Even a broken clock is right twice a day.
|
|
|
|
|
Hey all, I am writing a little utility which will syncronize data with the Outlook Task folder. I am using MFC. I have done some searching on how to do this, but most of the info I have found on the net and on MSDN is using VB, which I can't use for my purposes.
Can any of you point me in the right direction, please?
Thanks!
|
|
|
|
|
Can anyone Please explain me how to get the thumbnail image of a picture using VC++ activex control..
|
|
|
|
|
just use kodak thumbnail control
|
|
|
|
|
hi,
does anyone know where i can find out more information on graphic user interface programming in vc++? i'm talking about the programming of the gui with animated buttons and menus that are similar to the ones in games(e.g. nhl2003, nbalive 2003, madden2003..etc), winamp, sonique and wmp(i'm not talking about programming skins).. any suggestion is welcome.. tia!
|
|
|
|
|
Here ? There's lot of different GUI stuff on this site. The stuff within games is likely to be done in DX, I would have thought, but there is a skinnable app sample that looks a lot like WinAm ( and plays mp3s ), and heaps of other stuff as well.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
Hi,
Im trying to put a CList into a struct or class and include that in another CList, does anyone know how to do this whithout getting errors?
Cheers
|
|
|
|
|
I think I know what you mean, this example uses stl::list ( and so should you ), but it compiles fine.
#include <list>
using std::list;
struct myStruct
{
list<int> lInt;
int i;
char * pChar;
};
int main(int argc, char* argv[])
{
list <myStruct> myList;
return 0;
}
Christian
|
|
|
|
|
This one got me too, caused me no end of hassles. Best thing to do is forget the MFC CList related class and go straight for the STL ones.
Michael
Life’s not a song.
Life isn’t bliss.
Life is just this.
It’s living. -- Buffy the Vampire Slayer: Once more, with feeling
|
|
|
|
|
The same thing is valid for all MFC containters (CArray). Use std::list .
Best regards,
Alexandru Savescu
P.S. Interested in art? Visit this!
|
|
|
|
|
Hey dudes,
Where did the Profiler go in VS .NET?
I can't find it.
Regards,
Adam.
|
|
|
|
|
Debug Error!
File i386\chkesp.c
Line 42
The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
|
|
|
|
|
In Debug mode, the stack is verified after every function call to make sure that every thing is playing nicely in your program.
The message states why the problem usually happens, however it can happen when you corrupt the stack because of writing to a bad address with invalid pointers and other things.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Ok, I see, but I don't know why this is happening in my program...It crashes after this function call but the strange thing is this. This function add strings to a linked list. First it checks the linked list to make sure that the string isn't already there, if it doesn't find it then it adds it. The program crashes only when it finds a match in the linked list and the string is more than 37 chars in length. Anything under that is OK. That is what is confusing me. Maybe you can have a look at this code?
void movie_list::AddTo_Gimme(char szMovieName[][51], int iNumber)
{
movie_list_element *pSearch;
char szBuffer[80];
int x;
for (x = 0; x < iNumber; x++)
{
pSearch = first_movie;
// Search for a match
while (pSearch != NULL)
{
if ( strcmp(szMovieName[x], pSearch->movie_name) == 0 )
break;
else
pSearch = pSearch->next_movie;
}
if (pSearch == NULL)
{
// No match; Add the movie to the head of the list
movie_list_element *NewMovie;
NewMovie = new movie_list_element;
NewMovie->movie_name = strdup(szMovieName[x]);
NewMovie->next_movie = first_movie;
first_movie = NewMovie;
}
}
}
Thanks for the help so far.
|
|
|
|
|
Ahhhh, the stupidity of a bottle of wine and five in the morning!!!!!!!!!!! The buffer to hold the formatted string was too small. Now I can rest in peace...sorry to bother with this stupidity!
|
|
|
|
|
georgiek50 wrote:
The buffer to hold the formatted string was too small. Now I can rest in peace...
Good for you, I am glad you found it!
georgiek50 wrote:
sorry to bother with this stupidity!
No problem, often these kind of questions make me and other people think about things that we would have otherwise not seen. It is also a way for you to bounce ideas off the wall and think about them even if you solve the problem your self.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Does anyone have a C++ implementation for the PSOLA Algorithm?
|
|
|
|
|
Hi All
Does anybody know of or seen a amazing set of functions that can be used to anchor and resize an object to its dialog form, so when teh dialog in resized/maximised, the objects resize and position themselves.
(I hope so otherwise i'm gonna have to role my sleeves up)
Cheers
Matt G
|
|
|
|
|
I believe MSDN mag published such a framework a little while ago.
One REALLY cool thing about .NET is the way all of this is so easy now.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
I've got a library to do this that I was going to put up as an article when I had a bit of spare time (HA!). How much of a hurry are you in?
|
|
|
|
|
Sorry for the delay. Not an amazing hurry but i would be grateful if you could let me know when you have put it in as an article.
Thanks
Matt
Matt G
|
|
|
|
|
|
Thanks, it looks pretty good.
Matt G
|
|
|
|
|
There are a bunch of articles here on CP. Check out the dialog section.
Software Zen: delete this;
|
|
|
|
|
I have an MDI application where I am able to print text into multiple pages , but when I perform Zoom Zoom out or next page I do not get the desired page number.
How do I manage the pages that i generated ?
|
|
|
|