Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionObject in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:20
Lazzari Patrizio17-Jan-10 22:20 
QuestionRe: Object in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:23
Lazzari Patrizio17-Jan-10 22:23 
AnswerRe: Object in a Regular DLL Pin
Cedric Moonen17-Jan-10 22:32
Cedric Moonen17-Jan-10 22:32 
AnswerRe: Object in a Regular DLL Pin
KingsGambit17-Jan-10 22:33
KingsGambit17-Jan-10 22:33 
GeneralRe: Object in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:35
Lazzari Patrizio17-Jan-10 22:35 
GeneralRe: Object in a Regular DLL Pin
KingsGambit17-Jan-10 23:03
KingsGambit17-Jan-10 23:03 
AnswerRe: Object in a Regular DLL Pin
Nelek17-Jan-10 22:37
protectorNelek17-Jan-10 22:37 
GeneralRe: Object in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:48
Lazzari Patrizio17-Jan-10 22:48 
Ok! Next time i'will edit the message to correct.

For the other hand..
In the project i go to "Insert new class"
Class type : Generic Class
Name : COggetto
Derived from: CObject As Public.

In the .h file i put my variables (are 2 CString)
The in the .cpp i put my code:
COggetto* pOggetto = new COggetto;
pOggetto->m_sCodice = "000001"

When i'm in running i see that the pointer pOggetto is created after the "new" but on the instruction " pOggetto->m_sCodice = "000001"
the project crash.
Thank's for your time!

Hi! I'm very happy to talk with everybody about VC++.

GeneralRe: Object in a Regular DLL Pin
CPallini17-Jan-10 22:56
mveCPallini17-Jan-10 22:56 
GeneralRe: Object in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 22:58
Lazzari Patrizio17-Jan-10 22:58 
GeneralRe: Object in a Regular DLL Pin
CPallini17-Jan-10 23:03
mveCPallini17-Jan-10 23:03 
GeneralRe: Object in a Regular DLL Pin
Lazzari Patrizio17-Jan-10 23:06
Lazzari Patrizio17-Jan-10 23:06 
QuestionRe: Object in a Regular DLL Pin
CPallini17-Jan-10 23:12
mveCPallini17-Jan-10 23:12 
GeneralRe: Object in a Regular DLL Pin
Nelek17-Jan-10 23:43
protectorNelek17-Jan-10 23:43 
QuestionRe: Object in a Regular DLL Pin
CPallini17-Jan-10 22:52
mveCPallini17-Jan-10 22:52 
QuestionIAuthenticate - urgent help Pin
YaronNir17-Jan-10 20:52
YaronNir17-Jan-10 20:52 
AnswerRe: IAuthenticate - urgent help Pin
Garth J Lancaster17-Jan-10 22:22
professionalGarth J Lancaster17-Jan-10 22:22 
GeneralRe: IAuthenticate - urgent help Pin
YaronNir17-Jan-10 22:51
YaronNir17-Jan-10 22:51 
GeneralRe: IAuthenticate - urgent help Pin
Garth J Lancaster17-Jan-10 22:56
professionalGarth J Lancaster17-Jan-10 22:56 
GeneralRe: IAuthenticate - urgent help Pin
YaronNir17-Jan-10 22:59
YaronNir17-Jan-10 22:59 
GeneralRe: IAuthenticate - urgent help Pin
Garth J Lancaster17-Jan-10 23:04
professionalGarth J Lancaster17-Jan-10 23:04 
GeneralRe: IAuthenticate - urgent help Pin
YaronNir18-Jan-10 6:07
YaronNir18-Jan-10 6:07 
GeneralRe: IAuthenticate - urgent help Pin
YaronNir18-Jan-10 21:41
YaronNir18-Jan-10 21:41 
GeneralRe: IAuthenticate - urgent help Pin
Garth J Lancaster18-Jan-10 21:52
professionalGarth J Lancaster18-Jan-10 21:52 
GeneralRe: IAuthenticate - urgent help Pin
YaronNir18-Jan-10 21:58
YaronNir18-Jan-10 21:58 

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.