Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a known problem with MS 6.0 on Win2000Pro

I am transitioning from Win98 to Win2000Pro. I am using VC++6 with all current SPs and MS ver 6.0. On
the Win2000Pro machine when I set the value of a CWnumedit control on a popup window, close the popup, and close the application I get a memory error. A
simple test case with just the two dialogs and a single numedit control on the popup consistantly give the same result. If I do not set the value of the control the application closes without error.

I popup the dialog with

m_STI.DoModal();

and set the value of the control with

m_CWNumeditXSensitivity.SetValue(95);

The memory error is

The instruction at "0x0040ab78" referenced memory at "0x240c90f0". The memory could not be "read".
0 Kudos
Message 1 of 7
(3,631 Views)
Hello

Could you zip up a small project that demonstartes this? I would like to have a look at this effect.

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 7
(3,631 Views)
Bilal,

The zip file you requested is attached. the folder
contains a READ_ME that describes the problem.
0 Kudos
Message 3 of 7
(3,631 Views)
Joe

I ran the program like you said, and I did not see anything happen. I uncommented that line and build it, bought up the pop up, changed the values, and then exited the program, it ended gracefully. The only thing that was kinda unusual was that when I opened the projet, it prompted me to convert the project to MS 6.0. You said you alreay had Measurement Studio. I resaved the files and attaching it. Try running it and see if the same thing happes,because I have pretty much the same configuration you have, Win2k, Visual Studio 6.0, SP5, and MS 6.0

Let me know if this works
Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 4 of 7
(3,631 Views)
Bilal,
Your version will not build on my machine. The
compiler can not find all the Ni include files.

I am using MS ver 6.0 s/n j12x80125. The list of NI
includes files in your build is quite different from
mine.

Differences in MS include files
I will list the files that are unique to each of our systems

Your version of MS 6 My version of MS 6

NiAnnotation Ni4882
NiAnnotations NiAll
NiArrow NiCommon
NiCaption NiDataTypes
NiColorVector NiUtility
NiControl
NiCursor3D
NiCursors3D
NiDataObject
NiDataSocketServer
NiIncludes
NiMathException
NiOpcQuality
NiRegistry
NiShape
NiSystemTrayIcon
NiThreadLocalVar

I am assumin
g you are using an update to v6 that I do
not have. I need a solution ASAP.
0 Kudos
Message 5 of 7
(3,631 Views)
This is very unusual,

The main thing I am concerned about is why would your project being detected as a MS 1.0 project.
Did you previously have MS 1.0 on this machine?

Is this problem happening on all Win2k machines for you?

I tried your project on two different Win2k machines with MS 6.0, VS 6.0, sp5, and it seems to be working fine, and your project keeps on bringing the conversion utility.

Try running your project thru the conversion utility that should have been installed on your IDE, and see if that corrects the problem.

You can call on the technical support line, and talk to our engineers and make sure that everything did get installed right.You can generate a service request from http://ni.com/ask, and get a
toll free number to call in for support. Hopefully that should clear things up

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 6 of 7
(3,631 Views)
Bilal,

I did indeed have MS v1 before I had MS v6. I went
through and removed all reference of MS from my system.
Visual C would not run so I had to repair VC. I
reinstalled MS 6. Then things got interesting. As
long as I was running as Administrator things were
fine. When I logged in as a user, MS kept saying the
installation was defective. I had to give myself
administrator rank so MS could configure for the
current user. At this point everything seems OK.
Thanks,
Joe
0 Kudos
Message 7 of 7
(3,631 Views)