I am getting compiler error D8045. cannot compile C file 'serialcommands.c' with the /clr option.
This file is a C library that has been written to talk over a serial port to a TI processor. The task that I need to do is wrap this library with a CLR wrapper (there will be additional questions posted to stackoverflow concerning marshall...
I am writing a wrapper for a library written in C.
The header file for this library is located in
C:\Projects\SerialLibrary
The wrapper is located in
C:\Projects\SerialLibrary\Client\ClrSerialLibrary
no matter what I do, VS2008, cannot seem to find
#include "serialheader.h"
I always am getting the no such file or directory erro...
I have the following regular expression for validating a file name:
^(([a-zA-Z]:|\)\)?(((.)|(..)|(. %5D">^\/:*\?"\|<>. |([^\/:*\?"\|<>][^\/:*\?"\|<>. ]))?))\). %5D">^\/:*\?"\|<>. |([^\/:*\?"\|<>]*[^\/:*\?"\|<>. ]))?$
I can get it to work in VB.NET but not C#. I can't figure out why it works in one but not the other.
VB code:
Regex.Ma...
Hi All,
I need to convert a semi-colon delimited file to an Excel.
However, there are some fields that must be removed from the Excel file, and some extra fields to be added. These extra fields are drop-down fields.
Is there any way to do this? Programming language that is preferably to be used is Java, but also welcome the possibility...
Good morning!
Actually I'm playing around with EF atm a little bit and I need your guys help:
Following scenario: I have a table with a lot of data in it. If I'm querying this table through EF, all the records get load into memory.
eg.
var counter = default(int);
using (var myEntities = new MyEntities())
{
foreach (var record in m...
Hi
i hav created a COM component using vs2005 .
Now let me know can i use the dll which i have create on vs2005(which uses f/w 2.0) in vs2003(which uses f/w 1.1)??
...
Hi
is unmanaged code is native code?what is differnece
any boduy help me.
Duplicate: http://stackoverflow.com/questions/855756/difference-between-native-and-managed-code
...
I was wondering if the following error,
System.Web.HttpException: Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted
was caused by not serialising properties.
Any ideas?
Thank...
Possible Duplicates:
Garbage collection of static members
Will Garbage collector cleans up static methods and static class
...
I want to scrape a list of facts from simple website. Each one of the facts is enclosed in a <li> tag. How would I do this using Html Agility Pack? Is there a better approach?
The only things enclosed in <li> tags are the facts and nothing else.
...
Currently the HashSet<T> constructor that allows you to define your equality comparison yourself is the HashSet<T>(IEqualityComparer<T> comparer) constructor.
I would like to define this EqualityComparer as a lambda.
I found this blog post that has made a class that allows you to generate your comparer through lambda and then hides th...
Hi,
It looks a bit hard to find documentation about MBUnit, do you know any tutorial?
Thank you!
...
I'm looking for a .NET 2 library for generating charts.
.NET 2
small footprint
fast
basic-medium charting abilities
pie chart support
stream output required
file output optional
What can you recommend? Why?
Thanks
...
Good morning,
I've successfully created a little app that registers itself under a custom uri protocol ('irma:') following the msdn entry at http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx
This works perfectly fine when opening such a link manually via the shell/cmd etc, but when sending out links like that, outlook does n...
Difference and similarities between recordset in asp and datareader in asp.net
...
I have a .NET 2.0 COM object that's used by VBA in Excel. It works fine on my dev machine, but when trying to use it on a clean VM workstation I get this error:
Automation error.
The system cannot find the file specified.
The dll is registered with "regasm /tlb /codebase mycom.dll" and not put in the GAC.
I don't have administration r...
Hi
I hav created a com library by which i can discover the SQLVolumes using SMo namespace in VS2005.
Now i want to use this com library in VS2003 to discover the same sqlvolumes in another machine where vs2003 installed.
Can i use like this. I hav created a COM using version VS2005 and now i want to consume it in VS2003 is it possible?...
Hello!
I'm trying to fix single quote bug in the code:
std::string Index;
connection->Open();
String^ sTableName = gcnew String(TableName.c_str());
String^ insertstring = String::Format("INSERT INTO {0} (idx, rec, date) VALUES (@idx, @rec, getdate())", sTableName);
SqlCommand^ command = gcnew SqlCommand(insertstring, connection);
St...
Hi,
I am designing a resource access layer that will sit on a database server on a LAN consisting of 5 workstations and 7 servers. My intention for the resource access layer is to expose a set of well defined C# methods to any C# (.Net 3.5) client on the LAN, and allow the client to access data stored in the DBMS without having any know...
Hello
I have a legacy database set with NLS_LANG set to IW8ISO8859P8. This I cannot change.
I have another application, that is not working with unicode, that works on the same data my application works on.
In some of the fields, and some of the times, the user inserts as part of a string, the character 161 which represents NIS curren...