|
Yes - all of my includes are as such:
In "Joint.h" --
#include "DOF.h"
If DOF.h and Joint.h are not in the same directory then VS will not find them...
Thanks - @LRG
|
|
|
|
|
VS can't find files without a path.
You can add paths for executables/headers/source/etc. in the VS
settings at Tools (menu)/Options/Projects and Solutions/VC++ Directories.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Mark,
Thanks again for your help. My question would be why can't VS figure out that if I am creating a project in a certain directory, that particular directory should be included in the list of paths to search?
Eh!
Thanks - @LRG
|
|
|
|
|
hmm I don't know - that's never happened to me
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I am looking for a way to enable ICS in code rather than manually doing it in network settings. Does anyone have any idea how to do this or point me to some API that will let me do this. I can't seem to find anything on the subject.
|
|
|
|
|
Member 4277104 wrote: I am looking for a way to enable ICS...
Internet Caching System
Internet Connection Sharing
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Internet Connection Sharing. I am looking to enable it without user interaction on a device.
|
|
|
|
|
Nevermind I finally found what I needed.
|
|
|
|
|
|
|
Hello, I'm looking for a really simple implementation of text as a hyperlink. I've seen some examples where HTML was embedded into an MFC, but that far exceeds my needs.
I have a cstring variable and I want to append an html link to it. What would be the simplest way? Thanks.
|
|
|
|
|
Shameless Plug http://www.codeproject.com/KB/miscctrl/jrtslinkctrl.aspx[^]
Although there are a few (*cough*) other implementations available here as well.
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Thanks for all the fish wrote: I have a cstring variable and I want to append an html link to it. What would be the simplest way?
Do you mean something like:
CString str = "some text";
str += "plus a <a href=www.codeproject.com>link</a>";
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
Yes something like that. But when append that to my cstring and output it, it outputs the entire string, not as an HTML link.
|
|
|
|
|
I was simply addressing your request for (HTML) text being appended to a CString object. James' suggestion is what you want.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
The way my app is set up now is that, a fairly long CString variable is built and then its contents is dumped into a large edit box. Would it be possible to have an html link somewhere in the middle of the edit box?
The reason I ask is because the position of the hyperlink is not always the same. If I use one of the examples posted or one that I find, it is not of the CString class. It's a seperate control where the position is going to be static.
|
|
|
|
|
Thanks for all the fish wrote: Would it be possible to have an html link somewhere in the middle of the edit box?
Yes, if it was a rich edit control.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
I was wondering if it was possible to step into operator+ and operator+= for ints and everything else other than strings?
Can't find out how or even if it's possible so was wondering if anyone knew?
cheers
|
|
|
|
|
As those are basic/atomic types, I do not think so, at least not without dropping down to assembly code.
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Why would you ever need such a thing ?
What problem do you encounter ?
|
|
|
|
|
For integers you cannot: they are built in types (not objects) and their instances are simply added without any function call, as you can easily see on the disassembly, for instance
int i,j;
j=5;
0041143E mov dword ptr [j],5
i=j+10;
00411445 mov eax,dword ptr [j]
00411448 add eax,0Ah
0041144B mov dword ptr [i],eax
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
thankyou pallini, that basically solves it.
im just trying to compare:
int = int + int
int += int
vs
string = string + string
string += string
and using disassembly nicely backs up what i thought that the compiler optmizes ints to do exactly the same compared to strings.
thanks again
|
|
|
|
|
admgamer wrote: I was wondering if it was possible to step into operator+ and operator+= for ints...
Not for integral types.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello everyone,
I am new to page fault monitor tool (pfmon.exe). Well, there is not too much help information about the parameters. I am wondering what are your preferred parameter if you want to monitor both soft and hard page fault of a process?
Just want to learn from you experienced guys since I can not find any documents with samples. Reading information from /? is sometimes boring.
If there are any links of documents with samples about this tool, it is also appreciated.
thanks in advance,
George
|
|
|
|