The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 problem compiling c++ file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000