|
|
Gr8Shag wrote: Hope that helps.
Probably not for Cougarxr7.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Thanks guys. I have done some compiling and alot of reading!
I know I have alot more to do!
|
|
|
|
|
doh:
Must be an inside joke..?..
G
|
|
|
|
|
Not sure what you mean an inside joke??
I asked a question and got answers.
Nothing more than that!
Although some of the answers made me feel like they should of started with hey dumbass...
Anyway no big deal. I'll found a way to this, if not here then somewhere else.
Thanks!
-- modified at 15:30 Wednesday 12th April, 2006
|
|
|
|
|
Sorry Dude. I didn't read it right. Everybody has been super helpful
to me here and I'm kinda a space cadet.
Those links were extremely helpful to me and hopefully the will be to
you.
Everybody, sorry for the confusion. Been a ruff week.
G
|
|
|
|
|
No jokes inferred or implied. I was just indicating that since you replied to me rather than Cougarxr7, he might not benefit from your suggestion.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Sorry Guys... Guess I'm the dumbass.(lol) Wasn't payin attention to detail
I guess.(lol)
Been one of them weeks.
G
|
|
|
|
|
Cougarxr7 wrote: Do I need to start Visual C++ 6.0 first??
Of course.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
I see you modified your first reply!
Thanks David thats what I was looking for!
I did search, look, and never found that!
I'm sure I went right past it.
Again Thanks!
-- modified at 15:31 Wednesday 12th April, 2006
|
|
|
|
|
When I debug a C++ program with break points to pring some values I got: data[i] - -1.#IND0
what "-1.#IND0" mean ?
Thanks
|
|
|
|
|
It means Indefinite, or quiet Not a Number (NaN).
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
hello
is there any solution to convert from Cstring to char* (char array)
other then copying chars one bye one ( var[i]=var2[i]...)
|
|
|
|
|
CString str;
char *arr = str.GetBuffer(#);
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
|
Short and sweet here. Building app with C++/Win32. Deadline is Friday
and I've got this one last little bitty error. Someone Please help...
I can't seem to track it down. Visual Studio doesn't(helpfully) point to
the line of the error. ? ..
ERROR: The instruction @ "0xc91142e" referenced memory @ "0x36303130".
The memory could not be read.
******** Code ******** NREGS IS 75 AND CALIB_START_REG IS 100 *********
case CALIB_WRITE:{
int cntr=0;
while(cntr < NREGS){
Sleep(20);
sWrtCalQuery=BuildWriteQuery((CALIB_START_REG+cntr),
01,
mpCalibrations[calibrate_list[cntr]]);
Port<<swrtcalquery;
port.listener(serialio::notify(hwnd).rx_flag(':'));
="" cntr++;
="" }
="" port<<ssavequery;
="" procflag="DFLT;
" modified="false;
" break;
="" }="" end="" calib_write
***********
="" seems="" to="" run="" through="" the="" while="" loop="" no="" problem.="" all="" of="" my="" values="" are
="" written="" connected="" device="" and="" also="" saved.="" so="" appears="" be
="" fine.="" be="" somewhere="" after="" that="" but="" can't="" figure="" it="" out.??..=""
="" also,="" when="" i="" debug="" go="" line="" by="" line,="" error="" doesn't
="" come="" up.??...=""
="" thank="" you,="" in="" advance.
="" greg..
="" --="" at="" 12:13="" wednesday="" 12th="" april,="" 2006<code="">
|
|
|
|
|
You mean your code works in debug mode and does no in release mode?
If yes, then check with array size and index used.
Typically such errors come in release mode if the memory allocated is not enough.
In debug mode due to extra buffer the problem dont seem to occur.
Check out the size of calibrate_list and max cntr value used.
|
|
|
|
|
TY ArtiGujare. I'll double check those items. I googled the error and
found a posting that directed me to a BB. It indicated that there may be
a problem with my machine. Consequently I compiled, jump drived the .exe
to another machine and ran it. No error...(hmmmm) Gonna test a couple more
machines....
Does running in VS - "start w/o debug" execute the app differently than if
you just ran the .exe??????
G
|
|
|
|
|
Not my machine. Generated the error on 3 out of 4 machines.
G
|
|
|
|
|
Thanx so much!!!!! You narrowed it down to a couple of things and as
a result, I tracked it down. Sometimes it just takes someone saying,
"More than likely the error is this. Double/Triple check it."
I had an infinite while loop going. For some reason, cntr was staying
at 1.
G
|
|
|
|
|
Compile your debug buid with /GZ. It may show the error then.
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|
|
|
How to set the text color of a toolbar, in a Win32 SDK project?
Thanks in advance.
<font=sans-serif>|-|3llo Wo|2ld
|
|
|
|
|
Hello
i want to work with a Cfile Object in a console application
what should i do please
beacause when i declare a CFile Object in my console app
in the shows the error that Cfile is an indeclared identifier.
thank you
|
|
|
|
|
CFile is an MFC class.
your console project has to support MFC.
then, include windows.h
|
|
|
|