Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings,
I've been wondering for quite some time now on how to do 64-bit operations on VBA and I have found some advice as well but all of them are about operating on 64-bit variables inside VBA or getting a 64-bit variable out of a VC++ dll. In these cases it's usually enough that you multiply by 10 000 and the decimals go away but how about if you want to send a 64-bit from VBA to a function in a dll and then get a 64-bit result back from the dll and show it correct on a excel sheet for example? I tried this using VBA's currency data type and long long in vc++ but somewhere along the way back to VBA the variable turns into something totally different than what you'd expect it to be. It seems also a bit challenging with negative 64-bit numbers. If anybody has any information concerning my problem I would be very glad to know about it. If you have any links to articles about vba's and vc++'s data types being used together that would be great too. yanne |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy back macro/roll back | Excel Worksheet Functions | |||
Pass a variable back to the host script? | Excel Programming | |||
How to pass a variable from Form back to calling procedure | Excel Programming | |||
How to save entire Cell in a variable and put it back later? | Excel Programming | |||
Sending variable data to a web site to be computed then brought back to Excel | Excel Programming |