hello,i created a project using the appwizard,native code.
and i add a new class named NamedPipeincluded in NamedPipe.h and NamedPipe.cpp.The class has some functions.
where should i change that i can use ClassA's function?
dlmObjs = \$(o)$(appName)$(oext) \$(o)NamedPipe$(oext)$(o)NamedPipe$(oext) (baseDir)NamedPipe.cpp \$(baseDir)NamedPipe.h
i did as above,but when i compiled ,there is an error,missing dependency......namedpipe.obj???
why?????
dujimache said:$(o)NamedPipe$(oext) (baseDir)NamedPipe.cpp \$(baseDir)NamedPipe.h
The above make file statement is incorrect. The backslash (\) is a continuation character and should only ever appear at the end of a line. The colon (:) invokes the make rule for a given file extension, but you don't have a colon in your statement. Look in the delivered MDL examples for make files (*.mke) that build correctly.
Your compile statement should look something like this …
$(o)NamedPipe$(oext) : (baseDir)NamedPipe.cpp $(baseDir)NamedPipe.h
or (with continuation character)
$(o)NamedPipe$(oext) : (baseDir)NamedPipe.cpp \ $(baseDir)NamedPipe.h
Regards, Jon Summers LA Solutions
For more information on the make file please refer to the MDL Programmer's Guide.
HTH,
mark anderson [Bentley]
Visit me at https://communities.bentley.com/communities/other_communities/bentley_innovation/default.aspx