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