Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Miquella

  1. Miquella

    MSXML Undeclared Namespace error

    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...
  2. Miquella

    MSXML Undeclared Namespace error

    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...
  3. Miquella

    Preprocessor - Cross Platform

    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...
  4. Miquella

    lpthread?

    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
  5. Miquella

    lpthread?

    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...
  6. Miquella

    Inheritance Base Classes

    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; }...
  7. Miquella

    Inheritance Base Classes

    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
  8. Miquella

    Inheritance Base Classes

    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...
  9. Miquella

    Fixed Data Size

    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...
  10. Miquella

    Fixed Data Size

    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
  11. Miquella

    Fixed Data Size

    Okay, but is limits.h a standardized include file? And on a further note, am I allowed to overwrite these values?? Thanks again, Miq
  12. Miquella

    Fixed Data Size

    Hmm... interesting! Thank you very much! I'll give that a try as soon as I get a chance! Many thanks, Miq
  13. Miquella

    Fixed Data Size

    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...
  14. Miquella

    Fixed Data Size

    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...
  15. Miquella

    Caret Translation

    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...

Part and Inventory Search

Back
Top