Search:
Type: Posts; User: Antwerpen
Search:
Search took 0.03 seconds.
-
The only effect of that is to avoid the warning message to be displayed...and after that the access violation happens as usual.
For the code I did show the significant part...what i can do is try to...
-
There is no more code than that I reported above.
The message is displayed at the second line of the code I reported above, but It is not blocking. Afterwards I get an access violation when I use...
-
Hello,
I want to shift from VS 2005 to VS 2008 and I tried to convert a project into a solution of VS2008, but I got a runtime error using ctime function.
The essential code:
...
time_t...
-
April 14th, 2009, 09:17 AM
Of course you are right, I try to be more specific. I want to read the name of a file by selecting it from a browse folder. After I open a stream and I read, from this configuration file, the name of...
-
April 14th, 2009, 07:42 AM
Hello,
I have to do this project that has two main steps:
1) load a configuration file (or some configuration files) and use them to do some calculations and checks. I would like to do the gui...
-
April 6th, 2009, 11:12 AM
Yes, it works...I tried to have the same effect with the backslash, but it didn't work. Thank you and thanks also to JohnW@Wessex that was likely to have guessed the problem too :D
-
April 6th, 2009, 10:52 AM
std::string
Edit: To be more clear:
std::string log_msg
log_msg+="n°: ";
stringstream ss;
ss<<Counter+1;
-
April 6th, 2009, 10:30 AM
Hello,
like the beatles I want something to get back too...it's the cursor of my string. Let's start from the beginning.
I use a function (ctime, see the other thread) that allows me to convert an...
-
April 6th, 2009, 10:07 AM
Actually I solved that in this way:
long* pts_sec=(long*)&ts_sec;
std::string msg;
msg=ctime(pts_sec);
I know maybe someone will not agree, but it works:D
-
April 3rd, 2009, 10:42 AM
I have found the problem:
afx_msg void CMainWin::OnShowMLDialog()
{
if(!dlgVisible)
{ //CTestModelessDialog
testMLDlg.Create("TestModelessDialog", this);
dlgVisible = TRUE;
}
-
April 3rd, 2009, 10:18 AM
Hello,
I wanted to use an application using MFC with 2 dialog boxes: 1 modal, 1 modeless. But when I call the modeless one it seems the modal is called, but I cannot explain myself why.
This is the...
-
April 2nd, 2009, 10:03 AM
Thanks to all for your answers & sorry if I didn't answered soon.
Actually I am able to program in C++ (OOP & stuff like that) and I am quite good to use STL and other pretty things. I also started...
-
March 31st, 2009, 06:51 PM
Well,
I am really a beginner in this field.
Just think about the fact I have learned from an article of Mitchell Harper how to create modal and modeless dialog boxes, but I am not able to put the...
-
March 30th, 2009, 05:50 AM
Hello,
I would like to create an MFC based application with a window containing one or more bitmap as background and an horizontal scroll that allows me to navigate through this large background....
-
March 30th, 2009, 03:09 AM
It seems to be solved by cleaning and compiling...anyway it's quite delicate and I think I will try VS 2008 too.
Anyway, 1 more time thank you;)
-
March 28th, 2009, 02:35 PM
Actually I include StdAfx.h that has already "block.h" included (that's the reason for that "//#include block.h"). So I think I don't have to include block 2 times. Moreover I did another thing: I...
-
March 25th, 2009, 11:31 AM
Hello,
I have some problems with precompiled header in VC++ 6.0.
This is what I get:
my_project\read_write.cpp(5) : fatal error C1083: Cannot open precompiled header file:...
-
March 25th, 2009, 05:12 AM
Yes, of course I am checking that and I found I have to decode the string that represents hex bytes (e.g. ff d4...) to a string of bits, and I am doing it. That's not a problem. Anyway I would like...
-
March 25th, 2009, 04:47 AM
Ok, at compile time it works at least. Ty.
Now I have a runtime error: I guess 10 is the dimension and my string has more bits. Right?
-
March 25th, 2009, 04:37 AM
Sorry,
but that's a code sample copied from another site, not an useful answer. I would like to understand the reason(s) of the compile error and I would like to correct it. Ty.
-
March 25th, 2009, 03:31 AM
Hello,
I have some trouble with the construction of a bitset from a string. I have a greater string and I take a subset of it, afterwards I try to construct the biset this way:
...
string...
-
March 24th, 2009, 01:12 PM
Ok, in the end I used reserve, and moreover I don't need to keep all the data...the latter saved a lot of memory and avoided the runtime error. Just for the moment I will use reserve with some "good"...
-
March 24th, 2009, 10:22 AM
Well,
now I am really working with vectors and I have a runtime error:
First-chance exception in My_Program.exe: 0xC0000005: Access Violation.
I guess it's a memory access problem. In fact I...
-
March 23rd, 2009, 09:30 AM
The problem is that I don't have to get the time from my system. I already have a log file and I know the int representing the time (e.g. 1235135860).
This int corresponds to a date and I would like...
-
March 23rd, 2009, 07:22 AM
The 4 bytes represent an int that represents the seconds since January 1, 1970 00:00:00 GMT; this is also known as a UN*X time_t. I am able to get the int, but I would like to have the time_t object.
|
Click Here to Expand Forum to Full Width
|