Cottonwood wrote: > 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"
CreateFileA is the char-version of CreateFile. Modern win32 systems use CreateFileW though, but most provide a backward compatible wrapper for CreateFileA. ws2_32.dll is the Winsock 2 library, which provides sockets. This is not even supposed to provide CreateFile. > #include <windows.h> > #include <conio.h> The content of conio.h is inherently nonportable and I wouldn't even expect it to be completely implemented. What of that do you need anyway? > char outfile; > > outfile='.\\qqtest.bmp'; You want a string literal here, i.e. double quotes. Also, you should use initialisation instead of assignment. > ../../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" Some things here: - If you wrote that yourself, you shouldn't as g++ usually knows much better what to link and what not to link. You should only need to add nonstandard libraries. - You shouldn't have to add the full path, g++ should know the path to most libs itself. - Why is the last line in double quotes? Uli -- http://gcc.gnu.org/faq.html http://parashift.com/c++-faq-lite/ _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus