|T O P I C R E V I E W
||Posted - 02 Jun 2008 : 09:36:52
I am having the following problems when I compile the demo:
In function `LRESULT MainWndProc(HWND__*, UINT, WPARAM, LPARAM)':
182 Acqdemo.cpp invalid conversion from `void (*)(PAGE_DEF*)' to `void*'
182 Acqdemo.cpp initializing argument 5 of `PAGE_DEF* WGCreatePage(const CHAR*, HWND__*, HINSTANCE__*, CHAR*, void*, const CHAR*, int, int, DWORD, int, int, int, int, int)'
Acqdemo.cpp In function `void StartGraphs1(PAGE_DEF*)':
235 Acqdemo.cpp invalid conversion from `void (*)(GRAPH_DEF*, HDC__*)' to `void*'
235 Acqdemo.cpp initializing argument 2 of `GRAPH_DEF* WGCreateGraph(PAGE_DEF*, void*, float, float, float, float, int, int, int)'
242 Acqdemo.cpp invalid conversion from `void (*)(GRAPH_DEF*, HDC__*)' to `void*'
242 Acqdemo.cpp initializing argument 2 of `GRAPH_DEF* WGCreateGraph(PAGE_DEF*, void*, float, float, float, float, int, int, int)'
How do I fix them?
|2 L A T E S T R E P L I E S (Newest First)
||Posted - 02 Jun 2008 : 12:04:45
You are correct. I am looking into an old program that is used on our production floor. I wanted to use to use Dev-C++ since it is open source. Thanks, I'll have to get a copy of Visual Studio.
||Posted - 02 Jun 2008 : 10:50:18
It appears you are trying to use our WIN-BMC-200 (Real-Time Graphics Tools for Windows) software with an unsupported compiler, the freeware Dev-C++ compiler. Every compiler is different, and we can only support the ones we claim we support.
The WIN-BMC-200 software is only compatible with Microsoft Visual Studio. So you may have a couple of problems. First, it not clear whether or not you can load a MS Visual Studio project, which specifies a large number of files, folders, and resources for each of our example programs. If you can't load an example programs project, you won't be able to compile or run it. Second, there may be differences between two compilers. We can't say, because we have never used the Dev-C++ compiler before. We don't have any plans to do so.
I would have to think that this software was originally purchased for use with Visual Studio C/C++, perhaps many years ago, and you came across it and are trying to use it with Dev-C++. Is this the case?