Hi, I am rather new to C++ programming, but I have worked with Java for sometime.
The thing is that Java has a parent exception class from witch all other exceptions should derive from, therefore when you write a try/catch block you can basically catch any exceptions using the parent exception...
Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example?
In other words, what should I...
Hi, I have a created a solution on Visual C++ 2008 Express that has 3 projects inside it. Project A generates a static library (A.lib), project B references A and generates a dynamic library (B.dll) and project C references both A and B and generates an executable (C.exe).
The problem is that...
Hi, finally I've solved the problems!!!
First of all I created a basic app like you suggested with the code below:
package com.itautec.test;
import org.apache.log4j.Logger;
public class SimpleTest
{
public static void main(String[] args)
{
Logger log =...
That recommendation that I've read said exactly that: put your log4j.xml inside the src folder and Eclipse will copy it to the bin folder where the .class files will be generated.
I wasn't aware that there was a specific log4j forum here at tek-tips... However in my long search through google I...
I saw a recommendation on the web to put the log4j.xml inside my src folder, and that is what I did. As far as I know the log4j.xml was indeed included on the classpath, right?
Is there a way to manually include the lo4j.xml inside the classpath with eclipse, something like right clicking the...
Hi, does anyone knows if I can use log4net with C++ in Visual Studio 2008? If so can you point me to some tutorials, I have spent quite some time looking for those, but they seem to have completely eluded me.
Also if it is not at all possible to use log4net with C++, can you recommend me...
Hi, I am using Java 1.6 and log4j 1.2.15 with Easy Eclipse Server 1.2.2.2 to develop a simple test program.
I wanted to log a few things about this program and then I decided to use log4j to that, but it seems I am not being able to configure it correctly. Whenever I run my application I get...
Hi, I have just discovered that as well.
I was indeed compiling the program as a Debug build and not a Release build, then I changed it so that it would compile as a Release build and everything worked fine.
Thanks for your help,
Komyg
Hi, I have made a program in Visual C++ 2008 Express and it worked fine on my machine, then I tried to execute it on another machine and got this error: "The system cannot execute the specified program."
I have already installed the "Microsoft Visual C++ 2008 Redistributable Package", but I...
Hi, thanks for the answers everyone. I've looked into the page that linney sent me and I am convinced that my Windows XP should have that command, but whenever I type mklink on the console it returns that error message that says the command you typed is incorrect or doesn't exists.
I think that...
Hi,
I am trying to create a directory shortcut in Windows XP, that in theory should work like this: considering the directory c:\dir1, I should be able to create a shortcut dir2 that would allow me to type "cd c:\dir2" in the command console and it would show me the contents of dir1. In other...
Thank you very much bledazemi. This is exactly what I need.
Do you know if there is a way to get the class full name (namespace name + class name) from the stack trace?
Thanks,
Komyg
Hello, thank you all for your answers.
Unfortunatelly I cannot use log4net, that was why I created the log classes myself.
I don't like the idea of throwing an exception just to get the method name, so I am just goint to stick to my original method (below) and input the method name myself...
Hello, I am creating a Logger class for my program.
The method that writes to the log file is below:
/// <summary>
/// Logs the input Strings in the following format: "<Namespace>.<Class>.<Method> - Message"
/// </summary>
public void WriteLog(string...
Hello, I am new to C#, but I've had some Java experience.
In java you can write a method, throw an exception in it and with a "throws" clause let the method that called it handle the thrown exception, for example:
public void myMethod1()
{
try
{
myMethod2();
}...
Hi, I am working with VB6 to make a program that makes a SQL SELECT to a generic table in a database and then outputs the information brought by the SELECT to an excel csv file.
So far I was able to output all the rows returned by the SELECT using a record set, but I cannot get column names...
Hi, does anyone know where I can find the documentation of the Crystal Reports API for VB6?
For example what are the methods and properties of the classes CRAXDRT.report and CRAXDRT.application?
I know it is a very basic question, but I looked everywhere in google and didn't find anything...
Hi Madawc, thank you for your answer it was really helpfull.
But I still have another question.
Does anyone know where I can find the documentation of the Crystal Reports API for VB6?
For example what are the methods and properties of the classes CRAXDRT.report and CRAXDRT.application...
Hi, can anyone tell me how can I create a custom Crystal Reports report template?
Thnaks,
Komyg
PS: I'm very new to Crystal Reports so please be as specific as you can.
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.