The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 MOCA DLL
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tinkusch

Germany
94 Posts

Posted - 02/24/2004 :  10:50:51 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, is there anyone to explain me the steps necessary to create a MOCA dll from one of the examples in OPRIGIN 7.0 (RTScope, RTScroll, RTSweep) with VC++ ?

When I load the example filkes into VC++ it always tries to create an .exe instead of an .dll and I always get the following error message:

C:\programme\origin70\ati\moca\rtscope\rtscope.h(12) : fatal error C1189: #Error : include 'stdafx.h' before including this file for PCH

Thanks for any help

Stefan

eparent

118 Posts

Posted - 02/25/2004 :  09:34:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Stefan,

In each example folder there is a .DSP file. These are Visual Studio project files. They are all set to make DLLs. Simply open these files in VC.

You will need to tell VC where to find the MOCA header files. You do this from VC's "Tools>Options..." menu item. Once the Options dialog is visible select the Directories tab. This tab is where you can add additional Include folders.


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000