If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Link from a web page to a C program

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-27-07, 17:52
flobeats flobeats is offline
Registered User
 
Join Date: Apr 2007
Posts: 31
Exclamation Link from a web page to a C program

I have a web page on a server and with a link from web page i want to start a C language program : program.exe. Somebody help me! Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-03-07, 17:21
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
C

What exactly this program do?Can you replace this program with a Java applet?
Dimis

Last edited by dimis2500; 05-03-07 at 17:27.
Reply With Quote
  #3 (permalink)  
Old 05-03-07, 17:28
flobeats flobeats is offline
Registered User
 
Join Date: Apr 2007
Posts: 31
The program read paralel port of pc, read some sensors, temperature, move, security, fire.I don t think I can do that with a java applet. It is a complicate program. Anyway thanks maybe someone else help me with a hint..
Reply With Quote
  #4 (permalink)  
Old 05-03-07, 18:20
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
C

You may do an Active x or to use a db storing that information, did you search if a "web language" (.net or servlets/Java classes maybe)can do the things you want?
Dimis
Reply With Quote
  #5 (permalink)  
Old 05-03-07, 18:30
flobeats flobeats is offline
Registered User
 
Join Date: Apr 2007
Posts: 31
Wink

yes..it seems php do the work that i want..but the program that i want to acces is in C and...I have 4 sensors, 1 to access from web page the program(read temperature) and 3(fire, move and security sensors) must tell to the web page: hey..is a fire; hei is movement here; hay sameone try to still from your house.
I don t know what to do..I need solutions..
Thank s for the ansers..
Reply With Quote
  #6 (permalink)  
Old 05-03-07, 18:40
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
I just google it and find sockets as link, I thing something like that sould be the solution.
Dimis
Reply With Quote
  #7 (permalink)  
Old 05-03-07, 18:45
flobeats flobeats is offline
Registered User
 
Join Date: Apr 2007
Posts: 31
Thanks very much it is a good start..You deserve a big BEER !
Reply With Quote
  #8 (permalink)  
Old 05-20-07, 04:52
wah_wah_69 wah_wah_69 is offline
Registered User
 
Join Date: Apr 2007
Posts: 10
Have you ever heard of JNI, in essence native calls from within a java application.
Reply With Quote
  #9 (permalink)  
Old 05-20-07, 16:34
flobeats flobeats is offline
Registered User
 
Join Date: Apr 2007
Posts: 31
Quote:
Originally Posted by wah_wah_69
Have you ever heard of JNI, in essence native calls from within a java application.
No i didn t, but i will make a google search, thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On