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!

Search results for query: *

  • Users: LuckyStarr
  • Content: Threads
  • Order by date
  1. LuckyStarr

    Compile Error: Functions cannot return arrays or functions

    Hi All, I'm a C++ newbie. I'm having a problem compiling the following code: <code> typedef char Message[20]; class StaticHelloWorld{ public: static Message hello; static void setMessage(Message message){ strcpy(hello,message); return; } static Message getMessage(){ return hello...
  2. LuckyStarr

    Version control problem

    Hi, I have a system written in Java that shares the same code for three different versions. The version logic is made using IFs, like the example: if(currentRelease == ManagedProducts.SW_540){ ... } else if(currentRelease == ManagedProducts.SW_530){ ... } else if(currentRelease ==...
  3. LuckyStarr

    Does the switch statement accepts a byte to evaluate?

    Hi all, I'm getting a very strange exception in my code and I started suspecting about a switch statement. I noticed that it evaluates a byte, but I've never seen a code like this, I learned that the switch only evaluates integer expressions. Even the java tutorial doesn't mention anything...
  4. LuckyStarr

    InstallAnyWhere newer version bug

    Hi, I have a java application which its installer is generated using InstallAnyWhere. I always used the InstallAnyWhere v5.5 and everything was fine. But when I updated my InstallAnyWhere to v6.0, the java application stopped working properly! The java code is the same; the only difference is...
  5. LuckyStarr

    RMI: weird conection problem using a single computer

    Hi All, I have a RMI server and client running in the same machine. They can connect normally, just using the 'localhost' address as the RMI address for retrieving the remote objects. The problem occurs when the network goes down (more specifically, when I unplug the ethernet cable from the...
  6. LuckyStarr

    JTextField: Keyboard with different language problem

    Hi all, I have a JTextField that forbids, for some reason, the entering of special characters like '@', '[' or ']' when using a german keybord. Other kinds of keyboard (like the american) work well. The german keyboard has its keyboard layout set for German, input locale German (or English, it...
  7. LuckyStarr

    JBuilder X Foundation: differences between Enteprise and Developer

    Hi, I'm trying to use the JBuilder X Foundation because it is free. I loaded my code, it seems it works just fine. It doesn't have the import option, but anyway I could read my existing project. Will I have any surprise in the future, like some kind of message refusing to do something...
  8. LuckyStarr

    Writing in files with VB: I Don't wan't &quot;^M&quot; written

    Hy guys, Let me ask you to have a little of your big knowledge about VB: I'm writing to a text file in VB. But I noticed that as usually in Windows programs, every line has a &quot;^M&quot; character at the end. A Unix program will use the file, and they don't like &quot;^M&quot;. Is there a...
  9. LuckyStarr

    setting form properties doubt

    Hi guys, I would be glad if you could answer my question. I have a form, with a menu named mnuSave. Besides that, I have a source code file, named OFCVB.bas . Now, I want mnuSave to have its &quot;enabled&quot; property set to True when something happens inside OFCVB.bas . I'm trying this...
  10. LuckyStarr

    String pointer problems

    Hi Folks, I have a problem, and I hope you can help me. Let me explain: I have some functions in a C DLL. And I call this functions from the VB code. The problem is occuring with a function that has a string being passed from VB to the DLL(the string will be filled by the DLL function), using...
  11. LuckyStarr

    Graph Topological Sort

    Hi Guys, I have a little problem: I need a prolog program that if you give a list representing a graph, it returns another list with the topological sort of the graph. Example: A 3 node graph with edges (1 2)(3 1) and (3 2) ?-G=[3,[1, 2],[3, 1, 2]],graph(G,X). X = [3,1,2] Can you help me...
  12. LuckyStarr

    Error when opening HTML files

    Hi everyone, Something strange happens: some days ago I could open my index.html normally in Fireworks and edit. But, suddenly, Fireworks refuses to open the same file. The point is that I did nothing to the file, just got home and the next day Fireworlks could not open it. There's an error...

Part and Inventory Search

Back
Top