Hi Daniel,

sending your initialization method could also help!

Greets,

Patrik

Dirk Reiners schrieb:
>     Hi Daniel,
> 
> Daniel Zuidinga wrote:
>> I can´t find my fault. Please can anybody help me?
>>
>> The error comes in:
>> myWin->init();
>>
>> the windows message says:
>> "Unbehandelte Ausnahme bei 0x1022fb10 (msvcr80d.dll) in tstcon32.exe: 
>> 0xC0000005: Zugriffsverletzung beim Lesen an Position 0x00000000."
>>
>> the list of calls in VS says:
>> "> msvcr80d.dll!strlen(unsigned char * buf=0x0012f074) Zeile 81 Asm
>> msvcp80d.dll!std::char_traits<char>::length(const char * 
>> _First=0x00000000) Zeile 559 + 0x9 Bytes C++
>> msvcp80d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
>>  
>>  >::assign(const char * _Ptr=0x00000000) Zeile 1042 + 0x9 Bytes C++
>> msvcp80d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
>>  
>>  >::basic_string<char,std::char_traits<char>,std::allocator<char> 
>>  >(const char * _Ptr=0x00000000) Zeile 644 C++"
>> etc...
>>   
> well, here you cut off the interesting part where it goes out of the std 
> library... ;) Can you please send us the complete compile log?
>> At compiling time i get the following warnings:
>> Warnung 12 warning C4996: 'sprintf' wurde als veraltet deklariert 
>> c:\dokumente und einstellungen\entwickler\eigene dateien\visual studio 
>> 2005\projects\atltest\atltest\include\opensg\osgbasetypetraits.h 1025
>> Warnung 13 warning C4996: 'strcpy' wurde als veraltet deklariert 
>> c:\dokumente und einstellungen\entwickler\eigene dateien\visual studio 
>> 2005\projects\atltest\atltest\include\opensg\osgbasefunctions.inl 1224
>> Warnung 14 warning C4996: 'sprintf' wurde als veraltet deklariert 
>> c:\dokumente und einstellungen\entwickler\eigene dateien\visual studio 
>> 2005\projects\atltest\atltest\include\opensg\osgfieldcontainerfielddatatype.h
>>  
>> 150
>> Warnung 15 warning C4996: 'strncpy' wurde als veraltet deklariert 
>> c:\dokumente und einstellungen\entwickler\eigene dateien\visual studio 
>> 2005\projects\atltest\atltest\include\opensg\osgbasefielddatatype.h 648
>> Warnung 16 warning C4996: 'sscanf' wurde als veraltet deklariert 
>> c:\dokumente und einstellungen\entwickler\eigene dateien\visual studio 
>> 2005\projects\atltest\atltest\include\opensg\osgbasefielddatatype.h 664
>>   
> Yeah, VS 2005 complains about these a lot, but that doesn't mean anything.
>> I don´t know if i call
>> myWin->setHwnd (this->m_hWnd);
>> correctly.
>> Where should m_hWnd point at? In my code it points at a VS generated 
>> class of the ATL-wizard.
>>   
> Honestly I don't know. The whole Windows context and window handling 
> seems like black magic to me.
> 
>     Dirk
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to