Click here to Skip to main content
15,502,333 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Is this a Managed CLI question? Pin
Thilek23-Mar-09 6:56
Thilek23-Mar-09 6:56 
GeneralRe: Is this a Managed CLI question? Pin
led mike23-Mar-09 6:58
led mike23-Mar-09 6:58 
AnswerRe: Is this a Managed CLI question? Pin
Thilek25-Mar-09 0:37
Thilek25-Mar-09 0:37 
GeneralRe: Is this a Managed CLI question? Pin
Sci_fie26-Mar-09 7:45
Sci_fie26-Mar-09 7:45 
Questionhow to use #pragma data_seq Pin
ernst2002053020-Mar-09 9:36
ernst2002053020-Mar-09 9:36 
AnswerRe: how to use #pragma data_seq Pin
ernst2002053020-Mar-09 9:39
ernst2002053020-Mar-09 9:39 
AnswerRe: how to use #pragma data_seq Pin
Mark Salsbery22-Mar-09 7:23
Mark Salsbery22-Mar-09 7:23 
GeneralRe: how to use #pragma data_seq Pin
ernst2002053022-Mar-09 16:06
ernst2002053022-Mar-09 16:06 
Compiler Error C2393
Error Message
'symbol' : per-appdomain symbol cannot be allocated in segment 'segment'


The use of appdomain variables implies that you are compiling with /clr:pure or /clr:safe, and a safe or pure image cannot contain data segments.

See /clr (Common Language Runtime Compilation) for more information.

Example
The following sample generates C2393.

Copy Code
// C2393.cpp
// compile with: /clr:pure /c
#pragma data_seg("myseg")
int n = 0; // C2393



------------------------------------------------------------------------------------

This is the explaination of MSDN,but I don't know how to resolve it
GeneralRe: how to use #pragma data_seq Pin
led mike23-Mar-09 6:03
led mike23-Mar-09 6:03 
GeneralRe: how to use #pragma data_seq Pin
Mark Salsbery23-Mar-09 11:00
Mark Salsbery23-Mar-09 11:00 
QuestionMouse hook problem Pin
g_sandipan19-Mar-09 20:50
g_sandipan19-Mar-09 20:50 
QuestionHow to Access numerical array data from various controls? Pin
isaaks16-Mar-09 14:12
isaaks16-Mar-09 14:12 
AnswerRe: How to Access numerical array data from various controls? Pin
N a v a n e e t h16-Mar-09 23:36
N a v a n e e t h16-Mar-09 23:36 
GeneralRe: How to Access numerical array data from various controls? Pin
isaaks17-Mar-09 9:52
isaaks17-Mar-09 9:52 
GeneralRe: How to Access numerical array data from various controls? Pin
N a v a n e e t h17-Mar-09 23:33
N a v a n e e t h17-Mar-09 23:33 
QuestionHaving a program create its own variables? [modified] Pin
TabascoSauce14-Mar-09 22:33
TabascoSauce14-Mar-09 22:33 
AnswerRe: Having a program create its own variables? Pin
N a v a n e e t h15-Mar-09 6:41
N a v a n e e t h15-Mar-09 6:41 
GeneralRe: Having a program create its own variables? [modified] Pin
TabascoSauce15-Mar-09 12:36
TabascoSauce15-Mar-09 12:36 
QuestionUpdating form controls outside of form file Pin
Lavake14-Mar-09 12:14
Lavake14-Mar-09 12:14 
AnswerRe: Updating form controls outside of form file Pin
N a v a n e e t h14-Mar-09 17:28
N a v a n e e t h14-Mar-09 17:28 
GeneralRe: Updating form controls outside of form file Pin
Lavake15-Mar-09 5:06
Lavake15-Mar-09 5:06 
GeneralRe: Updating form controls outside of form file Pin
N a v a n e e t h15-Mar-09 6:21
N a v a n e e t h15-Mar-09 6:21 
QuestionProblem to communicate between forms [modified] Pin
roshihans14-Mar-09 4:44
roshihans14-Mar-09 4:44 
AnswerRe: Problem to communicate between forms Pin
N a v a n e e t h14-Mar-09 7:00
N a v a n e e t h14-Mar-09 7:00 
GeneralRe: Problem to communicate between forms Pin
roshihans14-Mar-09 17:08
roshihans14-Mar-09 17:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.