Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Detecting Local IP Address Pin
mahw pgm21-Oct-06 12:24
mahw pgm21-Oct-06 12:24 
AnswerRe: Detecting Local IP Address Pin
Mark Salsbery21-Oct-06 15:07
Mark Salsbery21-Oct-06 15:07 
Questionproblem of offsetof with c compiler Pin
EzraYap21-Oct-06 7:44
EzraYap21-Oct-06 7:44 
AnswerRe: problem of offsetof with c compiler Pin
bob1697221-Oct-06 8:16
bob1697221-Oct-06 8:16 
QuestionRe: problem of offsetof with c compiler Pin
David Crow23-Oct-06 4:51
David Crow23-Oct-06 4:51 
QuestionBinary Search Tree Pin
Pimra21-Oct-06 6:02
Pimra21-Oct-06 6:02 
AnswerRe: Binary Search Tree Pin
Sceptic Mole22-Oct-06 1:36
Sceptic Mole22-Oct-06 1:36 
Questionstrcpy_s is the problem? Pin
mikelar1021-Oct-06 4:45
mikelar1021-Oct-06 4:45 
Hi,

I'm having a problem when I build projects in Visual C++ 2005. Although it's not important, this particular program is a simple VST plugin for audio. The problem is, I can build the program fine the first time, getting this result in the output panel:


1>------ Build started: Project: VST_Plug_in, Configuration: Debug Win32 ------
1>Linking...
1>LINK : c:/temp/VST/PIL_Panner.dll not found or not built by the last incremental link; performing full link
1> Creating library .\Debug/VST_Plug_in.lib and object .\Debug/VST_Plug_in.exp
1>Embedding manifest...
1>Build log was saved at "file://c:\Documents and Settings\Michael_\Desktop\Programming In Windows\VST_plug_in_auto_pan\VST_plug_in_auto_pan\VST_plug_in\VST_Plug_in\Debug\BuildLog.htm"
1>VST_Plug_in - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========



But when it comes to building the project again when I change something (and even if I haven't changed anything!) I get these errors:


1>------ Rebuild All started: Project: VST_Plug_in, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'VST_Plug_in', configuration 'Debug|Win32'
1>Compiling...
1>VST_Plug_in.cpp
1>d:\visual c++\vc\include\string.h(74) : error C2733: second C linkage of overloaded function 'strcpy_s' not allowed
1> d:\visual c++\vc\include\string.h(74) : see declaration of 'strcpy_s'
1>c:\documents and settings\michael_\desktop\programming in windows\vst_plug_in_auto_pan\vst_plug_in_auto_pan\vst_plug_in\vst_plug_in\vst_plug_in.cpp(34) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
1>audioeffect.cpp
1>d:\visual c++\vc\include\string.h(74) : error C2733: second C linkage of overloaded function 'strcpy_s' not allowed
1> d:\visual c++\vc\include\string.h(74) : see declaration of 'strcpy_s'
1>audioeffectx.cpp
1>d:\visual c++\vc\include\string.h(74) : error C2733: second C linkage of overloaded function 'strcpy_s' not allowed
1> d:\visual c++\vc\include\string.h(74) : see declaration of 'strcpy_s'
1>vstplugmain.cpp
1>d:\visual c++\vc\include\string.h(74) : error C2733: second C linkage of overloaded function 'strcpy_s' not allowed
1> d:\visual c++\vc\include\string.h(74) : see declaration of 'strcpy_s'
1>Generating Code...
1>Build log was saved at "file://c:\Documents and Settings\Michael_\Desktop\Programming In Windows\VST_plug_in_auto_pan\VST_plug_in_auto_pan\VST_plug_in\VST_Plug_in\Debug\BuildLog.htm"
1>VST_Plug_in - 4 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


This problem occurs in several projects - they build fine the first time, then fail the second. I'm not sure what is causing this problem, at a guess it'd be "'Deleting intermediate and output files for project 'VST_Plug_in', configuration 'Debug|Win32'" but then again I'm a beginner so I wouldn't really know. As you can see from the errors, the program has a problem with the strcpy_s function when rebuilding again but I'm not sure why.

If anybody can help it'd be appreciated - it's probably something pretty simple that I'm missing.
thanks,
Michael


AnswerRe: strcpy_s is the problem? Pin
Bartosz Bien22-Oct-06 3:27
Bartosz Bien22-Oct-06 3:27 
QuestionChange progress bar fore color Pin
Mohammad A Gdeisat21-Oct-06 3:07
Mohammad A Gdeisat21-Oct-06 3:07 
AnswerRe: Change progress bar fore color Pin
Hamid_RT21-Oct-06 9:34
Hamid_RT21-Oct-06 9:34 
GeneralRe: Change progress bar fore color Pin
Mohammad A Gdeisat21-Oct-06 9:48
Mohammad A Gdeisat21-Oct-06 9:48 
GeneralRe: Change progress bar fore color Pin
Hamid_RT22-Oct-06 1:28
Hamid_RT22-Oct-06 1:28 
Question[Message Deleted] Pin
wasife21-Oct-06 1:09
wasife21-Oct-06 1:09 
AnswerRe: Simple Question Pin
Hamid_RT21-Oct-06 1:18
Hamid_RT21-Oct-06 1:18 
GeneralRe: Simple Question Pin
Sceptic Mole21-Oct-06 5:50
Sceptic Mole21-Oct-06 5:50 
AnswerRe: Simple Question Pin
Kiomuto21-Oct-06 5:57
Kiomuto21-Oct-06 5:57 
GeneralRe: Simple Question Pin
toxcct21-Oct-06 6:27
toxcct21-Oct-06 6:27 
GeneralRe: Simple Question Pin
S Douglas21-Oct-06 20:34
professionalS Douglas21-Oct-06 20:34 
AnswerRe: Simple Question Pin
Kevin McFarlane21-Oct-06 7:46
Kevin McFarlane21-Oct-06 7:46 
Questionsolve this issue Pin
gentleguy21-Oct-06 0:55
gentleguy21-Oct-06 0:55 
AnswerRe: solve this issue Pin
Hamid_RT21-Oct-06 1:03
Hamid_RT21-Oct-06 1:03 
QuestionHow i can overload terminate function in C++ ? Pin
Yanshof21-Oct-06 0:35
Yanshof21-Oct-06 0:35 
AnswerSomeone can help here please ? Pin
Yanshof21-Oct-06 3:04
Yanshof21-Oct-06 3:04 
AnswerRe: How i can overload terminate function in C++ ? Pin
S Douglas21-Oct-06 20:49
professionalS Douglas21-Oct-06 20:49 

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.