Thank you for your response. I was able to find this same thing out last night, but didn't get a chance to come back until just now.
But another question: how do I know what namespaces the document uses? The documents that I'm loading can have different namespaces everytime I load them.
The...
I'm trying to get MSXML to parse an encoded SOAP response we're getting from a Web Services interface. (MSVC++)
When I get the response back, and pass it into the MSXML parser, it parses fine, but then when I try to query a node out of it, it throws an error saying that the encoding namespace...
I'm currently developing a program that needs to be cross-platform, but some of my abstraction layer needs to be platform specific. I know that there are some Preprocessors that work on certain systems, but I'm wondering if there are standards for such things?
I'm currently using things such...
One other thing I forgot to mention: I'm compiling it on SuSE 10 and Gentoo 2005.1, both places I get the SEG FAULT.
But when I compile the same exact code on the Mac, no problem what-so-ever!
The confusion grows...
Thanks again,
Miq
I'm not quite sure what the problem is, but we're trying to create a multi-threaded server. But every time we do, when the main thread creates the second thread, it crashes with a SEG FAULT.
We are not quite sure what is causing this, but when we compile with -lpthread, it works fine.
If...
Well, I didn't define my BaseClass, so you cannot assume that it is not an abstract class. The BaseClass I'm inheriting from is an abstract class (includes Virtual functions). So it is polymorphism.
class BaseClass
{
public:
virtual bool Func( BaseClass& ) const = 0;
private:
int C;
}...
Thank you!
I thought that this was how it worked (I've never had to do inheritance before) but I was having problems getting it to work, so I'll give it a try again.
If something goes wrong, I'll be back!
-Miq
I am writing a set of classes that inherit from one-another as follows:
<BaseClass>
/ \
<Class1> <Class2>
I have a function in Class2 that needs to accept any of the classes as a parameter. Can I just have it accept the BaseClass as the parameter (I only need...
Exactly you see, Salem has stated my question possibly better than I have. The standard only sets a minimum for the number of bits for each.
I am looking for a way on each platfrom to specify the number of bits for our number variables. I am going to typedef each of the types that we use, but I...
Okay, so we seem to have established that:
short: is okay at 16 bits
long: is okay at 32 bits
long long: is sometimes okay at 64 bits
But that char can vary in the number of bits that it contains. Is there a different way?
Is perhaps byte cross-platform?
Thanks again guys,
Miq
Thank you for your response, however, it doesn't look like Microsoft supports SIntn/UIntn, so I'll have to use the Microsoft specific __intn, but I cannot find something that has a defined size in Linux systems, apparently UIntn doesn't work in Linux systems.
I have to avoid using the...
I've been looking for the best way to ensure a data type size, cross-platform. I need to ensure that the integers I'm using are 8 and 32 bits.
I've found the Microsoft __intn and OSX (that I think will work on Unix, but haven't had a chance to check yet): SIntn/UIntn.
Is there a more basic...
I believe what I'm trying to do is caret translation... But I have a problem...
The system I'm using requires you to press F10 to execute a search. So I wrote a script that is supposed to do that, and it does on Procomm Plus 32, we recently got a new computer that has Procomm Plus 4.8 installed...
Good idea DrSimon, that's one thing I had considered, but wanted to know if there's a different way.
Also good suggestion PH, but the control has to have focus to set the SelStart, and as soon as it looses focus, it reset's the box.
Thank you very much for your suggestions so far! If any has...
Not quite what I'm looking for... I'm not just trying to marquee text, I actually want to use the scroll bar on the text box when it's in focus. It's a multi-line text box that I want to stay at the bottom/end of the text after the control looses focus. But currently it jumps back to the...
Does anyone know if it is possible to autoscroll a textbox? I'm trying to create a console of sorts, so that you can look at your command history, but I need the history text to stay at the last command entered. Right now, when it adds the text to the textbox, or when the textbox looses focus...
Yes, that's the same type of code that I'm using, but with RoyVidar's direction on the Execute command.
I have to be able to use it on a clean installation, across multiple OS's and I just have to have it be able to work no matter what. So I want to keep in fairly simplistic, but again, thank...
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.