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

C / C++ / MFC

 
GeneralRe: export & import data from vc++ or c++ Pin
David Crow29-Apr-04 2:25
David Crow29-Apr-04 2:25 
GeneralRe: export & import data from vc++ or c++ Pin
f6429-Apr-04 6:21
f6429-Apr-04 6:21 
GeneralMAC Address Pin
vikramlinux28-Apr-04 18:05
vikramlinux28-Apr-04 18:05 
GeneralRe: MAC Address Pin
gUrM33T28-Apr-04 19:07
gUrM33T28-Apr-04 19:07 
GeneralRe: MAC Address Pin
David Crow29-Apr-04 2:35
David Crow29-Apr-04 2:35 
Questionif i create a Array template,how to provide the function of insert the data into the Array? Pin
vividtang28-Apr-04 16:49
vividtang28-Apr-04 16:49 
AnswerRe: if i create a Array template,how to provide the function of insert the data into the Array? Pin
gUrM33T28-Apr-04 17:18
gUrM33T28-Apr-04 17:18 
Generalusing the email sample Pin
includeh1028-Apr-04 16:37
includeh1028-Apr-04 16:37 
GeneralRe: using the email sample Pin
Paul Ranson28-Apr-04 23:58
Paul Ranson28-Apr-04 23:58 
GeneralRe: using the email sample Pin
includeh1029-Apr-04 1:07
includeh1029-Apr-04 1:07 
GeneralRe: using the email sample Pin
Paul Ranson29-Apr-04 1:37
Paul Ranson29-Apr-04 1:37 
GeneralRe: using the email sample Pin
includeh1029-Apr-04 1:50
includeh1029-Apr-04 1:50 
GeneralRe: using the email sample Pin
Paul Ranson29-Apr-04 3:04
Paul Ranson29-Apr-04 3:04 
GeneralRe: using the email sample Pin
includeh1029-Apr-04 3:29
includeh1029-Apr-04 3:29 
GeneralRe: using the email sample Pin
Paul Ranson29-Apr-04 11:18
Paul Ranson29-Apr-04 11:18 
GeneralNeed help with MDI Pin
Snyp28-Apr-04 16:14
Snyp28-Apr-04 16:14 
GeneralRe: Need help with MDI Pin
Ryan Binns28-Apr-04 17:58
Ryan Binns28-Apr-04 17:58 
GeneralRe: Need help with MDI Pin
britonleap26-Jun-04 9:29
britonleap26-Jun-04 9:29 
Questionstl's list.. how to delete an item of the list? Pin
kfaday28-Apr-04 14:19
kfaday28-Apr-04 14:19 
AnswerRe: stl's list.. how to delete an item of the list? Pin
f6428-Apr-04 14:43
f6428-Apr-04 14:43 
GeneralChanging source files location Pin
luddet28-Apr-04 14:08
luddet28-Apr-04 14:08 
GeneralRe: Changing source files location Pin
luddet29-Apr-04 11:47
luddet29-Apr-04 11:47 
GeneralPlease help Pin
Stefan Troschuetz28-Apr-04 10:10
Stefan Troschuetz28-Apr-04 10:10 
Hi!

Recently i downloaded an article from this page. This project was programmed in C++ with managed extensions and serves as a .NET Wrapper around a existing C++ implementation of random generators and distributions.
I added this project to my solution that consist of a C# windows application. Under VS.NET 2003 everything worked well and i could use the wrapped random generators and distributions.
Unfortunately, i had to move my solution back to VS.NET 2002. My C# windows application still works well, but the downloaded project doesn't get compiled. I receive the following errors, which i noted besides the lines that generate them:
<br />
template<class T><br />
struct ptr_helper<br />
{<br />
typedef T value_type;<br />
typedef T& reference_type;                     //error C2529: 'reference_type' : reference to reference is illegal<br />
typedef const T& rvalue_type;                  //error C2529: 'reference_type' : reference to reference is illegal<br />
static reference_type ref(T& r) { return r; }  //error C2529: 'reference_type' : reference to reference is illegal<br />
static const T& ref(const T& r) { return r; }  //error C2529: 'reference_type' : reference to reference is illegal<br />
};<br />

This struct is declared in a header-file of the existing C++ implementation that gets wrapped by the downloaded project.
Why can i compile this under VS.NET 2003 but not in VS.NET2002? What i can i do?

THX in advance
GeneralRe: Please help Pin
Christian Graus28-Apr-04 10:57
protectorChristian Graus28-Apr-04 10:57 
GeneralUsing ifstream to read huge binary files Pin
Ron Hinthorn28-Apr-04 9:51
Ron Hinthorn28-Apr-04 9:51 

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.