heading says it all, how could i find out the total length of the string in the ##__VA_ARGS__
Subject says "elements". Your statement says "string".
For a string you use null termination or the string length property (depending on what you mean by string.)
In standard C++ if you want to know a count of arguments passed then you need to provide a mechanism for doing that yourself. Just like if your printf format string doesn't match the args passed then it will go off the end. Thus the format string implicitly defines the count.
Not sure but in Managed C++ it might be an actual array so you should be able to get to the Length property.
Can anyone please help me fix the issue of video display hanging on Windows? The issue occurs after both manual and automatic locking of Windows. When I unlock, the video display hangs, but sound is heard and video packets are sent and recieved properly(confirmed from wireshark)
We have developed our project with the following technologies Visual
C#, Visual C++ and C Language. When we tried to execute our project in
client machine, It works only if the system has Visual C++ installed.
Otherwise it throws an Unhandled exception.The Visual C++ program
which we have developed is dependent on 4 native DLL such as
mscorlib.dll, microsoft visual c.dll, system.dll and data.dll. Visual
C++ project does not load the above mentioned assemblies during run
So we kindly request you to provide some inputs on this to proceed further.</code>
Unless you have built your C++/C code using statically linked libraries, you will need to install the Visual C++ runtime. As you haven't stated which version of C++ you are developing with, I can't point you to the correct one. If you Google for Visual C++ runtime [version] then that should find the one you want (replace [version] with the particular Visual C++ you used).
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
If you don't know exactly what are all the dependencies that you need for your executable to run a client machine, use Dependency Walker[^] to help you determine what you're missing. Usually, MS will also provide an executable to package/distribute their distributable dll's.
When the dependency walker has been installed the visual c++ is missing these dll.
Got error as
Error: The Side-by-Side configuration information for "c:\documents and settings\administrator\my documents\givi\learning materials\acadamic_project\openpowerlinkdemoappv1.8(final)\openpowerlinkdemoappv1.8(final)\openpowerlinkdemoappv1.8\release\OPENPOWERLINK.NET.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: At least one required implicit or forwarded dependency was not found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
How to make this dll to be accessed by visual c++ project?
Last Visit: 31-Dec-99 18:00 Last Update: 23-Jun-21 14:57