I am extremly new to vc++ 6.0 programming and i need to create a drag drop control that would draw an image or say a shape into my window.Can you people please tell me how should i start and where to start from.Name of class or may be library should help.
Please read the posting guidelines[^]. For instance, format your code properly using the code tag (otherwise, it is not readable).
Furthermore, you didn't ask any question and you didn't provide any description of the problem you encounter.
good idea, but the problem is a time-critical affair. This means as soon as i have for example a built-in debug message after CFile:Rename and CFile:Open, the problem disappears. So i can not look which process has the file between CFile:Rename and CFile:Open.
My problrem is,When i set Common Language Runtime Support (/clr) option in CLR support,
the pConInitData shows some garbage value.
If i set No Common Language Runtime support,then pConInitData returns correct value.
Whats the problem in setting /clr option.
Actually i convert VC6 to VS2008.Actually i want to set that /clr option,because im using some WPF controls in my applcaiton.
Pls help me
It looks like you are returning a pointer to an area of memory that is part of a stack variable. Thus, when SendInitialPoints() returns CON is eligible for garbage collection and may disappear. You should allocate your buffer using new to ensure it does not disappear before you have finished with it.