473,385 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How do I port MS Visual studio code (specifically HANDLE type) to c++?

Porting an application from MS Visual Studio to Linux c++ Many references to data type HANDLE, DWORD?

What are the best ways to port these windows "features"?

One example:
HANDLE commsdown;

The app has a serial port communications capability. Apparently the number of times that serial communications are interrupted is important.

Thanks
Feb 28 '16 #1
1 1269
I forgot to include another data type which is DATE. In windows it is an 8bit floating point representation of the date and time from December 30 1899. I wrote a function in my c++ app that captures the system date and time in the required format. Now I have to alter that function to return that info to the calling function. I guess it has to be a string. No matter how I structure the function it either fails to compile or does not return the string. I have to do comparisons on data in that string which the DATE type in windows apparently makes an easy task of. Comparing parts of a string to a threshold of some sort is tricky.
Feb 28 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: jemmaq99 | last post by:
Using Visual Studio .NET 2003 I've tried to add a COM reference to a Windows Form project via the Add Reference dialog (specifically the Active DS Type Library) but always get the error message: ...
1
by: kbailey | last post by:
what a waste of money. visual studio does not handle user control files - these are files with and ascx extension are are refered to in the help as 'user-authored server controls'. the VS...
3
by: Andreas Klemt | last post by:
Hello, for what is the LABEL good when programming in visual studio like this: Sub xxxx Label1: xxxx xxxx xxx
0
by: shaker | last post by:
While using the Visual Studio Code Editor, I somehow accidentally managed to turn on the display of formatting marks (such as tabs, spaces, and carriage returns). How do I turn this off? Thanks....
0
by: shaker | last post by:
I hope that this is an appropriate palce for ask the question below. If not, I would appreciate getting a pointer to an appropriate group. While using the Visual Studio Code Editor, I somehow...
3
by: VB Programmer | last post by:
Any word yet on the next version of VS.NET? What features it may have or when it will come out? I know .NET 3.0 is out, so I was just wondering. Thanks!
3
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the...
5
by: nhmark64 | last post by:
Hi, What is the relationship between "Microsoft .NET Framework 3.5 – Beta 1" and "Visual Studio Code Name "Orcas" Beta 1"? Should I install 1 first than the other, or just 1? I need to start...
9
by: Mohamed Mansour | last post by:
Hello, Last week I downloaded Microsoft Visual Studio 2008 Team Suite edition from MSDN Subscriptions, and I could create working WPF Applications. Today, I am fooling around with WPF again...
0
by: hary4kings | last post by:
THE Database is working fine with the php script/nusoap. but if i try to retrieving information about a particular student, visual studio (c#) crashes. I have another code that retrieve only a single...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.