I am looking for a way to run a netware script from Windows.
The script, which is already on netware server, collects some netware server information if it runs.
I need to start the script from a windows 2000. For Unix, such as Solaris, Linux, I am using rsh to do this task. Wondering if there...
Yes. I made 32 bit application working on 64 bit, by modifying registry a bit - my application reads the registry to get part of information.
C++ 64 bit compiler, I tried Microsoft Platform SDK. worked well. I ends up not using 64 bit application, since vendors are not ready for 64 bit DLL at...
I need to port a C based program to Windows 64 bit. The calling sequence is like this:
Exceutable (A) ---> dll (B) --> dll from Vendor (C) --> hardware
I have everything in 32 bit, works very well on NT, 2000, XP (32bit). When I put it on Windows 2003 (64 bit), it doesn't work.
Questions are...
One more question.
I have following code, based on idarke's:
ClassLoader cl = ClassLoader.getSystemClassLoader();
URL url = cl.getResource(".");
File theFile = new File(url.getFile());
System.out.println(theFile.getPath());
If the current dir doesn't have space char, it works good...
One more question.
I have following code, based on idarke's:
ClassLoader cl = ClassLoader.getSystemClassLoader();
URL url = cl.getResource(".");
File theFile = new File(url.getFile());
System.out.println(theFile.getPath());
If the current dir doesn't have space char, it works good...
Well, this is not what I want.
The code will return whatever the current dir is, not the location of the class file.
The problem is a user can start a class from anywhere. I am looking for a way to find the location of the class.
More specific, let's say my class is C:\temp\Test.class,
if I...
In Java, how can I get the absolute path for a class file programatically?
One simple example will be: say I have test.class file, if I put it in C:\temp\, run it from anywhere, it will print out C:\temp. If I put it into C:\program files\test\, it prints out the above path, too.
In VC++ and...
A few months ago, I posted the same question. One guy answered with following API. I haven't tried it by myself, One of my students tried, but having problem to find some DLL during compilation.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/iswow64process.asp...
I am using Win2K resource kit dumpel.exe to dump the event log to a text file and do some analysis. In four of our Win NT servers, we got this error. It seems working fine on all other Win NT and 2K server.
In Windows eventviewer, we can view, save, and export all events. But dumpel.exe dumps...
I mean since getting package version is probably 1/20 of RPM fucntions, it is no good to read through the whole RPM package.
I'd like to save a little bit time by looking into one (or several) particular files.
Thanks,
Any idea which file(s) are likely the target(s)?
The source code is an ocean. Just want to save a little bit my vision if an expert can point me a direction. :-)
Thanks,
Please help me to find the C function to get an RPM package version nubmer? I need to write an application to collect several packages' version information and I hate to use a command line, such as "rpm -qa"
In another word, I'd like to know how exactly RPM gets the package version...
Here is the code:
=======================================================
Private Sub appendText(txt As String)
If RecvText.Text = "" Then
RecvText.Text = txt
Else
RecvText.Text = RecvText.Text + vbCr + vbLf + txt
End If
RecvText.SelStart =...
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.