[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Runtime Error: cannot find entry point "CreateFileA" in DLL "WS2_32.DLL"
From: |
Cottonwood |
Subject: |
Runtime Error: cannot find entry point "CreateFileA" in DLL "WS2_32.DLL" |
Date: |
19 Apr 2006 06:00:11 -0700 |
User-agent: |
G2/0.2 |
Hi,
while executing a c++ program calling Fortran routines I get the
following message:
Der Prozedureinsprungpunkt "CreateFileA" wurde in der DLL "WS2_32.DLL"
nicht gefunden.
That means
cannot find entry point "CreateFileA" in DLL "WS2_32.DLL"
Here's my source:
#include <windows.h>
#include <conio.h>
extern "C" void qqopen_(float*,float*,char*,float*,float*);
extern "C" void qqpoint_(float*,float*);
extern "C" void qqline_(float*,float*);
extern "C" void qqclose_();
int main()
{
float ix, iy, scalex, scaley;
char outfile;
outfile='.\\qqtest.bmp';
ix=1201.; iy=1001.;
scalex=1.; scaley=1.;
qqopen_(&ix,&iy,&outfile,&scalex,&scaley);
ix=10.;iy=10.;
qqpoint_(&ix,&iy);
ix=1190.; iy=990.;
qqline_(&ix,&iy);
qqclose_();
}
These libraries are included (first is my own with Fortran modules)
../../F/G95/bin/qqmodlib.a
../../F/G95/lib/gcc-lib/i686-pc-mingw32/4.0.3/libf95.a
"../../Compiler lcc-win32/lcc/lib/ws2_32.lib"
I get no compiler or linker errors. The module ws2_32.lib has this size
and creation date:
ws2_32.lib 83KB 24.05.2005 21:40
What am I doing wrong?
Thanks in advance.
- Runtime Error: cannot find entry point "CreateFileA" in DLL "WS2_32.DLL",
Cottonwood <=