When using Class Wizard, I realized that some of the classes are not accessible. Then I deleted the *.clw file and rebuilt the *.clw. This time, Class Wizard complained that it couldn't find the header & source files of some of the classes although I could see the requested files were included...
Your defined the type of parameter y in function void Trial to be a pointer to an integer while passing an integer value instead of its pointer when calling the function in the line:<br><br>Trial(x);<br><br>To fix the problem, pass the address of x as follow:<br><br>Trial(&x);<br><br>and the...
What was the type of FCurrent and NewFile? I may help you here but need to know a litte bit further about the type you defined for both variables mentioned.<br><br>Blue Jacket
Does anyone know some Visual C++ books that talk about the description of the serial port driver in Visual C++ and how to use it? Please let me know. Thank you.<br>
Use USER DEFINED MESSAGE. Define a message ID in the child program. In parent program use "Send" or "Post" message to the child program using the defined message ID. In the child program, map the desired function with the defined message ID in the MESSAGE MAP.<br>
<br>
Hope...
You need to specify the type of vector (i.e. vector<int>, vector<char> ...). As you mentioned p_cards has type of RCard so what you need to do is define p_cards as:<br>
<br>
vector<RCard> p_cards;
I had a problem of building CGI using Visual C++. The book said that in order to get the input stream from the browser the following code can be used: (METHOD = POST):<br>
<br>
// Get the size of the input stream<br>
char* contentSize = getenv("CONTENT_LENGTH");<br>
if...
Thanks! what your described is what I am looking for. My following questions are:<br>
1. Can I use the mentioned STL (which is in the Standard C++ Library) and MFC together in a Visual C++ program?<br>
2. Have MFC already had somethings look like STL?<br>
<br>
Please let me know. Thank you.<br>
As far as I know, Visual C++ does not support STL (standard template library) (please correct me if I am wrong). However, I want to have STL available in Visual C++. Please let me know what I should do.<br>
<br>
Thank you.<br>
<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.