Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralE_INVALIDARG with EnvDTE::Commands::AddNamedCommand Pin
Franz Klein17-Dec-04 20:58
Franz Klein17-Dec-04 20:58 
Generalspecial folder Pin
zpc_93017-Dec-04 19:05
zpc_93017-Dec-04 19:05 
GeneralCSliderCtrl Problem Pin
Fayez El-Far17-Dec-04 15:47
sussFayez El-Far17-Dec-04 15:47 
GeneralRe: CSliderCtrl Problem Pin
Ravi Bhavnani17-Dec-04 16:43
professionalRavi Bhavnani17-Dec-04 16:43 
GeneralRe: CSliderCtrl Problem Pin
Member 148659417-Dec-04 18:25
Member 148659417-Dec-04 18:25 
GeneralRe: CSliderCtrl Problem Pin
PJ Arends17-Dec-04 18:53
professionalPJ Arends17-Dec-04 18:53 
GeneralBase pointer Blues!!! Pin
avenger_sb2517-Dec-04 14:13
avenger_sb2517-Dec-04 14:13 
GeneralRe: Base pointer Blues!!! Pin
Member 58088117-Dec-04 18:40
Member 58088117-Dec-04 18:40 
Hey Avenger,

Here's a funny workaround...


DWORD dw = (DWORD) p; // move in the array using this
Base* p2 = NULL;

for(int i=0;i<4;i++)
{
p2 = (Base*) dw;
p2->y=10;
dw += sizeof(Derv); // move to the next elem
}

What do you think??
Big Grin | :-D

Clinton
GeneralRe: Base pointer Blues!!! Pin
avenger_sb2518-Dec-04 1:03
avenger_sb2518-Dec-04 1:03 
GeneralRe: Base pointer Blues!!! Pin
toxcct17-Dec-04 23:12
toxcct17-Dec-04 23:12 
Generalthis == 0x00000000 Pin
Gurra_Koo17-Dec-04 12:08
Gurra_Koo17-Dec-04 12:08 
GeneralRe: this == 0x00000000 Pin
John R. Shaw17-Dec-04 13:04
John R. Shaw17-Dec-04 13:04 
GeneralRe: this == 0x00000000 Pin
17-Dec-04 18:32
suss17-Dec-04 18:32 
GeneralRe: this == 0x00000000 Pin
Gurra_Koo17-Dec-04 21:35
Gurra_Koo17-Dec-04 21:35 
GeneralRe: this == 0x00000000 Pin
Member 58088117-Dec-04 22:06
Member 58088117-Dec-04 22:06 
GeneralGetting the HWND from Filename Pin
RedDragon2k17-Dec-04 11:12
RedDragon2k17-Dec-04 11:12 
GeneralRe: Getting the HWND from Filename Pin
Sujan Christo17-Dec-04 17:03
Sujan Christo17-Dec-04 17:03 
GeneralRe: Getting the HWND from Filename Pin
ThatsAlok17-Dec-04 17:15
ThatsAlok17-Dec-04 17:15 
GeneralRe: Getting the HWND from Filename Pin
RedDragon2k17-Dec-04 21:28
RedDragon2k17-Dec-04 21:28 
QuestionDoes anyone see a leak in this function? Pin
Turtle Hand17-Dec-04 10:40
Turtle Hand17-Dec-04 10:40 
GeneralActiveX Pin
Anthony988717-Dec-04 8:05
Anthony988717-Dec-04 8:05 
GeneralRe: ActiveX Pin
Renjith Ramachandran17-Dec-04 22:14
Renjith Ramachandran17-Dec-04 22:14 
GeneralTruecolor icon in Win NT4 Pin
Cyrus Dang17-Dec-04 6:55
Cyrus Dang17-Dec-04 6:55 
GeneralRe: Truecolor icon in Win NT4 Pin
Anders Molin17-Dec-04 16:02
professionalAnders Molin17-Dec-04 16:02 
GeneralRe: Truecolor icon in Win NT4 Pin
Cyrus Dang17-Dec-04 20:01
Cyrus Dang17-Dec-04 20:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.