Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ccrum

  1. ccrum

    Calling C++ DLL from FORTRAN (DVF 6.5)

    I'm trying to call a C++ DLL from my fortran code. I know how to declare the functions in FORTRAN for this, but what I don't know is how to actually link the C++ DLL to my FORTRAN program. In the past I have called C DLL's but they came with a static library ".lib" file that I could...
  2. ccrum

    Fortran Vs C

    Anyone have a good test to prove that FORTRAN is faster for math than C?
  3. ccrum

    Com port access in Windows using VB

    Add a com port to a form, open it and start processing data. I think the object is MSCOMM.ocx. Hope that helps. ccrum
  4. ccrum

    GSM Antenna

    Yagi antennas would not be very suitable for GSM applications unless you are trying to cover a tunnel or similar area. The problem is that Yagi's typically have very narrow and very directional beamwidths. This would cause the coverage area very specific. On the phone side, this would be even...
  5. ccrum

    Reading the USB port

    I need to write an application that can access data comming in on a USB port. Does anyone know how to access a device on the USB port or can anyone point me in the right direction to find out how to do this? Cameron
  6. ccrum

    Outage Formulas

    Can anyone direct me to where I might find the ITU microwave link outage formulas online? Cameron
  7. ccrum

    Desperately need help with C!!

    It's more like this. I have a .lib with a function defined in the header file as: extern int rd123fld(FILE *, char *, char *, char *, long *, int *) The actual function is: int rd123sfld(fp,tag,leadid,rd_str,str_len,status) FILE *fp ; char *tag ; char *leadid; char *rd_str; long...
  8. ccrum

    power for GSM towers / antennas

    Power requirements are usually specified by the equipment vendor. Most sitew which I have built for CDMA and TDMA have required at least 200A service for all the electronics. As for lighning protection, the vendors usually spec out this too, but again it is typical to have lighning rods tied...
  9. ccrum

    Desperately need help with C!!

    I have a program which calls a function in a library. The function returs a 4 byte character array which contains a (BFP32) binary floating point 32 bit value. I can not seem to get the floating point value out of this 4 byte string. Does anyone have a clue as to how I could go about doing this...
  10. ccrum

    ms access 97 controls

    You can use VB to build forms with as many controls as you want. Access works nicely through VB as well. Just a thought. Cameron
  11. ccrum

    Fortan DLL call from VB

    Rob (staudro), I'm not familiar with Absoft but I'll help if I can. What are the problems you are having? If you want to take this offline e-mail me at c-crum@waveconceptsintl.com. I need to tell you up front that I cannot release any of my source code. It is all owned by my company, but I can...
  12. ccrum

    Fortan DLL call from VB

    I'm not that up on Fortran 95, but it looks like the key elements are there. It appears that your problems are in your VB. First it looks like your VB declare may have some problems. Fortran has no idea what a variant variable type is. Also, if you are passing strings, good luck, I've never had...
  13. ccrum

    Fortan DLL call from VB

    staudro, What version of Fortran are you using? There are subtle things in each compiler and language version that make this a harder task than it really should be. I use DVF 6.5 now and can really only give you tips on writing DLL's using this. Let me know and I'll be happy to help if I can...
  14. ccrum

    Fortan DLL call from VB

    Dan, Thanks for the reply. I got the program working. I really didn't change much, but added input and output declarations to the variables being passed. That seemed to do the trick. I love fortran because it's so simple and fast and VB is easy to write GUI's. If you can get it working together...
  15. ccrum

    can signal be sent from traffic light to car

    The first suggestion about using an IR or laser is the best so far. The problem using even a very narrow beam antenna and a radio frequency(RF) signal is reflections off the cars and other surfaces that may find their way into the undesired lanes. Take Police Radar for example. They use very...

Part and Inventory Search