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 strongm 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: BPMan
  • Order by date
  1. BPMan

    TCP reconnect after program crash

    ok i have two executables (A and B) that have an tcp connection. Executables A must be killed often and this causes a problem with the tcp connection. Is there anyway to restart the executable A and have the connection be maintained. I cannot change executable B and i do not want to bring it...
  2. BPMan

    fucntion variable by ref/val droping info

    ...myFunction(){ int var1 = 5; float var2 = 5.5; somefunction(var1, var2); } However if I change somecfunction to: void somefunction(int *var1, float *var2) and pass the variables in by reference the output is correct. Can anyone explain why this problem is happening and a fix so i...
  3. BPMan

    Alignment Restrictions with equivalences

    I am working with code that uses equivalences to make large common arrays. I getting a error that reads like so: Can't place `ifwicao' as directed by EQUIVALENCE due to alignment restrictions And as far as i can tell everything lines up. Does anyone know exactly why this happens and what is...
  4. BPMan

    BLOCK DATA takes forever to compile...

    unfortunelty they are not all being initialized to the same thing. the problem is it still has not compiled after 9 hours... and i am not sure that it will ever end. I have read other places that initializing everything backwards makes things faster but i tried that and it did not work.... any...
  5. BPMan

    BLOCK DATA takes forever to compile...

    I am trying to compile some data in file that goes like this BLOCK DATA stuff INTEGER istuff(484484) REAL rstuff(484484) EQUIVALENCE istuff(1), rstuff(1) COMMON someOtherVariable/rstuff DATA rstuff(1) /1.2/ DATA rstuff(...) /1.2/ DATA rstuff(484484) /1.2/ END this has been compiled...
  6. BPMan

    g77...Does Data cause variables to be static

    thanks
  7. BPMan

    g77...Does Data cause variables to be static

    i am using the gnu compiler version 3.2.2, so i am compiling with g77. And by static i mean that the value remains the same, so after the function leaves and then comes back the value remains the same. Is this the case if i do this: REAL Variable DATA Variable / 10 / would this become...
  8. BPMan

    g77...Does Data cause variables to be static

    in fortran variables become static if you initialize them in there declaration. When you initialize a variable using DATA is this considered to be in the declaration, e.g. does it cause the variable to become static. I am using fortran 77 thanks
  9. BPMan

    uploading and editing images

    i have used php image functions or worked with images, but here is what i want to do, is it possible and if so how do i do it: i am being passed the path where the file is located so i want to upload the file to my server change the name and esize the image are there functions for this??
  10. BPMan

    restarting a computer with c# code???

    I want to prompt a user and ask them if they would like to restart their computer after i install some things.... i would like to do this in my c# program...... i just don't know what to call to restart the computer....
  11. BPMan

    good free easy to use installer

    nevermind that program work really well thanks
  12. BPMan

    good free easy to use installer

    yeah i have found a bunch of installers that use scripts but i am trying to find one that uses a gui instead of script..not a gui for the end user but for me while i set it up...
  13. BPMan

    good free easy to use installer

    i developed a program in VS .NET and would like to package all the files in an installer.. does anyone know of a good easy to use installer that preferably has a gui interface for setting up the install file. thanks
  14. BPMan

    Getting multiple events with one click

    ahhh yes i didn't realize that is how listeners work... you are a genius, if i had a lot of money i would give some of it to you...i would have never figured that out on my own......since i can't give you money will you settle for a purple star...
  15. BPMan

    Getting multiple events with one click

    ...but if do some other stuff, like resize...it will output them multiple times with only one click from then on...here is the code: import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.io.IOException; public class clickTest { public static void main(String[]...
  16. BPMan

    Getting multiple events with one click

    BUTTON.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ System.out.println("PRINT"); }}); when i click on a button i am getting a bunch of...
  17. BPMan

    Getting multiple mousePressed events with one click

    i need mouse pressed and mousereleased or whatever it is...my problem is it is giving multible mousepressed, i am not sure if it is giving multiple mouse clicks or not but it should give the same amount.... anyways i have to used mousepressed... any thoughts on why i might be getting multiple...
  18. BPMan

    Getting multiple mousePressed events with one click

    I have the following code: addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { System.out.println("MousePressed"); }}); and when i first open my program...
  19. BPMan

    Editing a picture file in code

    i want to edit a picture file with a program. For example i want to go through each pixel and check its RGB values and do something like if(pixel[123][100].Red == 5) pixel[123][100].Red = 27 is this possible or is there an easier way to do this. Thanks
  20. BPMan

    web browser local reference

    thanks that did the trick

Part and Inventory Search

Back
Top