Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

AppWizard Compatability

I want to use VC++ Professional's Custom Appwizard but I keep running into complications. First of all I guess I'd like to know if you think this is a good idea. That is to use Appwizard to create a generic environment for all my projects so that I can just give it a new name and I have a new project shell.

Secondly, if you do think it's a good idea, maybe you could help me with the following issue.

I created a generic MFC project and then updated it with the Measurement Studio 6.0 Upgrade wizard. I added support for VISA and 488.2 as well as all the controls except for DataSocket. I then added all the generic functions I wanted included in all of my project_nameDlg.cpp and *.h files and saved the project. When I run CustomAppWizard a
nd ask it to base itself on my new project it says "This project contains two files with the same name in different directories so it can't be used as a base project. This is probably because the project is a sub-project." Well, that doesn't help me much so I've tried a bunch of other things and I've had some marginal success. I just wish I knew what step in the process gives me the sub-project error.

Anyway, thought you might be interested in the issue because I don't know any other way of creating a generic starting point. Of course I'd be open to any suggestions you might have regarding this. Thanks a ton.

Grant

ps. I'll be sure and let you know if I finally figure out how to get consistent results.
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 1 of 2
(3,114 Views)
Grant -

Thanks for using the Developer Zone here at National Instruments. We really are proud of this format and it's ability to allow our customers to interact and help each other along in the development processes.

It appears that you are looking purely for an opinion as to this process of your development. I can definitely see the usefulness of being able to have a generic starting point from which to go, and I think that is a great idea. However, I am somewhat confused.

You speak of first developing a generic MFC project and then updating it with the MS 6.0 upgrade wizard. I have a Windows 2000 machine with VS 6.0 and MS 6.0, but I don't know how different it is from your system. However, when I attempt to create just a general template from
which to start, I simply start with the NI Measurement Studio AppWizard. It takes care of the MFC development for me and allows me to make all of the specifications that I need. From what I can tell, this would probably be your best bet.

I attempted to recreate the error that you were getting, just to see if I could understand your error. I stepped through the process just as you detailed it, but I could not generate the same error that you mentioned encountering. As long as I did not try to name the secondary project the same as the first, I didn't get any problems at all. Therefore, I can't make any recommendations. However, I do believe that using the NI AppWizard would probably be your best bet.

Thanks again for your support of National Instruments and best of luck on your future applications!!!

Best Regards,

Greg Wempe
Application Engineer
National Instruments
Message 2 of 2
(3,114 Views)