T O P I C R E V I E W |
andreas1 |
Posted - 01/31/2002 : 12:41:49 PM Hi,
I finally managed to generate DLLs from C-code (see previous posts). However when trying to compile a c++ file that has labstr.h as an include file I get the following error. Further windows.h and math.h are included.
Any ideas ? envelop.cpp labstr.h(69) : error C2371: 'HPSTR' : new definition; ... c:\programme\microsoft visual studio\vc98\include\mmsystem.h(2289) : Siehe Deklaration von 'HPSTR'
Thanks,
Andreas
|
3 L A T E S T R E P L I E S (Newest First) |
cpyang |
Posted - 02/23/2002 : 12:00:52 AM the labstr.h you have might be old, check if it has #ifdef __cplusplus extern "C" { /* Assume C declarations for C++ */ #endif /* __cplusplus */
CP
|
contac |
Posted - 02/21/2002 : 3:58:05 PM Have you included any required directory in TOOLS>OPTIONS>DIRECTORIES??? Nice day |
contac |
Posted - 02/21/2002 : 3:57:56 PM Have you included any required directory in TOOLS>OPTIONS>DIRECTORIES??? Nice day |