|
|
|
|
Calling dll C# in VBScript
|
|
10-11-2011, 07:32 PM
Post: #1
|
|||
|
|||
|
Calling dll C# in VBScript
Hi, I have a C# dll in VS2010 like this: namespace A { public class B { public int GetValue() { return 1; } } } In QTP I added the following lines: Set obj = DotNetFactory("A.B","C:\\path\\myLibrary.dll") msgBox obj.GetValue() When QTP run the first line of code it launchs this error: "The format file "myLibrary.dll" is invalid" How can I resolve it? Thank in advance Andrea |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| VBS to DLL to QTP | ssco77 | 5 | 3,107 |
12-16-2011 01:21 PM Last Post: prashants1 |
|
| Calling Tibco Websevice using VBScript.. | rajeshwar | 0 | 659 |
04-13-2011 06:49 PM Last Post: rajeshwar |
|
| Function calling a another funtion in functional library | saikri | 3 | 1,813 |
02-24-2011 08:52 PM Last Post: basanth27 |
|
| Calling a JS function which is externally located using a VBScript Func in QTP | HishSingalaxana | 0 | 839 |
11-09-2010 11:02 AM Last Post: HishSingalaxana |
|
| Calling Financial Functions | Raj20091 | 2 | 637 |
11-04-2009 07:19 PM Last Post: Raj20091 |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help



