|
-
Mar 4th, 2003, 01:18 PM
#1
Thread Starter
New Member
Event fires 2 times
I have 2 Dll's.
When event handlers was in vba it was OK,
when i port them into Dll they happend 2 times,
one exactly after another.
Now handler consists of only "exit sub".
Help! Please!
Yury.
-
Mar 4th, 2003, 01:32 PM
#2
Frenzied Member
Re: Event fires 2 times
Originally posted by YuryL
Help! Please!
I'll be glad to. Any code?
Yury kak pogoda v Moskve?
-
Mar 4th, 2003, 01:45 PM
#3
Thread Starter
New Member
That's in 1st Dll
-------------------
Public Event AddBulkRegEv(Cd1 As String, Rn1 As String, prp1 As Variant, prp2 As Variant, Col1 As Integer, np1 As Integer, id1 As Long)
......
RaiseEvent AddBulkRegEv(Cd1, Rn1, prp1, prp2, Col1, np1, id1)
......
That's in 2st Dll
-------------------
Public Sub hre_addbulkregev(Cd1 As String, Rn1 As String, prp1 As Variant, prp2 As Variant, Col1 As Integer, np1 As Integer, id1 As Long)
exit sub
end sub
Cold 2 last days, -16 C in morning, -5 C in noon.
-
Mar 4th, 2003, 02:00 PM
#4
Frenzied Member
Sorry, but a code that you provided doesn't tell me anythig. What it suppose to do?
About weather: damn
-
Mar 4th, 2003, 02:18 PM
#5
Thread Starter
New Member
Re What it suppose to do?
1st Dll keeps/modify some data structures and fires event when something's changed.
Excell calls 2nd Dll, then 2nd dll calls 1st Dll to modify structures, after modifying 1st Dll fires the event in 2nd DLL, but somehow 2 times 
Thanx, i have to leave till morning.
Waiting hints...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|