Click here to Skip to main content
15,921,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2002 vs 2003 Link Problems Pin
Jeryth30-Sep-03 10:28
Jeryth30-Sep-03 10:28 
GeneralC++ Library Question. Pin
WREY22-Sep-03 12:24
WREY22-Sep-03 12:24 
GeneralRe: C++ Library Question. Pin
Terry O'Nolley22-Sep-03 12:31
Terry O'Nolley22-Sep-03 12:31 
GeneralRe: C++ Library Question. Pin
WREY22-Sep-03 12:54
WREY22-Sep-03 12:54 
GeneralRe: C++ Library Question. Pin
ASchunk22-Sep-03 13:10
ASchunk22-Sep-03 13:10 
GeneralRe: C++ Library Question. Pin
WREY22-Sep-03 18:24
WREY22-Sep-03 18:24 
GeneralModeless Dlg gives CView a Variable Pin
Schniddel22-Sep-03 12:04
Schniddel22-Sep-03 12:04 
GeneralLINK2001 Error Pin
TRiegler22-Sep-03 11:47
TRiegler22-Sep-03 11:47 
I wrote an application that directly communicates with external equipment via RS-232 and the like. It also communicates to the sound card as well. Originally the program was written in VB/VC++. I just finished porting the major sections of the program to C# and now it's slow as slow can be.

The calls to the external equipment are made using PInvoke to directly call the Win32API. In an effort to speed things up, I'm removing the PInvoke code and replacing it with MC++.

However, when I try to call regular C-style DLL files I get a linker error LINK2001 with a mangled version of the original function.

The top of the header file has EXTERN "C."

My question is: what else can cause this? I'm pretty sure it's a simple fix, but don't know if the MC++ settings are significantly different than the VC++ 6.0.
GeneralSpinBox ButtonUp State Pin
vancouver77722-Sep-03 11:12
vancouver77722-Sep-03 11:12 
GeneralRe: SpinBox ButtonUp State Pin
vancouver77722-Sep-03 11:14
vancouver77722-Sep-03 11:14 
GeneralRe: SpinBox ButtonUp State Pin
Mike Dimmick23-Sep-03 1:12
Mike Dimmick23-Sep-03 1:12 
GeneralgetMinMaxInfo use Pin
ns22-Sep-03 10:39
ns22-Sep-03 10:39 
GeneralRe: getMinMaxInfo use Pin
Joaquín M López Muñoz22-Sep-03 10:47
Joaquín M López Muñoz22-Sep-03 10:47 
GeneralThanks! Pin
ns22-Sep-03 11:01
ns22-Sep-03 11:01 
GeneralRe: getMinMaxInfo use Pin
ASchunk22-Sep-03 11:36
ASchunk22-Sep-03 11:36 
GeneralTray Icon colors Pin
Anonymous22-Sep-03 10:28
Anonymous22-Sep-03 10:28 
GeneralRe: Tray Icon colors Pin
Jason Henderson22-Sep-03 10:54
Jason Henderson22-Sep-03 10:54 
GeneralRe: Tray Icon colors Pin
Anonymous22-Sep-03 11:02
Anonymous22-Sep-03 11:02 
GeneralRe: Tray Icon colors Pin
Jason Henderson22-Sep-03 11:17
Jason Henderson22-Sep-03 11:17 
GeneralRe: Tray Icon colors Pin
Anonymous22-Sep-03 14:22
Anonymous22-Sep-03 14:22 
GeneralI got lines written over by other text in a CEdit control Pin
ElizabethC22-Sep-03 8:42
ElizabethC22-Sep-03 8:42 
GeneralRe: I got lines written over by other text in a CEdit control Pin
JWood22-Sep-03 9:25
JWood22-Sep-03 9:25 
GeneralRe: I got lines written over by other text in a CEdit control Pin
ASchunk22-Sep-03 9:30
ASchunk22-Sep-03 9:30 
GeneralRe: I got lines written over by other text in a CEdit control Pin
ElizabethC22-Sep-03 11:06
ElizabethC22-Sep-03 11:06 
GeneralRe: I got lines written over by other text in a CEdit control Pin
ElizabethC22-Sep-03 11:21
ElizabethC22-Sep-03 11:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.