Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Windows
 Charting and Real-Time Graphics Tools for Windows
 acqdemo.c and Dev-C++ 4.9.9.2
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Steve Sexton

2 Posts

Posted - 02 Jun 2008 :  09:36:52  Show Profile  Reply with Quote
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?

quinncurtis

1164 Posts

Posted - 02 Jun 2008 :  10:50:18  Show Profile  Reply with Quote
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?
Go to Top of Page

Steve Sexton

2 Posts

Posted - 02 Jun 2008 :  12:04:45  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07