Click here to Skip to main content
15,886,919 members

Comments by amsainju (Top 65 by date)

amsainju 22-Jun-13 9:27am View    
Thank you alot for your help. I will check into it.. thank you
amsainju 21-Jun-13 13:35pm View    
Thank you I tried the same thing but its not working for me while testing I found that nAlphaLocation get the value -1. m_ProgamID is getting value 1. should m_ProgramID be the one which is assigned the return of glCreateProgram(); I am using the same thing but can't figure out why it is not working for me
amsainju 21-Jun-13 8:23am View    
ohh... so Everytime a User change a value the shader will receive the value and render accrodingly?? or it will just be a 1 time effect. can u please explain how..
Thank you
amsainju 16-May-13 4:33am View    
I figured out that.. the problem is with compile as common Language Runtime Support(/clr) enable... i tried testing with small console application and found that with clr enable the truncated error is seen and with clr disabled the error is gone.. but i need the solution with clr support. still don't know what to do.
amsainju 16-May-13 3:03am View    
that too returns the samme bug... only the part of the whole string is assigned to the character pointer. even direct assigning is not working.

My tests are

const char *test2=
"Hello everyone"
"Please help me"
"my string assigning part to char pointer in a code is not working"
"I have been stucked on it for 3 days."
"I tried lot of things"
"but the problem persists."
"I have no idea why the code is not working"
" Here comes The problem in next line..."
"If you get this line in the up assigning variable..yuppieee";

const char *test3="Hello everyone .Please help me my string assigning part to char pointer in a code is not working I have been stucked on it for 3 days. I tried lot of things but the problem persists. I have no idea why the code is not working Here comes The problem in next line... If you get this line in the up assigning variable..yuppieee";

Result in

test2 ="Hello everyonePlease help memy string assigning part to char pointer in a code is not workingI have been stucked on it for 3 days.I tried lot of thingsbut the problem persists.I have no idea why the code is not working Here comes The problem in next line.."

test3 ="Hello everyone .Please help me my string assigning part to char pointer in a code is not working I have been stucked on it for 3 days. I tried lot of things but the problem persists. I have no idea why the code is not working Here comes The problem in nex"

only first 256 character is assinged to the variable.