Show Bid Request
Question for VB.Net - Calling a DLL
Bid Request Id: 41911
|
|
|
Description:
Call a custom dll in VB.Net
Declare Sub sParse lib "stest.dll" alias "SPARSE" ( ByVal tmp As String, ByVal MyArray() As String, ByVal Sep As String)
Now - in VB6 - I can call the routine:
sParse "one,two,three", MyArray(), ","
...And upon return - MyArray will be:
MyArray(0) = "one" MyArray(1) = "two" MyArray(2) = "three"
How do I call this DLL in VB-Net?
Regards Mike
Deliverables: 1) Working Answer!
Platform:
Windows - All Flavors!
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$25 (USD)
|
Jan 4, 2003 3:11:13 AM EDT
|
10
(Excellent)
|
|
|
Mike,
After some research, I created several small projects in VC++6, VB6 and VB.NET for you, the conclusion:
1. The DLL may not work properly in VB.NET
2. It is better to replace the functions with assembly written in VB.NET
3. The details are in Word document 'VBNETAndDLL.doc', please unzip the attached files for document and projects.
Regards,
Jeff |
|
Attached File
|
|
|
|
|