|
The graphics object is a global, I allocate memory to it on program initialization from the heap, I tried freeing it and re-allocating it each time the draw is called and that seems to work. Just very strange since I do almost exactly the same thing, using a global graphics object (the code is practically copied and pasted) in another, much more complicated application I wrote last summer and I've never seen a problem in that one (and I use that program rigorously almost every day).
In any case, it works now, thanks!
Kelly Ryan
|
|
|
|
|
I am getting "R6025 - pure virtual function call error" somewhere in my code but I can't seem to catch it using SEH. Is this a known issue with SEH?
Here is an example to demonstrate this:
<br />
#include "stdafx.h"<br />
#include <assert.h><br />
<br />
<br />
<br />
class A;<br />
<br />
void fcn( A* );<br />
<br />
class A<br />
{<br />
public:<br />
virtual void f() = 0;<br />
A() { fcn( this ); }<br />
};<br />
<br />
class B : A<br />
{<br />
void f() { }<br />
};<br />
<br />
void fcn( A* p )<br />
{<br />
p->f();<br />
}<br />
<br />
<br />
int APIENTRY WinMain(HINSTANCE hInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpCmdLine,<br />
int nCmdShow)<br />
{<br />
__try {<br />
B b;<br />
}<br />
__except(EXCEPTION_EXECUTE_HANDLER) {<br />
assert (false);<br />
}<br />
<br />
return 0;<br />
}<br />
<br />
thanks!
|
|
|
|
|
An R6025 pure virtual function call error occurs because you've called a pure virtual function - one where you declared
virtual void MyFunc() = 0; The compiler writes the address of a handler function to the slot in the virtual function table corresponding to the function for this class - this handler generates the run-time error.
An object whose class has virtual functions carries a virtual function pointer [vfptr] which points to the correct virtual function table [vtable] for the class. During execution of each class's constructor in the hierarchy, from top to bottom (base to derived), the vfptr points to that class, so for example, if you have CBase, CMiddle and CDerived, where CMiddle derives from CBase and CDerived from CMiddle, and you create an instance of CDerived, during CBase's constructor(s) the vfptr points to CBase's vtable, during CMiddle's constructor(s) the vfptr points to CMiddle's vtable, then during CDerived's constructor(s) the vfptr points to CDerived's vtable. Therefore, while the class constructor is executing, if the class has pure virtual functions, the pure virtual function could be called.
If you call a pure virtual function within some other function, and call that function from within a constructor, you'll get an R6025 runtime error.
Example:
class CBase
{
public:
virtual void A() = 0;
CBase()
{
B();
}
void B()
{
A();
}
};
class CDerived : public CBase
{
public:
void A()
{
}
};
int main(int argc, char* argv[])
{
CDerived derived;
return 0;
}
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
I am trying to create a program (for a class). If 4 spaces occur in row, then we have to replace the 4 spaces, stored as spaces, as a tab char instead (the '\t' symbol). I am using MS Vis Studio .NET C++ and the \t representation for a tab only provides 3 spaces, not 4. Is there a way to set \t to indicate 4 spaces?
Thank you,
G-Poppa
cpp@//nearsphere//.com
cpp\@\nearsphere\.\com
|
|
|
|
|
sphereboy wrote: the \t representation for a tab only provides 3 spaces
ummm ... in what? What are you viewing or rendering the character in, MS Word? Notepad? Drawing it in a window using CDC::TextOut()? Standard Output Stream?.....
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
program is a simple console application, using the std::cout operation.
so a test string going in might look like this (I will use '*' to represent spaces):
Hello****This*is*Geoff.
The first group of spaces "***" would be replaced in the string (the storage of the string) as "\t".
cpp\@\nearsphere\.\com
-- modified at 22:30 Saturday 15th July, 2006
|
|
|
|
|
sphereboy wrote: using the std::cout
The STL stream class has a formatting interface that "might" allow adjustment of spaces for the tab character. If not you will have to replace the tab character in the string with the desired number of space characters.
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
Any idea how to go about customizing that?
cpp\@\nearsphere\.\com
|
|
|
|
|
sphereboy wrote: Any idea how to go about customizing that?
Huh? I gave you my ideas in my previous post.
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
I have tried to convert a Makefile into a VC project by hand.
After a little while, I have been able to compile the lib (fidal.lib). But, I got some compiling warnings thats don't occurs using nmake and I got an assertion, which don´t occurs using nmake builded version:
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: c:\fidal\c\ide_visualc2005\fd_yahoo\Debug\fd_yahoo.exe
File: loctim64.c
Line: 78
Expression: (*ptime <= _MAX__TIME64_T)
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Anular Repetir Ignorar
---------------------------
At the end of this post is the original Makefile
Does someone have any clue?
#############################################################################
# Makefile for building fidal_cmd
# Generated by tmake;
# Project: fidal/fidal
# Template: lib
#############################################################################
####### Compiler, tools and options
CC = cl
CXX = cl
CFLAGS = -nologo -W3 -MTd -DFD_DEBUG -D_DEBUG -DWIN32 -D_MBCS -D_LIB -DQT_THREAD_SUPPORT
CXXFLAGS= -nologo -W3 -MTd -DFD_DEBUG -D_DEBUG -DWIN32 -D_MBCS -D_LIB -DQT_THREAD_SUPPORT
INCPATH = -I"..\..\..\..\..\src\fd_common" -I"..\..\..\..\..\src\fd_data" -I"..\..\..\..\..\src\fd_data\fd_source" -I"..\..\..\..\..\src\fd_data\fd_source\fd_fileindex" -I"..\..\..\..\..\src\fd_data\fd_source\fd_ascii" -I"..\..\..\..\..\src\fd_data\fd_source\fd_readop" -I"..\..\..\..\..\src\fd_data\fd_source\fd_yahoo" -I"..\..\..\..\..\src\fd_data\fd_source\fd_sql" -I"..\..\..\..\..\src\fd_data\fd_source\fd_csi" -I"..\..\..\..\..\src\fd_data\fd_history" -I"..\..\..\..\..\src\fd_data\fd_source\fd_simulator" -I"..\..\..\..\..\src\fd_common\imatix\sfl" -I"..\..\..\..\..\src\fd_common\kazlib" -I"..\..\..\..\..\include" -I"..\..\..\..\..\src\fd_common\bzip2" -I"..\..\..\..\..\src\fd_common\mt" -I"$(QTDIR)\include"
LIB = lib /NOLOGO
MOC = moc
UIC = uic
ZIP = zip -r -9
####### Files
HEADERS =
SOURCES = ..\..\..\..\..\src\fd_data\fd_source\fd_ascii\fd_ascii.c \
..\..\..\..\..\src\fd_data\fd_source\fd_ascii\fd_ascii_handle.c \
..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_build_index.c \
..\..\..\..\..\src\fd_data\fd_data_interface.c \
..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex.c \
..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex_priv.c \
..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex_utils.c \
..\..\..\..\..\src\fd_data\fd_history\fd_history_builder.c \
..\..\..\..\..\src\fd_data\fd_history\fd_historycheck.c \
..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_parse_path.c \
..\..\..\..\..\src\fd_data\fd_history\fd_period.c \
..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop.c \
..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_do.c \
..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_estalloc.c \
..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_optimize.c \
..\..\..\..\..\src\fd_data\fd_report.c \
..\..\..\..\..\src\fd_data\fd_network.c \
..\..\..\..\..\src\fd_data\fd_webfetch.c \
..\..\..\..\..\src\fd_data\fd_source\fd_simulator\fd_simulator.c \
..\..\..\..\..\src\fd_data\fd_source\fd_source.c \
..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql.c \
..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_handle.c \
..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_local.c \
..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_minidriver.c \
..\..\..\..\..\src\fd_data\fd_token.c \
..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo.c \
..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_handle.c \
..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_historical.c \
..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_market.c \
..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_idx.c \
..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_one_symbol.c \
..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi.c \
..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi_handle.c \
..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi_files.c \
..\..\..\..\..\src\tools\gen_data\fd_daily_ref_0.c \
..\..\..\..\..\src\tools\gen_data\fd_intra_ref_0.c \
..\..\..\..\..\src\tools\gen_data\fd_mrg_0.c \
..\..\..\..\..\src\fd_common\bzip2\blocksort.c \
..\..\..\..\..\src\fd_common\bzip2\bzlib.c \
..\..\..\..\..\src\fd_common\bzip2\compress.c \
..\..\..\..\..\src\fd_common\bzip2\crctable.c \
..\..\..\..\..\src\fd_common\bzip2\decompress.c \
..\..\..\..\..\src\fd_common\bzip2\huffman.c \
..\..\..\..\..\src\fd_common\bzip2\randtable.c \
..\..\..\..\..\src\fd_common\kazlib\dict.c \
..\..\..\..\..\src\fd_common\kazlib\list.c \
..\..\..\..\..\src\fd_common\imatix\sfl\sflcryp.c \
..\..\..\..\..\src\fd_common\imatix\sfl\sfldate.c \
..\..\..\..\..\src\fd_common\imatix\sfl\sflstr.c \
..\..\..\..\..\src\fd_common\imatix\sfl\sfltok.c \
..\..\..\..\..\src\fd_common\imatix\sfl\sfldir.c \
..\..\..\..\..\src\fd_common\imatix\sfl\sflfile.c \
..\..\..\..\..\src\fd_common\trio\trionan.c \
..\..\..\..\..\src\fd_common\fd_country_info.c \
..\..\..\..\..\src\fd_common\fd_dict.c \
..\..\..\..\..\src\fd_common\fd_global.c \
..\..\..\..\..\src\fd_common\fd_list.c \
..\..\..\..\..\src\fd_common\fd_memory.c \
..\..\..\..\..\src\fd_common\fd_stream.c \
..\..\..\..\..\src\fd_common\fd_string.c \
..\..\..\..\..\src\fd_common\fd_system.c \
..\..\..\..\..\src\fd_common\fd_timestamp.c \
..\..\..\..\..\src\fd_common\fd_trace.c \
..\..\..\..\..\src\fd_common\fd_retcode.c \
..\..\..\..\..\src\fd_common\fd_version.c \
..\..\..\..\..\src\fd_common\fd_random.c \
..\..\..\..\..\src\fd_common\mt\mt19937ar.c \
..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_odbc.c
OBJECTS = ..\..\..\..\..\temp\cmd\fd_ascii.obj \
..\..\..\..\..\temp\cmd\fd_ascii_handle.obj \
..\..\..\..\..\temp\cmd\fd_build_index.obj \
..\..\..\..\..\temp\cmd\fd_data_interface.obj \
..\..\..\..\..\temp\cmd\fd_fileindex.obj \
..\..\..\..\..\temp\cmd\fd_fileindex_priv.obj \
..\..\..\..\..\temp\cmd\fd_fileindex_utils.obj \
..\..\..\..\..\temp\cmd\fd_history_builder.obj \
..\..\..\..\..\temp\cmd\fd_historycheck.obj \
..\..\..\..\..\temp\cmd\fd_parse_path.obj \
..\..\..\..\..\temp\cmd\fd_period.obj \
..\..\..\..\..\temp\cmd\fd_readop.obj \
..\..\..\..\..\temp\cmd\fd_readop_do.obj \
..\..\..\..\..\temp\cmd\fd_readop_estalloc.obj \
..\..\..\..\..\temp\cmd\fd_readop_optimize.obj \
..\..\..\..\..\temp\cmd\fd_report.obj \
..\..\..\..\..\temp\cmd\fd_network.obj \
..\..\..\..\..\temp\cmd\fd_webfetch.obj \
..\..\..\..\..\temp\cmd\fd_simulator.obj \
..\..\..\..\..\temp\cmd\fd_source.obj \
..\..\..\..\..\temp\cmd\fd_sql.obj \
..\..\..\..\..\temp\cmd\fd_sql_handle.obj \
..\..\..\..\..\temp\cmd\fd_sql_local.obj \
..\..\..\..\..\temp\cmd\fd_sql_minidriver.obj \
..\..\..\..\..\temp\cmd\fd_token.obj \
..\..\..\..\..\temp\cmd\fd_yahoo.obj \
..\..\..\..\..\temp\cmd\fd_yahoo_handle.obj \
..\..\..\..\..\temp\cmd\fd_yahoo_historical.obj \
..\..\..\..\..\temp\cmd\fd_yahoo_market.obj \
..\..\..\..\..\temp\cmd\fd_yahoo_idx.obj \
..\..\..\..\..\temp\cmd\fd_yahoo_one_symbol.obj \
..\..\..\..\..\temp\cmd\fd_csi.obj \
..\..\..\..\..\temp\cmd\fd_csi_handle.obj \
..\..\..\..\..\temp\cmd\fd_csi_files.obj \
..\..\..\..\..\temp\cmd\fd_daily_ref_0.obj \
..\..\..\..\..\temp\cmd\fd_intra_ref_0.obj \
..\..\..\..\..\temp\cmd\fd_mrg_0.obj \
..\..\..\..\..\temp\cmd\blocksort.obj \
..\..\..\..\..\temp\cmd\bzlib.obj \
..\..\..\..\..\temp\cmd\compress.obj \
..\..\..\..\..\temp\cmd\crctable.obj \
..\..\..\..\..\temp\cmd\decompress.obj \
..\..\..\..\..\temp\cmd\huffman.obj \
..\..\..\..\..\temp\cmd\randtable.obj \
..\..\..\..\..\temp\cmd\dict.obj \
..\..\..\..\..\temp\cmd\list.obj \
..\..\..\..\..\temp\cmd\sflcryp.obj \
..\..\..\..\..\temp\cmd\sfldate.obj \
..\..\..\..\..\temp\cmd\sflstr.obj \
..\..\..\..\..\temp\cmd\sfltok.obj \
..\..\..\..\..\temp\cmd\sfldir.obj \
..\..\..\..\..\temp\cmd\sflfile.obj \
..\..\..\..\..\temp\cmd\trionan.obj \
..\..\..\..\..\temp\cmd\fd_country_info.obj \
..\..\..\..\..\temp\cmd\fd_dict.obj \
..\..\..\..\..\temp\cmd\fd_global.obj \
..\..\..\..\..\temp\cmd\fd_list.obj \
..\..\..\..\..\temp\cmd\fd_memory.obj \
..\..\..\..\..\temp\cmd\fd_stream.obj \
..\..\..\..\..\temp\cmd\fd_string.obj \
..\..\..\..\..\temp\cmd\fd_system.obj \
..\..\..\..\..\temp\cmd\fd_timestamp.obj \
..\..\..\..\..\temp\cmd\fd_trace.obj \
..\..\..\..\..\temp\cmd\fd_retcode.obj \
..\..\..\..\..\temp\cmd\fd_version.obj \
..\..\..\..\..\temp\cmd\fd_random.obj \
..\..\..\..\..\temp\cmd\mt19937ar.obj \
..\..\..\..\..\temp\cmd\fd_sql_odbc.obj
INTERFACES =
UICDECLS =
UICIMPLS =
SRCMOC =
OBJMOC =
DIST =
TARGET = ..\..\..\..\..\lib\fidal_cmd.lib
INTERFACE_DECL_PATH = .
####### Implicit rules
.SUFFIXES: .cpp .cxx .cc .c
.cpp.obj:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
.cxx.obj:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
.cc.obj:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
.c.obj:
$(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
####### Build rules
all: $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LIB) /OUT:$(TARGET) @<<
$(OBJECTS) $(OBJMOC)
<<
moc: $(SRCMOC)
tmake: ../cmd/win32/msvc/fidal/Makefile
../cmd/win32/msvc/fidal/Makefile: fidal/fidal.pro
tmake fidal/fidal.pro -o ../cmd/win32/msvc/fidal/Makefile
dist:
$(ZIP) fidal/fidal.zip fidal/fidal.pro $(SOURCES) $(HEADERS) $(DIST) $(INTERFACES)
clean:
-del ..\..\..\..\..\temp\cmd\fd_ascii.obj
-del ..\..\..\..\..\temp\cmd\fd_ascii_handle.obj
-del ..\..\..\..\..\temp\cmd\fd_build_index.obj
-del ..\..\..\..\..\temp\cmd\fd_data_interface.obj
-del ..\..\..\..\..\temp\cmd\fd_fileindex.obj
-del ..\..\..\..\..\temp\cmd\fd_fileindex_priv.obj
-del ..\..\..\..\..\temp\cmd\fd_fileindex_utils.obj
-del ..\..\..\..\..\temp\cmd\fd_history_builder.obj
-del ..\..\..\..\..\temp\cmd\fd_historycheck.obj
-del ..\..\..\..\..\temp\cmd\fd_parse_path.obj
-del ..\..\..\..\..\temp\cmd\fd_period.obj
-del ..\..\..\..\..\temp\cmd\fd_readop.obj
-del ..\..\..\..\..\temp\cmd\fd_readop_do.obj
-del ..\..\..\..\..\temp\cmd\fd_readop_estalloc.obj
-del ..\..\..\..\..\temp\cmd\fd_readop_optimize.obj
-del ..\..\..\..\..\temp\cmd\fd_report.obj
-del ..\..\..\..\..\temp\cmd\fd_network.obj
-del ..\..\..\..\..\temp\cmd\fd_webfetch.obj
-del ..\..\..\..\..\temp\cmd\fd_simulator.obj
-del ..\..\..\..\..\temp\cmd\fd_source.obj
-del ..\..\..\..\..\temp\cmd\fd_sql.obj
-del ..\..\..\..\..\temp\cmd\fd_sql_handle.obj
-del ..\..\..\..\..\temp\cmd\fd_sql_local.obj
-del ..\..\..\..\..\temp\cmd\fd_sql_minidriver.obj
-del ..\..\..\..\..\temp\cmd\fd_token.obj
-del ..\..\..\..\..\temp\cmd\fd_yahoo.obj
-del ..\..\..\..\..\temp\cmd\fd_yahoo_handle.obj
-del ..\..\..\..\..\temp\cmd\fd_yahoo_historical.obj
-del ..\..\..\..\..\temp\cmd\fd_yahoo_market.obj
-del ..\..\..\..\..\temp\cmd\fd_yahoo_idx.obj
-del ..\..\..\..\..\temp\cmd\fd_yahoo_one_symbol.obj
-del ..\..\..\..\..\temp\cmd\fd_csi.obj
-del ..\..\..\..\..\temp\cmd\fd_csi_handle.obj
-del ..\..\..\..\..\temp\cmd\fd_csi_files.obj
-del ..\..\..\..\..\temp\cmd\fd_daily_ref_0.obj
-del ..\..\..\..\..\temp\cmd\fd_intra_ref_0.obj
-del ..\..\..\..\..\temp\cmd\fd_mrg_0.obj
-del ..\..\..\..\..\temp\cmd\blocksort.obj
-del ..\..\..\..\..\temp\cmd\bzlib.obj
-del ..\..\..\..\..\temp\cmd\compress.obj
-del ..\..\..\..\..\temp\cmd\crctable.obj
-del ..\..\..\..\..\temp\cmd\decompress.obj
-del ..\..\..\..\..\temp\cmd\huffman.obj
-del ..\..\..\..\..\temp\cmd\randtable.obj
-del ..\..\..\..\..\temp\cmd\dict.obj
-del ..\..\..\..\..\temp\cmd\list.obj
-del ..\..\..\..\..\temp\cmd\sflcryp.obj
-del ..\..\..\..\..\temp\cmd\sfldate.obj
-del ..\..\..\..\..\temp\cmd\sflstr.obj
-del ..\..\..\..\..\temp\cmd\sfltok.obj
-del ..\..\..\..\..\temp\cmd\sfldir.obj
-del ..\..\..\..\..\temp\cmd\sflfile.obj
-del ..\..\..\..\..\temp\cmd\trionan.obj
-del ..\..\..\..\..\temp\cmd\fd_country_info.obj
-del ..\..\..\..\..\temp\cmd\fd_dict.obj
-del ..\..\..\..\..\temp\cmd\fd_global.obj
-del ..\..\..\..\..\temp\cmd\fd_list.obj
-del ..\..\..\..\..\temp\cmd\fd_memory.obj
-del ..\..\..\..\..\temp\cmd\fd_stream.obj
-del ..\..\..\..\..\temp\cmd\fd_string.obj
-del ..\..\..\..\..\temp\cmd\fd_system.obj
-del ..\..\..\..\..\temp\cmd\fd_timestamp.obj
-del ..\..\..\..\..\temp\cmd\fd_trace.obj
-del ..\..\..\..\..\temp\cmd\fd_retcode.obj
-del ..\..\..\..\..\temp\cmd\fd_version.obj
-del ..\..\..\..\..\temp\cmd\fd_random.obj
-del ..\..\..\..\..\temp\cmd\mt19937ar.obj
-del ..\..\..\..\..\temp\cmd\fd_sql_odbc.obj
-del $(TARGET)
-del ../../../../../bin/*.map
-del ../../../../../bin/*._xe
-del ../../../../../bin/*.tds
-del ../../../../../bin/*.pdb
-del ../../../../../bin/*.pbo
-del ../../../../../bin/*.pbi
-del ../../../../../bin/*.pbt
-del fidal_cmd.pdb
-del vc*.pdb
-del fidal_cmd.ilk
####### Compile
..\..\..\..\..\temp\cmd\fd_ascii.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_ascii\fd_ascii.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_ascii.obj ..\..\..\..\..\src\fd_data\fd_source\fd_ascii\fd_ascii.c
..\..\..\..\..\temp\cmd\fd_ascii_handle.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_ascii\fd_ascii_handle.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_ascii_handle.obj ..\..\..\..\..\src\fd_data\fd_source\fd_ascii\fd_ascii_handle.c
..\..\..\..\..\temp\cmd\fd_build_index.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_build_index.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_build_index.obj ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_build_index.c
..\..\..\..\..\temp\cmd\fd_data_interface.obj: ..\..\..\..\..\src\fd_data\fd_data_interface.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_data_interface.obj ..\..\..\..\..\src\fd_data\fd_data_interface.c
..\..\..\..\..\temp\cmd\fd_fileindex.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_fileindex.obj ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex.c
..\..\..\..\..\temp\cmd\fd_fileindex_priv.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex_priv.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_fileindex_priv.obj ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex_priv.c
..\..\..\..\..\temp\cmd\fd_fileindex_utils.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex_utils.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_fileindex_utils.obj ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_fileindex_utils.c
..\..\..\..\..\temp\cmd\fd_history_builder.obj: ..\..\..\..\..\src\fd_data\fd_history\fd_history_builder.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_history_builder.obj ..\..\..\..\..\src\fd_data\fd_history\fd_history_builder.c
..\..\..\..\..\temp\cmd\fd_historycheck.obj: ..\..\..\..\..\src\fd_data\fd_history\fd_historycheck.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_historycheck.obj ..\..\..\..\..\src\fd_data\fd_history\fd_historycheck.c
..\..\..\..\..\temp\cmd\fd_parse_path.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_parse_path.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_parse_path.obj ..\..\..\..\..\src\fd_data\fd_source\fd_fileindex\fd_parse_path.c
..\..\..\..\..\temp\cmd\fd_period.obj: ..\..\..\..\..\src\fd_data\fd_history\fd_period.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_period.obj ..\..\..\..\..\src\fd_data\fd_history\fd_period.c
..\..\..\..\..\temp\cmd\fd_readop.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_readop.obj ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop.c
..\..\..\..\..\temp\cmd\fd_readop_do.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_do.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_readop_do.obj ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_do.c
..\..\..\..\..\temp\cmd\fd_readop_estalloc.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_estalloc.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_readop_estalloc.obj ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_estalloc.c
..\..\..\..\..\temp\cmd\fd_readop_optimize.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_optimize.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_readop_optimize.obj ..\..\..\..\..\src\fd_data\fd_source\fd_readop\fd_readop_optimize.c
..\..\..\..\..\temp\cmd\fd_report.obj: ..\..\..\..\..\src\fd_data\fd_report.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_report.obj ..\..\..\..\..\src\fd_data\fd_report.c
..\..\..\..\..\temp\cmd\fd_network.obj: ..\..\..\..\..\src\fd_data\fd_network.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_network.obj ..\..\..\..\..\src\fd_data\fd_network.c
..\..\..\..\..\temp\cmd\fd_webfetch.obj: ..\..\..\..\..\src\fd_data\fd_webfetch.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_webfetch.obj ..\..\..\..\..\src\fd_data\fd_webfetch.c
..\..\..\..\..\temp\cmd\fd_simulator.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_simulator\fd_simulator.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_simulator.obj ..\..\..\..\..\src\fd_data\fd_source\fd_simulator\fd_simulator.c
..\..\..\..\..\temp\cmd\fd_source.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_source.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_source.obj ..\..\..\..\..\src\fd_data\fd_source\fd_source.c
..\..\..\..\..\temp\cmd\fd_sql.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_sql.obj ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql.c
..\..\..\..\..\temp\cmd\fd_sql_handle.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_handle.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_sql_handle.obj ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_handle.c
..\..\..\..\..\temp\cmd\fd_sql_local.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_local.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_sql_local.obj ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_local.c
..\..\..\..\..\temp\cmd\fd_sql_minidriver.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_minidriver.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_sql_minidriver.obj ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_minidriver.c
..\..\..\..\..\temp\cmd\fd_token.obj: ..\..\..\..\..\src\fd_data\fd_token.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_token.obj ..\..\..\..\..\src\fd_data\fd_token.c
..\..\..\..\..\temp\cmd\fd_yahoo.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_yahoo.obj ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo.c
..\..\..\..\..\temp\cmd\fd_yahoo_handle.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_handle.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_yahoo_handle.obj ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_handle.c
..\..\..\..\..\temp\cmd\fd_yahoo_historical.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_historical.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_yahoo_historical.obj ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_historical.c
..\..\..\..\..\temp\cmd\fd_yahoo_market.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_market.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_yahoo_market.obj ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_market.c
..\..\..\..\..\temp\cmd\fd_yahoo_idx.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_idx.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_yahoo_idx.obj ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_idx.c
..\..\..\..\..\temp\cmd\fd_yahoo_one_symbol.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_one_symbol.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_yahoo_one_symbol.obj ..\..\..\..\..\src\fd_data\fd_source\fd_yahoo\fd_yahoo_one_symbol.c
..\..\..\..\..\temp\cmd\fd_csi.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_csi.obj ..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi.c
..\..\..\..\..\temp\cmd\fd_csi_handle.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi_handle.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_csi_handle.obj ..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi_handle.c
..\..\..\..\..\temp\cmd\fd_csi_files.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi_files.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_csi_files.obj ..\..\..\..\..\src\fd_data\fd_source\fd_csi\fd_csi_files.c
..\..\..\..\..\temp\cmd\fd_daily_ref_0.obj: ..\..\..\..\..\src\tools\gen_data\fd_daily_ref_0.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_daily_ref_0.obj ..\..\..\..\..\src\tools\gen_data\fd_daily_ref_0.c
..\..\..\..\..\temp\cmd\fd_intra_ref_0.obj: ..\..\..\..\..\src\tools\gen_data\fd_intra_ref_0.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_intra_ref_0.obj ..\..\..\..\..\src\tools\gen_data\fd_intra_ref_0.c
..\..\..\..\..\temp\cmd\fd_mrg_0.obj: ..\..\..\..\..\src\tools\gen_data\fd_mrg_0.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_mrg_0.obj ..\..\..\..\..\src\tools\gen_data\fd_mrg_0.c
..\..\..\..\..\temp\cmd\blocksort.obj: ..\..\..\..\..\src\fd_common\bzip2\blocksort.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\blocksort.obj ..\..\..\..\..\src\fd_common\bzip2\blocksort.c
..\..\..\..\..\temp\cmd\bzlib.obj: ..\..\..\..\..\src\fd_common\bzip2\bzlib.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\bzlib.obj ..\..\..\..\..\src\fd_common\bzip2\bzlib.c
..\..\..\..\..\temp\cmd\compress.obj: ..\..\..\..\..\src\fd_common\bzip2\compress.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\compress.obj ..\..\..\..\..\src\fd_common\bzip2\compress.c
..\..\..\..\..\temp\cmd\crctable.obj: ..\..\..\..\..\src\fd_common\bzip2\crctable.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\crctable.obj ..\..\..\..\..\src\fd_common\bzip2\crctable.c
..\..\..\..\..\temp\cmd\decompress.obj: ..\..\..\..\..\src\fd_common\bzip2\decompress.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\decompress.obj ..\..\..\..\..\src\fd_common\bzip2\decompress.c
..\..\..\..\..\temp\cmd\huffman.obj: ..\..\..\..\..\src\fd_common\bzip2\huffman.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\huffman.obj ..\..\..\..\..\src\fd_common\bzip2\huffman.c
..\..\..\..\..\temp\cmd\randtable.obj: ..\..\..\..\..\src\fd_common\bzip2\randtable.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\randtable.obj ..\..\..\..\..\src\fd_common\bzip2\randtable.c
..\..\..\..\..\temp\cmd\dict.obj: ..\..\..\..\..\src\fd_common\kazlib\dict.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\dict.obj ..\..\..\..\..\src\fd_common\kazlib\dict.c
..\..\..\..\..\temp\cmd\list.obj: ..\..\..\..\..\src\fd_common\kazlib\list.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\list.obj ..\..\..\..\..\src\fd_common\kazlib\list.c
..\..\..\..\..\temp\cmd\sflcryp.obj: ..\..\..\..\..\src\fd_common\imatix\sfl\sflcryp.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\sflcryp.obj ..\..\..\..\..\src\fd_common\imatix\sfl\sflcryp.c
..\..\..\..\..\temp\cmd\sfldate.obj: ..\..\..\..\..\src\fd_common\imatix\sfl\sfldate.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\sfldate.obj ..\..\..\..\..\src\fd_common\imatix\sfl\sfldate.c
..\..\..\..\..\temp\cmd\sflstr.obj: ..\..\..\..\..\src\fd_common\imatix\sfl\sflstr.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\sflstr.obj ..\..\..\..\..\src\fd_common\imatix\sfl\sflstr.c
..\..\..\..\..\temp\cmd\sfltok.obj: ..\..\..\..\..\src\fd_common\imatix\sfl\sfltok.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\sfltok.obj ..\..\..\..\..\src\fd_common\imatix\sfl\sfltok.c
..\..\..\..\..\temp\cmd\sfldir.obj: ..\..\..\..\..\src\fd_common\imatix\sfl\sfldir.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\sfldir.obj ..\..\..\..\..\src\fd_common\imatix\sfl\sfldir.c
..\..\..\..\..\temp\cmd\sflfile.obj: ..\..\..\..\..\src\fd_common\imatix\sfl\sflfile.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\sflfile.obj ..\..\..\..\..\src\fd_common\imatix\sfl\sflfile.c
..\..\..\..\..\temp\cmd\trionan.obj: ..\..\..\..\..\src\fd_common\trio\trionan.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\trionan.obj ..\..\..\..\..\src\fd_common\trio\trionan.c
..\..\..\..\..\temp\cmd\fd_country_info.obj: ..\..\..\..\..\src\fd_common\fd_country_info.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_country_info.obj ..\..\..\..\..\src\fd_common\fd_country_info.c
..\..\..\..\..\temp\cmd\fd_dict.obj: ..\..\..\..\..\src\fd_common\fd_dict.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_dict.obj ..\..\..\..\..\src\fd_common\fd_dict.c
..\..\..\..\..\temp\cmd\fd_global.obj: ..\..\..\..\..\src\fd_common\fd_global.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_global.obj ..\..\..\..\..\src\fd_common\fd_global.c
..\..\..\..\..\temp\cmd\fd_list.obj: ..\..\..\..\..\src\fd_common\fd_list.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_list.obj ..\..\..\..\..\src\fd_common\fd_list.c
..\..\..\..\..\temp\cmd\fd_memory.obj: ..\..\..\..\..\src\fd_common\fd_memory.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_memory.obj ..\..\..\..\..\src\fd_common\fd_memory.c
..\..\..\..\..\temp\cmd\fd_stream.obj: ..\..\..\..\..\src\fd_common\fd_stream.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_stream.obj ..\..\..\..\..\src\fd_common\fd_stream.c
..\..\..\..\..\temp\cmd\fd_string.obj: ..\..\..\..\..\src\fd_common\fd_string.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_string.obj ..\..\..\..\..\src\fd_common\fd_string.c
..\..\..\..\..\temp\cmd\fd_system.obj: ..\..\..\..\..\src\fd_common\fd_system.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_system.obj ..\..\..\..\..\src\fd_common\fd_system.c
..\..\..\..\..\temp\cmd\fd_timestamp.obj: ..\..\..\..\..\src\fd_common\fd_timestamp.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_timestamp.obj ..\..\..\..\..\src\fd_common\fd_timestamp.c
..\..\..\..\..\temp\cmd\fd_trace.obj: ..\..\..\..\..\src\fd_common\fd_trace.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_trace.obj ..\..\..\..\..\src\fd_common\fd_trace.c
..\..\..\..\..\temp\cmd\fd_retcode.obj: ..\..\..\..\..\src\fd_common\fd_retcode.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_retcode.obj ..\..\..\..\..\src\fd_common\fd_retcode.c
..\..\..\..\..\temp\cmd\fd_version.obj: ..\..\..\..\..\src\fd_common\fd_version.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_version.obj ..\..\..\..\..\src\fd_common\fd_version.c
..\..\..\..\..\temp\cmd\fd_random.obj: ..\..\..\..\..\src\fd_common\fd_random.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_random.obj ..\..\..\..\..\src\fd_common\fd_random.c
..\..\..\..\..\temp\cmd\mt19937ar.obj: ..\..\..\..\..\src\fd_common\mt\mt19937ar.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\mt19937ar.obj ..\..\..\..\..\src\fd_common\mt\mt19937ar.c
..\..\..\..\..\temp\cmd\fd_sql_odbc.obj: ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_odbc.c
$(CC) -c $(CFLAGS) $(INCPATH) -Fo..\..\..\..\..\temp\cmd\fd_sql_odbc.obj ..\..\..\..\..\src\fd_data\fd_source\fd_sql\fd_sql_odbc.c
Valter
|
|
|
|
|
The only suggestion that I can make - assuming you're running nmake from a Visual Studio 2005 command prompt and therefore are already building with the VS2005 toolset - is to ensure that all the flags defined in the CXXFLAGS line are set in the 'Preprocessor Definitions' part of Project Properties.
If you're using an older toolset to build successfully with nmake, it would help to know which toolset that is. VS2005 changes many of the default C run-time time types to 64-bit.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Mike,
I am getting a similar error although from a completely different situation. Using the DecompressClass code I found here at codeproject. The original code was developed in Visual C++ 6, and I converted it to Visual C++ 2005 (using Visual Studio convert wizard).
I am getting an assert in gmtime64.c at the line:
(caltime <= _MAX__TIME64_T)
I think the problem is that _MAX__TIME64_T is not defined anywhere. Where should I define this, and WHAT should I define it to? (Or how do I find the answers to these questions?
Thanks in advance!
|
|
|
|
|
If _MAX__TIME64_T were not defined, it would not compile, but then that's part of the C run-time library and isn't compiled when you build your project (instead, the static library or the import library for the C run-time DLL is linked into your program).
_MAX__TIME64_T is defined in ctime.h in the VC\crt\src folder under the Visual Studio 2005 install folder, if you have installed the C run-time source. The maximum value of a _time64_t is the number of seconds from midnight, 1 January 1970 to 11:59:59pm, 31 December 3000. The value in the parameter you're passing to gmtime64 is exceeding this.
If the code uses a time_t* pointing into a larger structure which is coming from the ZIP/GZip file, you should either define the macro _USE_32BIT_TIME_T or change the data type to _time32_t and call gmtime32 .
|
|
|
|
|
THANK YOU THANK YOU THANK YOU! Makes so much more sense now!
Great fix!
|
|
|
|
|
I seem to recall reading somewhere that the MS Windows Taskbar sends a message to all windows when it's started (or restarted) so that running applications that placed an icon in the notification tray can re-install them.
Thanks in advance
-gb-
|
|
|
|
|
|
GB, see the answer to the last question on this[^] page.
/ravi (Big fan of SBD from the old execpc days. )
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
Thanks Ravi,
I also found what I needed in the Windows SDK as Plain C:
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam)<br />
{<br />
static UINT s_uTaskbarRestart;<br />
<br />
switch(uMessage)<br />
{<br />
case WM_CREATE:<br />
s_uTaskbarRestart = RegisterWindowMessage(TEXT("TaskbarCreated"));<br />
break;<br />
<br />
default:<br />
if(uMessage == s_uTaskbarRestart)<br />
AddTaskbarIcons();<br />
break;<br />
}<br />
return DefWindowProc(hWnd, uMessage, wParam, lParam);<br />
}
To test:
- Run the application to be tested.
- Close all Explorer windows.
- Run the Windows Task Manager (Ctl+Alt+Del.)
- Kill the remaining Explorer.exe task still running.
- Use the File | New Task menu command and run Explorer.exe to re-start the taskbar and the application being tested should place a fresh icon in the tray.
SBD is still alive and well at
http://www.GregoryBraun.com
Thanks
-gb-
|
|
|
|
|
Hi...
I would like to show a text (like skype oder icq) in a running directx game (Battlefield 2).
Please give me a hint were to starting looking. Maybe a sample somewhere.
Running Windows XP Prof with MS Visual C++ 6.0
Stefan
-- modified at 18:50 Saturday 15th July, 2006
|
|
|
|
|
StefanKittel wrote: I would like to show a text
Give us some background of your experience with drawing text, in a window, in DirectX ??? What else??
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
Why am i getting this error?
#pragma once
#include <ostream>
class CSentenceArray
// Sentences stored as an array
{
public:
CSentenceArray(void);
virtual ~CSentenceArray(void);
void readFromFile (const char *pszFileName);
void Display (ostream &Sentence);
void sortSentences(bool bAscending); // implements BubbleSort or quicksort
void Clear();
int FirstWord(const char *ptrWord);
protected:
CSentenceArray(bool bCreateArray);
//virtual void storeSentence(const char *pszSentence);
//virtual const char *getNextSentence();
//virtual const char *peekNextSentence();
//virtual void swapWithNext();
//virtual void Reset();
//virtual void eraseAll();
virtual int HowManyWords(const char *pszWord);
private:
char *m_pSentences;
int m_iCurrentPos;
};
Jon
|
|
|
|
|
Add #include <ostream>.
Best,
Jun
|
|
|
|
|
I can't see what you're including as you didn't tick the "Ignore HTML tags in this message (good for code snippets)" check box when posting or use enity references. I assume you're including <iostream> . Remember that the standard library is in the std namespace so you should write std::ostream .
Steve
|
|
|
|
|
Hello all,
I am having some problems with class view in VS2005.
I have created a MFC project with a form (CFormA) derived from CFormView and added two edits to it. Then, I have added two member control variables (CEdit) to these controls. Up to now, everything is ok.
So, I changed the CEdit control variables to a control of mine, also derived from CEdit (CGTBrowseEdit) but it resides on a common controls DLL (imported with AFX_EXT_CLASS). After that, CFormA has disappeared from class view and when I try to add any members to it, VS2005 reports a problem: "Add/Remove operation is impossible, because the code element 'CFormA' is read only".
The strange thing is: if I create another control derived from CEdit that belongs to the project (not imported from a DLL), and change the member variables to this control, class view shows CFormA again and everything works fine!
Does anybody have a similar problem or have heard about it?
Thanks
Gian.
-- modified at 14:28 Saturday 15th July, 2006
|
|
|
|
|
hello to all
i need to display in mfc turkish and other languages
that i get from html
the mfc display english char and some symbols good
but the turkish special char convert into to
unrelated symbols
the one char now takes 2 char ( i think its unicode ) of unrelated symbols
what can i do to display all turkish chars?
-- modified at 10:56 Saturday 15th July, 2006
|
|
|
|