Thanks for your reply. I've tried all different variations of the static calls:
function TF(a:integer;b:variant;c:variant):variant;stdcall; extern 'test5.dll' name 'TestFunction';
Whatever I seem to try, the reply is that the procedure address cannot be found. I am not really sure of if it's a...
Hi all,
I've successfully managed to call a dll in VB.NET but can't for the life of me figure out how to do it in Delphi. The VB code is:
Function foo(ByVal inputArgument As VariantType) As VariantType
Dim myClass As test5.test5class
Dim answer = New VariantType
Dim...
Hi,
I've created a dll that reads a textfile. The dll compiles fine, but when I try to use it in Excel - by reference to the .tlb file - I get an error "The filename, directory name, or volume label syntax is incorrect". It works nicely when I try something simple like if the dll takes an...
Hi,
I've created a dll in c# that works fine, but when I make changes and try to recompile, the dll is 'used by another process'. I use the dll in Excel by adding a reference in VBA to the .tlb file. My question is, is there a way to kill the process once I've used it? Sample code:
Sub test()...
I've written an ActiveX control that seem to work fine on some machines (1 with IE5.5-Office XP-VB6-on which it was written, 1 with IE5.5-Office 2000, and 1 with IE4-Office 97-VB6) but not on most. I've used "Microsoft Internet Transfer Control 6.0", "Microsoft Windows Common...
I want to connect my ocx application to a database on the web. The application is going to be published on the web and the database is on a remote server. How do I do this?
Here's the complete code:
<%Language=VBScript%>
<%Response.Buffer=True%>
<html>
<body>
<%
aktion=Request("Action")
if aktion="Update" then
Set MyConn=Server.CreateObject("ADODB.Connection")
MyConn.Open "XXX"...
I forgot the apostrophes:
Update MyTable Set Data1='1', Data2='2' Where [ID]=1
Update MyTable Set Data1='2', Data2='4' Where [ID]=2
Update MyTable Set Data1='3', Data2='6' Where [ID]=3
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.