Hello All,
I'm currently developing an API that will be used by our current clients, as well as future clients yet to be defined. We would like this API to have the ability to be secure, so the built in features for WCF seemed like a natural fit. Unfortunately our current clients are running...
I'm trying to write a client that interfaces with a WebSphere instance and I'm getting the following error:
java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr
This is coming from the code:
ResourceBundle rbConnectionProperties = ResourceBundle...
Does anyone know how to check the capacity/usage of a given volume? All I have is the path. I know you can check at least the capacity with JConfig, but I'd like to do it without purchasing additional software. MYenigmaSELF:-9
myenigmaself@myenigmaself.gaiden.com
http://myenigmaself.gaiden.com...
I'm having a problem; I'm getting an Invalid Cast exception thrown when I try to add strings. Here's the code:
string user="SELECT Password FROM InternalUserPwd where UserName = '"+usr+"'";
if(checktype)
{
user+=" and UserType = " + type.ToString();
user+="...
If anyone has any experience using xerces-c in c++ I have a question to ask about validation using SAXParser and schemas. Thanks. MYenigmaSELF:-9
myenigmaself@myenigmaself.gaiden.com
http://myenigmaself.gaiden.com
"If debugging is the process of removing bugs, then programming must be the...
I'm having a problem validating an xml file using a Schema and the Xerces SAXParser. The code is as follows:
parser = new SAXParser();
parser->setDoNamespaces(true);
parser->setValidationScheme(SAXParser::Val_Always);
parser->setValidationSchemaFullChecking(true)...
I'm having some problems getting started using xerces on the windows platform using VC++ 6.0. I can compile a simple application without problems but when I try to build I get a slu of link errors. Most of the link errors are related to virtual functions but not all. I thought maybe the...
Is there any way to create a funciton or stored procedure that can take a result set and return the median? Eg:
select company, MEDIAN(salary)
from jobs
group by company
The main problem is passing a result set to a function or stored procedure. Is this possible? For efficiency purposes I...
I'm having a problem upgrading an existing project from VC++ 6.0 to .NET. When I import the old project into Visual Studio .NET I go through the standard upgrade process, but when I try to build I get linking errors in the MFC lib. eg:
[ProjectName] error LNK2005: "void __cdecl operator...
I've used CDatabase objects sucessfully before. That's not the problem. My problem is I need to get data from my SQL server using ODBC, so CRecordset was the logical next step for me. Here is the code so far(odbc is my odbc source name and table is my table name that I wish to perform the...
I've got s few stored procedures in my MsSQL2k database. I'd like to be able to not only call them, but get the text that they return from a VC++ application. I have no problem calling them, but I would realy like to get the output from any PRINT statements I've made. Not the recordset, but...
Ok, I stated this in another thread but it wasn't the question, so I'll pose it again:
I have three bitmap resources loaded;IDB_BITMAP_RED, IDB_BITMAP_GREEN, and IDB_BITMAP_YELLOW.
I have a dialog based application. I create a 'Picture' by using the Picture tool on the Controls palette. In the...
Is there a new line char or carriage return or something I can do to bring me down to the next line in my Editable Text windown in my CDialog Box? And is there a way to make sure that my output is flushed to the screen and printed when I change the text? MYenigmaSELF:-9
myenigmaself@yahoo.com...
I have a VC++ program that runs in the comman prompt. I'd like to put a GUI on top of it. I created a simple VB application and I can easily run the C++ program using the shell command, but is there any way to get the output from my VC++ program back to the VB program? MYenigmaSELF:-9...
When connected to a data source, I've only done this with MsSQL2k but the same most likely holds true for all ODBC Drivers, usign a CDatabase object you must call CDatabase::Rollback() if your transaction fails. eg:
CDatabase db;
db.open("[ODBC Source Name]");
try{
//create SQL...
I have a simple win32 application that I run from the console. It's completely console based, but I would like to put a GUI on top of it. Is there an easy way to do this? All I need is a button to start the process and a text frame of some sort to output the results to. This would take about...
Two quick(I hope) questions.
Exception: I'm using ODBC and the CDatabase object to query a SQL Database. My problem is that when I pass SQL an invalid date my program crashes. I catch the exception but it's not any type of exception I would be expecting such as a CDBException. I catch using...
I have the following problem. My program hangs terribly once it has finished execution. The longer the program executes the longer it hangs at the end. Could a memory leak cause this problem?? If not then what's going on?
...
standardExecute("session");
std::cout<<"back...
I've got a question concerning OLE DB. Is there an easy way to connect to a data source using OLE DB? I've done it using ODBC and the CDatabase object but as far as I know the CDatabase object only supoprts ODBC, not OLE DB. Is there something like that which can allow you to easily use OLE...
I'm having a little problem with strings, particularly conversion and manipulation of CString/char*. Now am I correct in assuming that CStrings are NULL terminated? And when you create a char* in the manner of "the string" that is alwo NULL terminated, right? My problem is weird...
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.