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 IamaSherpa 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. pecan204

    Use of Pipe Types in a dll

    ...FILE_FLAG_OVERLAPPED, & DEFAULT ) do while(.TRUE.) if(ReadFile(pipe,LOC(pipebuf),1024 ,LOC(inlen),NULL_OVERLAPPED).eqv. .TRUE.)then !write(*,*)'so far so good' firstpos = SCAN(pipebuf,'@') lastpos = SCAN(pipebuf,'$') !write(*,*)pipebuf(firstpos+1:lastpos-1)...
  2. pecan204

    Nort clear on structure use and createThread external function call.

    Thanks chipper, I just added the prototype below based on a suggestion. When I comment it out it compiles and links and when not it has a link error. Not sure if it is correct. DWORD WINAPI FTREND3(LPVOID); Where I am not clear in the createThread function is if it actually passes the integer...
  3. pecan204

    Nort clear on structure use and createThread external function call.

    ...left of '.start' must have class/struct/union type cinterface3.cpp(24) : error C2664: 'CreateThread' : cannot convert parameter 3 from 'void (long *)' to 'unsigned long (__stdcall *)(void *)' cinterface3.cpp(30) : error C2228: left of '.time' must have class/struct/union type #include...
  4. pecan204

    Errors in createThread file. Need Help!

    Thanks
  5. pecan204

    Errors in createThread file. Need Help!

    ...time[10]; int start; }; struct io cio; extern "C" __declspec(dllimport) void _stdcall FTREND3 ( long * ); void main (void) { DWORD tid, cio; HANDLE hThread; hThread = CreateThread(NULL, 0, FTREND3, &cio, 0, &tid) CloseHandle(hThread)...
  6. pecan204

    Need help calling fortran DLL with visual C

    xwb, Have you been able to get an example to work? Thanks Ken
  7. pecan204

    Need help calling fortran DLL with visual C

    It is a 16 bit dll. I am using the MS Visual C++ IDE version 5.0. Any other thoughts? Anyone? Maybe someone can try it? Thanks
  8. pecan204

    Need help calling fortran DLL with visual C

    ...! Specify that DLL_ROUT is exported to a DLL !DEC$ ATTRIBUTES DLLEXPORT :: DLL_ROUT INTEGER INT_ARG CHARACTER*(*) STR_IN, STR_OUT ! This routine converts INT_ARG to a decimal string. ! appends the string value to STR_IN and stores it ! in...
  9. pecan204

    Reading Character Strings with gets

    ...Can anyone correct this issue? Thanks <code> #include <string.h> #include <stdio.h> #include <stdlib.h> void getstudents(char [][50],int *,int *,int *, int); float classaverage(int *,int *,int *,float *, int); void classreport( char [][50], int *,int *,int *,float *, float, int); void...
  10. pecan204

    MS Visual C DLL and Java files

    ...about path correctness or steps to complete this? I have also tried it without the path and it still did not find it. Thanks Here is the C++ file******************** #include <jni.h> #include &quot;C:\jdk1.3.1\JNI\Hello\Hello.h&quot; #include <stdio.h> JNIEXPORT void JNICALL...
  11. pecan204

    How can I send data to and call dll or executable in perl?

    Thanks Goboatin, As always a reliable and in depth source. Got to do some coding now. On that Hunley, I expect to be walking around it some day.
  12. pecan204

    Running CGI script on server code comes up

    I started from a webpage which calls a perl script which is supposed to return me to the webpage that I started from but instead I get what is below. Does anyone have any idea why this comes up? I did check that CGI is enabled. Also this does work OK on another server. <h2>Thank You</h2> Thank...
  13. pecan204

    How can I send data to and call dll or executable in perl?

    Thanks for the answers. I've been stewing on this as it appears this is a couple of notches deeper than the Hunley for me. Should I be using both pieces of code below? Where would path be listed to executable? #!/usr/bin/perl @args = (&quot;fortran.exe&quot;, &quot;input1&quot...
  14. pecan204

    How can I send data to and call dll or executable in perl?

    Hello everyone, I wonder if I can get some pointers on were to look? I would like to bring data in from a form or upload file. Send data that was input or uploaded to program by calling DLL or executable from script that is written in fortran. What are your thoughts?
  15. pecan204

    Send Mail script doesn't work. Need help!

    Interesting! Would that be piedmont or in the low country? I lived in Simpsonville SC near Greenville.
  16. pecan204

    Send Mail script doesn't work. Need help!

    Wanted to update all. I setup this page on virtualave and they happen to have two different mail programs. One qmail-inject also, and sendmail, is their newer program. Script worked for both, so I would conclude that the vr9 program wasn't working correctly. Thanks for all the good help!
  17. pecan204

    Send Mail script doesn't work. Need help!

    Hi goBoating, Well I started in pea'-can land then I moved to pec-kaun land then I moved back to pea'-can land and now would like to move back to pec-kaun land, but I got this job with stk options that I don't know were it is going. How about you? Is your anchor in warm waters or are you...
  18. pecan204

    Send Mail script doesn't work. Need help!

    The latest error log. [Wed Jan 31 19:26:13 2001] [error] [client 24.25.151.112] Premature end of script headers: /data/pecan204/cgi-bin/send_mail.cgi [Wed Jan 31 19:26:13 2001] [error] [client 24.25.151.112] MOD_VR9: Error 500 occured while processing : /data/pecan204/cgi-bin/send_mail.cgi I...
  19. pecan204

    Send Mail script doesn't work. Need help!

    Hi goboating, Did not recieve any e-mail with ..form. Aren't Unix line terminators just a semi colan. Protections are 755
  20. pecan204

    Send Mail script doesn't work. Need help!

    Just to reduce confusion, this is what it looks like now. #!/usr/bin/perl # This script should send an e-mail print &quot;Content-type:text/plain\n\n&quot;; read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&amp;/, $buffer); foreach $pair (@pairs) { ($name, $value) =...

Part and Inventory Search

Back
Top