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

C / C++ / MFC

 
GeneralRe: CEdit selected text Pin
Imtiaz Murtaza8-Nov-06 18:42
Imtiaz Murtaza8-Nov-06 18:42 
GeneralRe: CEdit selected text Pin
David Crow9-Nov-06 3:49
David Crow9-Nov-06 3:49 
AnswerRe: CEdit selected text Pin
Nibu babu thomas8-Nov-06 19:10
Nibu babu thomas8-Nov-06 19:10 
QuestionAbout TreeCtrl Pin
wangpai8-Nov-06 15:55
wangpai8-Nov-06 15:55 
AnswerRe: About TreeCtrl Pin
Christian Graus8-Nov-06 17:09
protectorChristian Graus8-Nov-06 17:09 
GeneralRe: About TreeCtrl Pin
wangpai8-Nov-06 18:46
wangpai8-Nov-06 18:46 
GeneralRe: About TreeCtrl Pin
Hamid_RT8-Nov-06 20:08
Hamid_RT8-Nov-06 20:08 
Question_strnset_s : identifier not found, but string.h included Pin
samkook8-Nov-06 13:49
samkook8-Nov-06 13:49 
Ok, there is something I really don't get. I'm triing to use the function _strnset_s, but I get the compiler error : '_strnset_s': identifier not found, even with argument-dependent lookup.

The thing is that string.h is included in my project and at the line just before this one, I used strrchr wich need the same include and the compiler doesn't complain about this one. What did I do wrong?

here a very short version of my code:


stdafx.h :

#pragma once

#define WIN32_LEAN_AND_MEAN
headers
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
// Others
#include <stdio.h>
#include <string.h>
#include <afx.h>

Form1.cpp :

#include "stdafx.h"
#include "Form1.h"

Form1.h :
#pragma once
#pragma push_macro("GetObject")
#undef GetObject
#pragma push_macro("MessageBox")
#undef MessageBox

namespace VampireReader
{
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::IO;
using namespace System::Runtime::InteropServices;
using namespace System::Text;
private:
System::ComponentModel::Container * components;

void InitializeComponent(void)...

private: void fOpenFile()
{
csDest = strrchr( csFName, '\\' );
_strnset_s( csDest, sizeof(csDest), ' ', 1 );
}
AnswerRe: _strnset_s : identifier not found, but string.h included Pin
Mark Salsbery8-Nov-06 14:24
Mark Salsbery8-Nov-06 14:24 
AnswerRe: _strnset_s : identifier not found, but string.h included [modified] Pin
George L. Jackson8-Nov-06 14:56
George L. Jackson8-Nov-06 14:56 
AnswerRe: _strnset_s : identifier not found, but string.h included Pin
samkook9-Nov-06 12:25
samkook9-Nov-06 12:25 
QuestionLinker error Pin
celllllllll8-Nov-06 12:41
celllllllll8-Nov-06 12:41 
AnswerRe: Linker error Pin
Christian Graus8-Nov-06 13:01
protectorChristian Graus8-Nov-06 13:01 
GeneralRe: Linker error Pin
celllllllll8-Nov-06 13:12
celllllllll8-Nov-06 13:12 
GeneralRe: Linker error Pin
User 5838528-Nov-06 14:30
User 5838528-Nov-06 14:30 
GeneralRe: Linker error Pin
Christian Graus8-Nov-06 15:31
protectorChristian Graus8-Nov-06 15:31 
GeneralRe: Linker error Pin
Christian Graus8-Nov-06 15:30
protectorChristian Graus8-Nov-06 15:30 
QuestionRe: Linker error Pin
David Crow9-Nov-06 3:52
David Crow9-Nov-06 3:52 
AnswerRe: Linker error Pin
celllllllll9-Nov-06 7:25
celllllllll9-Nov-06 7:25 
QuestionHow to call a function inside a thread Pin
Llasus8-Nov-06 12:06
Llasus8-Nov-06 12:06 
AnswerRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 12:32
Stephen Hewitt8-Nov-06 12:32 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 12:41
Llasus8-Nov-06 12:41 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 12:44
Stephen Hewitt8-Nov-06 12:44 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:00
Llasus8-Nov-06 13:00 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 13:05
Stephen Hewitt8-Nov-06 13:05 

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.