All,
I'm trying to write a simple program using the MySQL API that comes with the
MySQL windows distribution. One is a Windows console (DOS mode) application,
and one is a simple Win32 application. Both are compiled using Microsoft Visual
C++ 6 (with SP3).
Here is the source code for the DOS program:
------
#include "windows.h"
#include "mysql.h"
int main() {
return 0;
}
----------
That program compiles just fine.
Here is the code for the Windows application:
----------
#include "stdafx.h"
#include "windows.h"
#include "mysql.h"
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR
lpCmdLine, int nCmdShow)
{
return 0;
}
----------
That does not compile, and gives me the 4 errors. I haven't the first clue why
I get these errors when I use such a simple Windows program... the DOS program
compiles just fine.
Any ideas?
Paul "ThunderHud" Hudson
(Please send any replies to Thun...@thecgf.org :)