Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Flickering at resizing on MFC app Pin
Roger Allen11-Feb-04 6:52
Roger Allen11-Feb-04 6:52 
Generalvisual c++ Pin
11-Feb-04 6:26
suss11-Feb-04 6:26 
GeneralRe: visual c++ Pin
Antti Keskinen11-Feb-04 6:39
Antti Keskinen11-Feb-04 6:39 
GeneralRe: visual c++ Pin
Maximilien11-Feb-04 6:40
Maximilien11-Feb-04 6:40 
GeneralRe: visual c++ Pin
Roger Wright11-Feb-04 6:45
professionalRoger Wright11-Feb-04 6:45 
GeneralRe: visual c++ Pin
shultas11-Feb-04 15:47
shultas11-Feb-04 15:47 
GeneralPNG Loader sourcecode wanted Pin
Shifty Geezer11-Feb-04 5:11
Shifty Geezer11-Feb-04 5:11 
Generallinking CVF subroutine with VC++ source Pin
BlueMonkey6811-Feb-04 4:37
BlueMonkey6811-Feb-04 4:37 
I'm having trouble linking a CVF subroutine with my VC++ source code. I have the declarations in place and can successfully compile, but when I link, I get the following error -

error LNK2001: unresolved external symbol "void __cdecl LSQFIT(float *,float *,int *,int *)" (?LSQFIT@@$$J0YAXPAM0PAH1@Z)

My source and external subroutine are below -

extern "C" void LSQFIT(float*xp, float*fxp, int*nx, int*maxord);

int main()
{
float fxp[1000],xp[1000];
int maxord[1],nx[1];

*nx = 10;
*maxord = 3;
LSQFIT(xp,fxp,nx,maxord);
....
CVF subroutine -
SUBROUTINE LSQFIT(XP,FXP,NX,MAXORD)
DIMENSION XP(1),FXP(1),COEFF(11),ERR(10)

GeneralRe: linking CVF subroutine with VC++ source Pin
Iain Clarke, Warrior Programmer11-Feb-04 6:08
Iain Clarke, Warrior Programmer11-Feb-04 6:08 
GeneralViewing internet packets Pin
Dev57811-Feb-04 4:14
Dev57811-Feb-04 4:14 
GeneralRe: Viewing internet packets Pin
Iain Clarke, Warrior Programmer11-Feb-04 6:23
Iain Clarke, Warrior Programmer11-Feb-04 6:23 
GeneralRe: Viewing internet packets Pin
Peter Weyzen11-Feb-04 7:36
Peter Weyzen11-Feb-04 7:36 
GeneralRe: Viewing internet packets Pin
valikac11-Feb-04 8:20
valikac11-Feb-04 8:20 
GeneralRe: Viewing internet packets Pin
Anonymous11-Feb-04 12:09
Anonymous11-Feb-04 12:09 
GeneralConsole to win app Pin
dr.eu11-Feb-04 2:36
dr.eu11-Feb-04 2:36 
GeneralRe: Console to win app Pin
Mike Dimmick11-Feb-04 2:54
Mike Dimmick11-Feb-04 2:54 
GeneralRe: Console to win app Pin
dr.eu11-Feb-04 3:12
dr.eu11-Feb-04 3:12 
GeneralRe: Console to win app Pin
jmkhael11-Feb-04 3:25
jmkhael11-Feb-04 3:25 
GeneralPDF Viewer Pin
Mahesh Varma11-Feb-04 2:32
Mahesh Varma11-Feb-04 2:32 
GeneralRe: PDF Viewer Pin
Joel Lucsy11-Feb-04 2:57
Joel Lucsy11-Feb-04 2:57 
GeneralHelp with memory leak warning message Pin
J.B.11-Feb-04 2:15
J.B.11-Feb-04 2:15 
GeneralRe: Help with memory leak warning message Pin
Antti Keskinen11-Feb-04 2:31
Antti Keskinen11-Feb-04 2:31 
GeneralRe: Help with memory leak warning message Pin
J.B.11-Feb-04 5:21
J.B.11-Feb-04 5:21 
GeneralRe: Help with memory leak warning message Pin
Antti Keskinen11-Feb-04 6:34
Antti Keskinen11-Feb-04 6:34 
GeneralRe: Help with memory leak warning message (solved) Pin
J.B.11-Feb-04 17:11
J.B.11-Feb-04 17:11 

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.