473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

prob using afxdisp.h /MFC use/ CLR support


I'm making a project on vc++ express
I want to plot graphs, so using MSChart

evrything goes fine, till i come to point where I've to include
afxdisp.h

by defualt i'm using Project properties as..
use of MFC: standard windows library
clr support: /clr:pure

but i got this error
Visual Studio 8\VC\atlmfc\include\afx.h(24) : fatal error C1189: #error
: Building MFC application with /MDDrinks (CRT dll version) requires
MFC shared dll version. Please #define _AFXDLL or do not use /MDDrinks

so I changed project properties to : use of MFC = MFC shared
but then i got series of errors

WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
E:\Visual Studio 8\VC\atlmfc\include\afxv_w32.h(242) : error C3641:
'DrawState' : invalid calling convention '__stdcall ' for function
compiled with /clr:pure or /clr:safe
E:\Visual Studio 8\VC\atlmfc\include\afxv_w32.h(260) : error C3641:
'DrawStatusText' : invalid calling convention '__stdcall ' for function
compiled with /clr:pure or /clr:safe
E:\Visual Studio 8\VC\PlatformSDK\include\winbase.h(1849) : error
C3641: 'FreeResource' : invalid calling convention '__stdcall ' for
function compiled with /clr:pure or /clr:safe
E:\Visual Studio 8\VC\atlmfc\include\afxv_w32.h(274) : error C3641:
'UnlockResource' : invalid calling convention '__stdcall ' for function
compiled with /clr:pure or /clr:safe
E:\Visual Studio 8\VC\atlmfc\include\atlconv.h(90) : error C3641:
'InterlockedExchangePointer' : invalid calling convention '__stdcall '
for function compiled with /clr:pure or /clr:safe
E:\Visual Studio 8\VC\atlmfc\include\atlconv.h(104) : error C3641:
'ATL::_AtlGetThreadACPFake' : invalid calling convention '__stdcall '
for function compiled with /clr:pure or /clr:safe

so finally i changed CLR support, frm /clr:pure to just /clr
now it compiled successfully but is giving runtime errors, :(
I dont know where I'm going wrong
can someone please help me out.. how to plot XY grahps.. using simple
form application in vc++

right now i'm creating files with both x-axis & y-axis data.. & i want
to plot all those files.. please help

thanks & regards
--
vishal

Mar 15 '06 #1
0 2780

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Wilhelm Kutting | last post by:
Hi i want to use the following layout: ----------------- | | | | Text line 1 | | | Text line 2 | image.jpg | | ... | | | | | |
15
by: Raj | last post by:
Hello all: We have a table with about 2400 cells. Our requirement is to highlight the cells in the table whose data has changed, every 5 seconds. Our script behaves relatively ok in Firefox, but...
2
by: jophrthomas | last post by:
hi...i am getting a error here...saying : **quote** The ConnectionString property has not been initialized. Description: An unhandled exception occurred during the execution of the current web...
5
by: kevin goff | last post by:
I am seeing that our CPU spikes for several minutes at 100% for the asp.net process. This happens several times a day and seems to last for 10 min or so and use a lot of memory. I'm trying to...
2
by: scott | last post by:
Hi, I followed everything this article suggests: http://support.microsoft.com/default.aspx?scid=kb;EN-US;836734 Yet I still get the following message when stepping into a SP: "Cannot...
2
by: GaryDean | last post by:
( First, I'm using .net 1.1 and, yes, I posted this problem on the Adobe Forums but that won't do any good because they have very poor support) In the code pasted below, MyReport is a Crystal...
7
by: galico | last post by:
Hi All, We are having a very strange problem with the above. We have designed an application in ASP.NET 2.0 that uses the enterprise library data application blocks amongst others. We seem to be...
2
by: mnacw | last post by:
Can anybody help me to resolve this prob. i have installed Visual Studio 2005 Professional edition. I am working in VB.Net. When I tried to connect to database it is connected but when i make some...
1
by: sharat | last post by:
hello groups. i am using fc4, gcc compiler. I am usngi vectors in my program and i m facing memory corruption problem it is giving error as " ** glibc detected *** double free or corruption...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.