15,894,460 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by bijaynayak (Top 16 by date)
bijaynayak
10-Aug-17 2:53am
View
hi thanks for the suggestion, but according to my requirement ,
1:i need to transfer the strut data to multiple servers (or we can say diff nodes
) & that server understand only char.
2:memcpy is not suggestible because it work with address, from receiving end how to get the same structure data
bijaynayak
10-Aug-17 2:47am
View
Hi pwasser,
i will keep all struct members in to a : separated value after that i will
split this with strtok()which will split the above buffer.
sample code below:
struct student studt2;
snprintf(buffer,bufferSize,"%s:%d:%d:%d:%d",studt.name,studt.rollNumber,studt.dob.dd,studt.dob.mm,studt.dob.yy);
ptr = strtok(buffer,":");
while(ptr != NULL)
{
// studt2.name= strtok(buffer);
strcpy(studt2.name,strtok(buffer));
studt2.rollNumber=atoi(ptr);
ptr=strtok(NULL,":");
}
but how to store values of respective members again ?
problem is basicaly with studt2.name...
bijaynayak
9-Aug-17 1:58am
View
hi pwasser, yes need to deserialise the char [] to again struct.
bijaynayak
7-Dec-15 1:10am
View
Hi Peter,
I had already went through this option but shows "we will meet you soon"
bijaynayak
28-Nov-15 12:27pm
View
PIEBALDconsult,
I am expecting that it will not give any compilation process....
bijaynayak
28-Nov-15 12:16pm
View
C2470: 'final' : looks like a function definition, but there is no parameter list; skipping apparent body
bijaynayak
28-Nov-15 12:02pm
View
thanks Sergey :)
bijaynayak
19-Jun-15 2:58am
View
Hi Kryukov,
Thi is what i tried and got the solutions either correct me
bijaynayak
4-Jul-14 5:31am
View
this code is looking and very help full.but after loading into the csv file we need to empty the cell or that entire row.how to achieve this scenario
bijaynayak
9-May-14 3:06am
View
I need to validate the filename.Ex: string filename="C:\\test.png".here filename is valid & needs to create the file in the respective directory,but due to "C:\\" it is treating as invalid filename.so how to handle in my application level.
bijaynayak
31-Mar-14 9:33am
View
Hai Belgiumsky, as per my requirement i implemented through the stackpanel. able to play the video from the on-line streaming. but not in the stackpanel. i sent u the sample xaml file along with double click listview code what I implemented. can u correct me plz. video is playing but in the stackpanel.
<grid width="Auto" height="Auto" removed="AntiqueWhite">
<ListView Width="104.958" MouseDoubleClick="listView_MouseDoubleClick" Name="listView" HorizontalAlignment="Left"/>
<stackpanel width="Auto" height="Auto" removed="Black" name="stackPanel1" cliptobounds="True" margin="105,0,0,4">
>>>
private void listView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
HwndSource source = (HwndSource)HwndSource.FromVisual(stackPanel1);
source.SizeToContent = SizeToContent.WidthAndHeight;
IntPtr hWnd = source.Handle;
_display = new Display((IntPtr)hWnd);
StopVideo();
Camera camera = _cameraDevices[4];
CreateStream(camera);
}
bijaynayak
28-Mar-14 7:37am
View
Thank u so much Belgiumsky.
bijaynayak
28-Mar-14 5:38am
View
Ok BELGIUMsky i m waiting
bijaynayak
28-Mar-14 3:18am
View
Hello BELGIUMsky, i am waiting for the solution. i am also trying but not getting how to do that one
bijaynayak
27-Mar-14 10:45am
View
Hello BELGIUMsky,
i try to impliment but not able to play the video
_display = Display((IntPtr)videoPanel.Handle);
where video panel is the object of WindowsFormHost.
i need one clarification how to add the panel to my window in wpf,so that it can be more convenient to solve my issue.
bijaynayak
27-Mar-14 10:41am
View
Hello Alex, but my requirement is that i am fetching the camera list from the database.so can u tell me what is the possible way to handle this situation by using media element.
Show More