Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRelease Mode ATL Problem Pin
nlecren13-Apr-04 9:58
nlecren13-Apr-04 9:58 
GeneralCheck the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:20
Renjith Ramachandran13-Apr-04 8:20 
GeneralRe: Check the Status of a URL Pin
David Crow13-Apr-04 8:31
David Crow13-Apr-04 8:31 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:43
Renjith Ramachandran13-Apr-04 8:43 
GeneralRe: Check the Status of a URL Pin
basementman13-Apr-04 9:50
basementman13-Apr-04 9:50 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 21:01
Renjith Ramachandran13-Apr-04 21:01 
GeneralRe: Check the Status of a URL Pin
basementman14-Apr-04 3:56
basementman14-Apr-04 3:56 
GeneralUnmanaged pointer in a managed class? (C3160) Pin
mccoyn13-Apr-04 8:19
mccoyn13-Apr-04 8:19 
I am porting an old project to be able to use .Net. There is a struct type that needs to be used by an old library written in C and a new class library written with .Net. When I try to have a pointer to this struct as a member of a managed class I get the following error:

error C3160: 'piData' : cannot declare interior __gc pointer or reference as a member of 'PatInfo'

Here is the struct definition in a header file used in both projects:

typedef struct _reportFull{
ReportHeader * header;
ReportStruct * st;
ReportAngio * angio;
ReportNonSaved * ns;
} ReportFull;

Here is part of the PatInfo class definition from another header file:

__gc class PatInfo {
public:
PatInfo();
~PatInfo();

ReportFull __nogc *piData;
ReportFull __nogc *temp_data;
ReportFull __nogc *defaults_reference;

UserControl* dlg;
};

The error occurs when I try to make a derived class from PatInfo. I suspect that it would occur any time I use PatInfo.

Anyone know of a way to use pointers to unmanaged types within a managed class?

GeneralStack overflow problem Pin
Anonymous13-Apr-04 8:16
Anonymous13-Apr-04 8:16 
GeneralRe: Stack overflow problem Pin
Blake Miller14-Apr-04 5:53
Blake Miller14-Apr-04 5:53 
GeneralTree Control Questions. Pin
Maximilien13-Apr-04 7:47
Maximilien13-Apr-04 7:47 
GeneralRe: Tree Control Questions. Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:23
Iain Clarke, Warrior Programmer13-Apr-04 23:23 
General2 ListBoxes 1 scrollbar Pin
doctorpi13-Apr-04 7:35
doctorpi13-Apr-04 7:35 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
basementman13-Apr-04 10:04
basementman13-Apr-04 10:04 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
doctorpi14-Apr-04 3:26
doctorpi14-Apr-04 3:26 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
basementman14-Apr-04 4:07
basementman14-Apr-04 4:07 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
doctorpi14-Apr-04 6:38
doctorpi14-Apr-04 6:38 
GeneralRegEnumValue problems. Pin
HAHAHA_NEXT13-Apr-04 7:29
HAHAHA_NEXT13-Apr-04 7:29 
GeneralRe: RegEnumValue problems. Pin
David Crow13-Apr-04 8:34
David Crow13-Apr-04 8:34 
GeneralRe: RegEnumValue problems. Pin
Navin13-Apr-04 10:09
Navin13-Apr-04 10:09 
GeneralRe: RegEnumValue problems. Pin
HAHAHA_NEXT13-Apr-04 10:10
HAHAHA_NEXT13-Apr-04 10:10 
GeneralRe: RegEnumValue problems. Pin
HAHAHA_NEXT13-Apr-04 10:12
HAHAHA_NEXT13-Apr-04 10:12 
GeneralHELP Please!!! Pin
sekeya13-Apr-04 7:03
sekeya13-Apr-04 7:03 
GeneralRe: HELP Please!!! Pin
David Crow13-Apr-04 8:34
David Crow13-Apr-04 8:34 
GeneralRe: HELP Please!!! Pin
sekeya13-Apr-04 8:39
sekeya13-Apr-04 8:39 

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.