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 Chriss Miller 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: wminghao
  • Content: Threads
  • Order by date
  1. wminghao

    help on JNI calling java as a seperate thread.

    Hi, I made a screensaver which loads a jvm, forks a thread running a java class, wait until user's action(i.e. mouse move/click keyboard input), then terminate the java thread. However, I met a problem, How to terminate a running java thread from c++ code? Here is my code, but it does not...
  2. wminghao

    Array of Pointers in B Tree

    Hi, I am implementing an B tree ADT. But I cannot figure out how to store an array of Pointers for the internal node of B tree. I used a class called template <class Object> class OrderedList to store the keys or records in a ORDERED LIST But I cannot store pointers in a ORDERED LIST...
  3. wminghao

    add a time period of delay in main thread.

    Hi, all: I met a problem while executing the following code. I need to check the vector to see if it is empty, if yes, remove the first element and process it. else go to the loop again. While(true){ if(myVec.isEmpty()==false){ myObject=(myObject)myVec.remove(0); //next...
  4. wminghao

    Replication Drop table

    Hi, I created a merge replication for two databases. I would like to drop a table(article) now. But it seems do not allow me to do so. I also checked the stored procedures where I can only find sp_repladdcolumn and sp_repldropcolumn, but not how to drop tables, does anyone have any...
  5. wminghao

    How to define a string field that is bigger than 2k?

    I need to create a table, in which there is a field called Description, i try to make it as VARCHAR2 size 10k, but the max length of VARCHAR2 is 2k, is there any other type that can have a size bigger than 2k? How to define a string field whose size is bigger than 2k in Oracle? Mollusk
  6. wminghao

    Here is my tcp/ip socket problem

    Now I have another problem. I run a server in an eternal loop. I need to close the socket after I press ^c, so I use signal(SIGTERM,cleanEXIT); signal(SIGINT,cleanEXIT); Then in the top of the program. I use : int listenfd; void cleanEXIT() { close(listenfd); /* clean up the garbage...
  7. wminghao

    I have a problem with socket programming

    I run a sample http server in an eternal loop. I need to close the socket after I press ^c, so I use signal(SIGTERM,cleanEXIT); signal(SIGINT,cleanEXIT); Then in the top of the program. I use : int listenfd; void cleanEXIT() { close(listenfd); /* clean up the garbage processes*/...
  8. wminghao

    Big Problem, about Coldfusion. Any one has met before

    Hi, everybody: I used coldfusion for the website of my company since this August. Everything works fine, except one minor problem: In my program, before I write anything into the database, every informaiton is stored in the session, including price, quantity, totalprice... And the...
  9. wminghao

    traceroute problem

    hi: The problem is that: How do I find a machine I tracerouted is a NON-EXISTANT machine or is just running down(not responding)? Is there a way when I looked at the packets to see any difference between them? thanks
  10. wminghao

    how to find the arp timeout value?

    Hi, everyone: I am using sun solaris. I tried to use &quot;arp&quot; to read arp table information and find that each arp entry has a timeout value. Is there a way that I can find the arp timeout value for each entry in my arp table of the local machine. Thanks
  11. wminghao

    How to validate URL in a form input?

    any ideas? about how to validate URL: <br>for example: <A HREF="http://www.abc.com" TARGET="_new">http://www.abc.com</A><br><br>One more question:<br><br>&nbsp;How to enable both my own Javascript form validation and Coldfusion form validation at the same time when submit a form?<br><br>Thanx in...
  12. wminghao

    How to point query result to the next record in a cfoutput?

    inside cfoutput, I output my SELECT query<br><br>&lt;cfoutput query=&quot;abc&quot;&gt;<br>&nbsp;&lt;tr&gt;<br>&nbsp;&nbsp;&lt;td&gt;<br>&nbsp;&nbsp;&nbsp;#abc.Name#<br>&nbsp;&nbsp;&lt;/td&gt;<br>&nbsp;&lt;tr&gt; <br>&lt;/cfoutput&gt;<br>&nbsp;<br>But I wish to disply two &lt;td&gt; in one...
  13. wminghao

    how to show all subcategory in one selected category

    Hello:<br>&nbsp;<br>Can i get help about my problems in designing web pages of Coldfusion?<br>&nbsp;<br>In my Database, there is a table called Category ,contains all the three levels of categories in my listing. <br><br>each record has a category name and a parent which points to his father...

Part and Inventory Search

Back
Top