Search Results

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: nvmobius ; Forum: C# and child forums
Forum: C# Aug 12th, 2008
Replies: 5
Views: 6,638
Posted By nvmobius
Personally, I'd make an interface... let's call it IFilterable with a required method let's call Filter.


public interface {
bool Filter( );
}


The each object in the collection could...
Forum: C# Aug 11th, 2008
Replies: 14
Views: 8,104
Posted By nvmobius
You still need to set up your methods accordingly, but I find using C/C++ LoadLibrary and GetProcAddress to get the other native code and then calling the calling code with C++/CLI is much easier way...
Forum: C# Aug 4th, 2008
Replies: 7
Views: 3,817
Posted By nvmobius
Assuming the user your running as has access to the remote server via a windows share, you can just use System.IO.File.Copy to move files. It's really that easy.
If you need to do FTP, it could be...
Forum: C# Aug 4th, 2008
Replies: 2
Views: 5,106
Posted By nvmobius
Check the way your decimal columnis defined in SQL server. It's possible you've defined it to not allow values >= 1.0. Use MSDN to reference how to properly specify the column.

Do the same check...
Forum: C# Aug 4th, 2008
Replies: 7
Views: 3,817
Posted By nvmobius
How are you doing the file compare, it is entirely based on path + filename?
Forum: C# Jul 29th, 2008
Replies: 14
Views: 8,104
Posted By nvmobius
CLR Managed code can call methods in another DLL via P/Invoke, but I recommend not doing that and instead having the native portion of you code handle dealing with other unmanaged code blocks.
...
Forum: C# Jul 29th, 2008
Replies: 7
Views: 3,817
Posted By nvmobius
The basics are there but a few suggestions for you:


using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;

public class Program {
Forum: C# Jul 29th, 2008
Replies: 14
Views: 8,104
Posted By nvmobius
Is createMATLABThread managed or native? If it's managed, you need to create a delegate to pass.

Delegates are manage codes version of function pointers. So, I don't think you're getting from...
Forum: C# Jul 29th, 2008
Replies: 14
Views: 8,104
Posted By nvmobius
Good catch on the .lib file, after using C# for a while you tend to forget about stuff like that.

I don't have any where to point you for C++/CLI information other than MSDN. I've learned mostly...
Forum: C# Jul 29th, 2008
Replies: 14
Views: 8,104
Posted By nvmobius
Look at these two pieces of code, they mix managed and unmanaged just fine. More than likely you've not included a header file that you need in order to compile with managed code. make sure that you...
Forum: C# Jul 28th, 2008
Replies: 14
Views: 8,104
Posted By nvmobius
You'd be better off (if possible) creating a mixed managed/native DLL in C++/CLI (http://msdn.microsoft.com/en-us/magazine/cc163681.aspx) and adding that DLL as a reference to your C# project.
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC