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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fechen

    Remote start scripts on netware from windows?

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

    need 64 bit Windows dll and executable ?

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

    need 64 bit Windows dll and executable ?

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

    how to get absolute path for a class file

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

    how to get absolute path for a class file

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

    how to get absolute path for a class file

    Got it working. Thanks a lot, idarke.
  7. fechen

    how to get absolute path for a class file

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

    how to get absolute path for a class file

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

    JNI: java.lang.UnsatisfiedLinkError

    It means JVM can't find your library, HelloWorldImp.dll on windows, HelloWorldImp.so on Solaris, etc.
  10. fechen

    WIN XP 32bit or 64bit?

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

    Unexpected error forces the termination of DumpEl

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

    How to get Package version?

    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,
  13. fechen

    How to get Package version?

    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,
  14. fechen

    How to get Package version?

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

    VB winsock client won't connect the server.

    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 =...
  16. fechen

    VB winsock client won't connect the server.

    Finally, I got it working. Great thanks to all of you helping me. Special thank to ADoozer. Your code helps a lot. To be honest, I just made the code working. Still not quite sure how winsock works. All changes are on client side, including adding _Connect() event, _Close() event, etc. No...
  17. fechen

    VB winsock client won't connect the server.

    No, just one to one.
  18. fechen

    VB winsock client won't connect the server.

    In MSDN server side code sample, actually it is not a practical example. The problem is: it will not listen to 2nd (and later) connect request. I have to dig into the documentation to find the _close event. And my client is the imitation of its client sample. Sorry, I am killing one clue. :)...
  19. fechen

    VB winsock client won't connect the server.

    Thanks a lot for suggestions. I am using TCP. I tried both suggestions, tried doevent, tried _connect() method. No luck so far. My Java socket program triggers the _ConnectionRequest() on server side, as expected. I am really not sure what's wrong. Maybe my winsock installation is bad...
  20. fechen

    VB winsock client won't connect the server.

    Here is server code. As I said in last post, the code works fine with my Java socket program. ==================================================== Private Sub ExitBtn_Click() serversock.Close End End Sub Private Sub Form_Load() serversock.LocalPort = 6000 serversock.Listen...

Part and Inventory Search

Back
Top