Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have been successfully using dll's in VBA 6.0. However,
the same dll's give the subject error when run in VBA 6.3. Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Jarrett Sadowsky" wrote in news:121301c3df88
: I have been successfully using dll's in VBA 6.0. However, the same dll's give the subject error when run in VBA 6.3. Any suggestions? VBA can only successfully call functions that are declared as "__stdcall". If the function insside your DLL was declared as "__cdecl" (the default) you will always get this error message. The workaround is to create a __stdcall function that calls the __cdecl function. -- My email address has an extra @ (spell it out) and an extra invalid. Please remove them if you are not a spammer or list broker and want to reply. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Refresh Error when calling Excel Macro from VB.NET program | Excel Discussion (Misc queries) | |||
modified following business day convention | Excel Worksheet Functions | |||
Naming convention for workbook names | Excel Discussion (Misc queries) | |||
Anyway to set numerical column name as Exel convention? | Excel Worksheet Functions | |||
Bad DLL Calling Convention (Error 49) | Excel Programming |