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.
Printable View
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.
I'll be glad to. Any code?Quote:
Originally posted by YuryL
Help! Please!
Yury kak pogoda v Moskve?
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.
Sorry, but a code that you provided doesn't tell me anythig. What it suppose to do?
About weather: damn
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...