Click here to Skip to main content
15,880,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 6:36
mveRichard MacCutchan20-Oct-22 6:36 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Ben kubi20-Oct-22 6:50
Ben kubi20-Oct-22 6:50 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Victor Nijegorodov20-Oct-22 10:46
Victor Nijegorodov20-Oct-22 10:46 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Ben kubi20-Oct-22 11:32
Ben kubi20-Oct-22 11:32 
GeneralRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 20:38
mveRichard MacCutchan20-Oct-22 20:38 
AnswerRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Mircea Neacsu20-Oct-22 14:04
Mircea Neacsu20-Oct-22 14:04 
AnswerRe: C++ Shellcode process returned -1073741819 (0xC0000005) Pin
Richard MacCutchan20-Oct-22 21:01
mveRichard MacCutchan20-Oct-22 21:01 
QuestionCannot initialize iterator with vector type defined in class Pin
ForNow12-Oct-22 16:40
ForNow12-Oct-22 16:40 
Hi I have the following vector type defined in a class The Class name CStorge

vector<tcbholder> tcbcollecter;


The tcbholder tpye is defined as such
C++
struct tcbholder
	{
		char* tcb;
		char programname[8];
	
		vector <stdecs> strptr;
		
	};


I would like to define an iterator in a thread for which I pass the obj or class pointer
with such
C++
vector <tcbholder>::iterator tcbitrate = storage_ptr->tcbcollecter.begin();

this is the thread prototype type

C++
UINT DialogStorageThread(CStorge *storage_ptr)


However I get he following complier error

C++
76): error C2440: 'initializing': cannot convert from 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>' to 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
1>        with
<pre>  with
1>        [
1>            _Ty=CStorge::tcbholder
1>        ]
1>        and
1>        [
1>            _Ty=DialogStorageThread::tcbholder
1>        ]



IS there any way I can do this ?

thanks
AnswerRe: Cannot initialize iterator with vector type defined in class Pin
CPallini12-Oct-22 21:42
mveCPallini12-Oct-22 21:42 
QuestionCreate a Makefile from this mess Pin
pkfox8-Oct-22 2:56
professionalpkfox8-Oct-22 2:56 
AnswerRe: Create a Makefile from this mess Pin
Richard MacCutchan8-Oct-22 5:34
mveRichard MacCutchan8-Oct-22 5:34 
GeneralRe: Create a Makefile from this mess Pin
pkfox8-Oct-22 5:42
professionalpkfox8-Oct-22 5:42 
GeneralRe: Create a Makefile from this mess Pin
Richard MacCutchan8-Oct-22 5:57
mveRichard MacCutchan8-Oct-22 5:57 
GeneralRe: Create a Makefile from this mess Pin
pkfox8-Oct-22 6:17
professionalpkfox8-Oct-22 6:17 
AnswerRe: Create a Makefile from this mess Pin
k505413-Oct-22 5:53
mvek505413-Oct-22 5:53 
GeneralRe: Create a Makefile from this mess Pin
pkfox13-Oct-22 21:40
professionalpkfox13-Oct-22 21:40 
GeneralRe: Create a Makefile from this mess Pin
k505414-Oct-22 4:13
mvek505414-Oct-22 4:13 
QuestionIs this array of 2D vectors? Pin
Sk. Azraf Sami7-Oct-22 20:32
Sk. Azraf Sami7-Oct-22 20:32 
AnswerRe: Is this array of 2D vectors? Pin
Richard MacCutchan7-Oct-22 21:35
mveRichard MacCutchan7-Oct-22 21:35 
QuestionStyle question Pin
Mircea Neacsu3-Oct-22 15:33
Mircea Neacsu3-Oct-22 15:33 
AnswerRe: Style question Pin
Graham Breach3-Oct-22 21:23
Graham Breach3-Oct-22 21:23 
GeneralRe: Style question Pin
Mircea Neacsu4-Oct-22 2:27
Mircea Neacsu4-Oct-22 2:27 
AnswerRe: Style question Pin
CPallini3-Oct-22 23:47
mveCPallini3-Oct-22 23:47 
GeneralRe: Style question Pin
Mircea Neacsu4-Oct-22 2:28
Mircea Neacsu4-Oct-22 2:28 
GeneralRe: Style question Pin
CPallini7-Oct-22 1:35
mveCPallini7-Oct-22 1:35 

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.