Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.clipper.visual-objects

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2012, 05:46 PM
Jürgen Knauf
Guest
 
Posts: n/a
Default VO-DLL and MS Word 64 Bit

Hello,

I get an error when I try to load ( loadlibrary()) a VO.DLL within a VBA
application with Word 2010 (64-Bit)

With MS Word (32-Bit) there is no problem.

Any Idea?

Juergen



Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 03-22-2012, 05:51 PM
dlzc
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith
Reply With Quote
  #3 (permalink)  
Old 03-23-2012, 05:38 AM
Jürgen Knauf
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #4 (permalink)  
Old 03-23-2012, 10:29 AM
Ginny Caughey
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Huh? That you can't use LoadLibrary hardly means the end of VO programming -
just use a different approach! Have you considered exposing the VO behavior
you need from VBA via COM? What exactly are you trying to do? Somebody may
have done that already.

Ginny

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #5 (permalink)  
Old 03-23-2012, 06:39 PM
Jamal
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Native 64-bit processes in Office 2010 cannot load 32-bit binaries no matter
what what programming language you use.

Good reading here: http://msdn.microsoft.com/en-us/library/ee691831.aspx

Jamal

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #6 (permalink)  
Old 03-25-2012, 06:03 PM
Jürgen Knauf
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

I just want to use some functions written in VO to expand the Word
functionality.






"Ginny Caughey" schrieb im Newsbeitrag
news:4f6c5eb2$0$786$c3e8da3$9b4ff22a@news.astraweb .com...

Huh? That you can't use LoadLibrary hardly means the end of VO programming -
just use a different approach! Have you considered exposing the VO behavior
you need from VBA via COM? What exactly are you trying to do? Somebody may
have done that already.

Ginny

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #7 (permalink)  
Old 03-25-2012, 07:06 PM
malcolm gray
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

I am slightly surprised to hear of much use of office 64bit after MSs
encouragement

http://technet.microsoft.com/en-us/l.../ee681792.aspx

"For example, this additional capacity is needed only by those Microsoft
Excel users who require Excel spreadsheets that are larger than 2
gigabytes (GB). The 32-bit version of Office 2010 provides the same
functionality and is also compatible with 32-bit add-ins. Therefore, the
32-bit version of Office 2010 is installed by default. "

On 25/03/2012 19:03, Jürgen Knauf wrote:
> I just want to use some functions written in VO to expand the Word
> functionality.
>
>
>
>
>
>
> "Ginny Caughey" schrieb im Newsbeitrag
> news:4f6c5eb2$0$786$c3e8da3$9b4ff22a@news.astraweb .com...
>
> Huh? That you can't use LoadLibrary hardly means the end of VO
> programming -
> just use a different approach! Have you considered exposing the VO behavior
> you need from VBA via COM? What exactly are you trying to do? Somebody may
> have done that already.
>
> Ginny
>
> "Jürgen Knauf" wrote in message
> news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...
>
> So, it is time to end with VO programming. Or are there plans for a 64-bit
> VO Version. Vulcan is no alternative for me
>
>
> "dlzc" schrieb im Newsbeitrag
> news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...
>
> Dear Jürgen Knauf:
>
> On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
>> Hello,
>>
>> I get an error when I try to load ( loadlibrary())
>> a VO.DLL within a VBA application with Word 2010
>> (64-Bit)
>>
>> With MS Word (32-Bit) there is no problem.
>>
>> Any Idea?

>
> You cannot load 32-bit libraries in 64-bit applications.
>
> David A. Smith


Reply With Quote
  #8 (permalink)  
Old 03-25-2012, 07:30 PM
Ginny Caughey
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Which functions? I was wondering if there is an alternative approach for
what you need to do.

Ginny

"Jürgen Knauf" wrote in message
news:4f6f5df9$0$6624$9b4e6d93@newsspool2.arcor-online.net...

I just want to use some functions written in VO to expand the Word
functionality.






"Ginny Caughey" schrieb im Newsbeitrag
news:4f6c5eb2$0$786$c3e8da3$9b4ff22a@news.astraweb .com...

Huh? That you can't use LoadLibrary hardly means the end of VO programming -
just use a different approach! Have you considered exposing the VO behavior
you need from VBA via COM? What exactly are you trying to do? Somebody may
have done that already.

Ginny

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #9 (permalink)  
Old 03-26-2012, 05:40 AM
Jürgen Knauf
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

But i can write for example a 64-Bit binary with c#. But not with VO. So VO
is not usable for future development.


"Jamal" schrieb im Newsbeitrag news:jkijhj$d44$1@dont-email.me...

Native 64-bit processes in Office 2010 cannot load 32-bit binaries no matter
what what programming language you use.

Good reading here: http://msdn.microsoft.com/en-us/library/ee691831.aspx

Jamal

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #10 (permalink)  
Old 03-26-2012, 05:41 AM
Jürgen Knauf
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

I want to save text snippets in a ADS database.


"Ginny Caughey" schrieb im Newsbeitrag
news:4f6f728b$0$1613$c3e8da3$f017e9df@news.astrawe b.com...

Which functions? I was wondering if there is an alternative approach for
what you need to do.

Ginny

"Jürgen Knauf" wrote in message
news:4f6f5df9$0$6624$9b4e6d93@newsspool2.arcor-online.net...

I just want to use some functions written in VO to expand the Word
functionality.






"Ginny Caughey" schrieb im Newsbeitrag
news:4f6c5eb2$0$786$c3e8da3$9b4ff22a@news.astraweb .com...

Huh? That you can't use LoadLibrary hardly means the end of VO programming -
just use a different approach! Have you considered exposing the VO behavior
you need from VBA via COM? What exactly are you trying to do? Somebody may
have done that already.

Ginny

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #11 (permalink)  
Old 03-26-2012, 10:50 AM
Ginny Caughey
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

But ADS is not VO. Is there any other way to write to ADS other than by
using VO? It sounds to me like your problem is with ADS and not with VO.

Ginny

"Jürgen Knauf" wrote in message
news:4f700177$0$6549$9b4e6d93@newsspool4.arcor-online.net...

I want to save text snippets in a ADS database.


"Ginny Caughey" schrieb im Newsbeitrag
news:4f6f728b$0$1613$c3e8da3$f017e9df@news.astrawe b.com...

Which functions? I was wondering if there is an alternative approach for
what you need to do.

Ginny

"Jürgen Knauf" wrote in message
news:4f6f5df9$0$6624$9b4e6d93@newsspool2.arcor-online.net...

I just want to use some functions written in VO to expand the Word
functionality.






"Ginny Caughey" schrieb im Newsbeitrag
news:4f6c5eb2$0$786$c3e8da3$9b4ff22a@news.astraweb .com...

Huh? That you can't use LoadLibrary hardly means the end of VO programming -
just use a different approach! Have you considered exposing the VO behavior
you need from VBA via COM? What exactly are you trying to do? Somebody may
have done that already.

Ginny

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #12 (permalink)  
Old 03-26-2012, 01:19 PM
Willie Moore
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Jürgen,

c# is a completely different language than VO. If you want to use VO from a
64bit program I would suggest creating a COM object with VO and then calling
the COM object from word. That should work as you are not calling VO
directly but using the OLE interface.

Regards,
Willie
Vulcan VIP

"Jürgen Knauf" wrote in message
news:4f700139$0$6564$9b4e6d93@newsspool4.arcor-online.net...

But i can write for example a 64-Bit binary with c#. But not with VO. So VO
is not usable for future development.


"Jamal" schrieb im Newsbeitrag news:jkijhj$d44$1@dont-email.me...

Native 64-bit processes in Office 2010 cannot load 32-bit binaries no matter
what what programming language you use.

Good reading here: http://msdn.microsoft.com/en-us/library/ee691831.aspx

Jamal

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #13 (permalink)  
Old 03-26-2012, 04:03 PM
Jürgen Knauf
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Hi Ginny,

ADS is not the problem!
I have a Dll written in VO, which works perfekty with Word 2010 32-Bit. But
not with Word 64-Bit! I use loadlibrary() to use my functions in the dll. I
want to know if there is a way to use my dll without changing.

If there is no other solution than using COM, I'm considering to rewrite it
in C#. I have converted some other applications to C# successfully.

Juergen

"Ginny Caughey" schrieb im Newsbeitrag
news:4f704a0a$0$32206$c3e8da3$670ba073@news.astraw eb.com...

But ADS is not VO. Is there any other way to write to ADS other than by
using VO? It sounds to me like your problem is with ADS and not with VO.

Ginny

"Jürgen Knauf" wrote in message
news:4f700177$0$6549$9b4e6d93@newsspool4.arcor-online.net...

I want to save text snippets in a ADS database.


"Ginny Caughey" schrieb im Newsbeitrag
news:4f6f728b$0$1613$c3e8da3$f017e9df@news.astrawe b.com...

Which functions? I was wondering if there is an alternative approach for
what you need to do.

Ginny

"Jürgen Knauf" wrote in message
news:4f6f5df9$0$6624$9b4e6d93@newsspool2.arcor-online.net...

I just want to use some functions written in VO to expand the Word
functionality.






"Ginny Caughey" schrieb im Newsbeitrag
news:4f6c5eb2$0$786$c3e8da3$9b4ff22a@news.astraweb .com...

Huh? That you can't use LoadLibrary hardly means the end of VO programming -
just use a different approach! Have you considered exposing the VO behavior
you need from VBA via COM? What exactly are you trying to do? Somebody may
have done that already.

Ginny

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #14 (permalink)  
Old 03-26-2012, 04:06 PM
Jürgen Knauf
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Hi Willie,

I have some experience in C#. Sooner or later i have to change to C#, if
there is no 64-Bit support in VO.

Juergen

"Willie Moore" schrieb im Newsbeitrag
news:jkpqcn$t10$1@speranza.aioe.org...

Jürgen,

c# is a completely different language than VO. If you want to use VO from a
64bit program I would suggest creating a COM object with VO and then calling
the COM object from word. That should work as you are not calling VO
directly but using the OLE interface.

Regards,
Willie
Vulcan VIP

"Jürgen Knauf" wrote in message
news:4f700139$0$6564$9b4e6d93@newsspool4.arcor-online.net...

But i can write for example a 64-Bit binary with c#. But not with VO. So VO
is not usable for future development.


"Jamal" schrieb im Newsbeitrag news:jkijhj$d44$1@dont-email.me...

Native 64-bit processes in Office 2010 cannot load 32-bit binaries no matter
what what programming language you use.

Good reading here: http://msdn.microsoft.com/en-us/library/ee691831.aspx

Jamal

"Jürgen Knauf" wrote in message
news:4f6c1a52$0$6624$9b4e6d93@newsspool2.arcor-online.net...

So, it is time to end with VO programming. Or are there plans for a 64-bit
VO Version. Vulcan is no alternative for me


"dlzc" schrieb im Newsbeitrag
news:26550329.131.1332442280705.JavaMail.geo-discussion-forums@ynne2...

Dear Jürgen Knauf:

On Thursday, March 22, 2012 11:46:33 AM UTC-7, Jürgen Knauf wrote:
> Hello,
>
> I get an error when I try to load ( loadlibrary())
> a VO.DLL within a VBA application with Word 2010
> (64-Bit)
>
> With MS Word (32-Bit) there is no problem.
>
> Any Idea?


You cannot load 32-bit libraries in 64-bit applications.

David A. Smith

Reply With Quote
  #15 (permalink)  
Old 03-26-2012, 04:27 PM
dlzc
Guest
 
Posts: n/a
Default Re: VO-DLL and MS Word 64 Bit

Dear Jürgen Knauf:

On Monday, March 26, 2012 9:03:34 AM UTC-7, Jürgen Knauf wrote:
>
> ADS is not the problem!
> I have a Dll written in VO, which works perfekty
> with Word 2010 32-Bit. But not with Word 64-Bit!
> I use loadlibrary() to use my functions in the dll.


And this approach is the heart of the problem. It (loadlibrary()) has inherent "bitness".

> I want to know if there is a way to use my dll
> without changing.
>
> If there is no other solution than using COM,
> I'm considering to rewrite it in C#. I have
> converted some other applications to C#
> successfully.


And you will have to code and load a different C# solution, depending on the bitness of the Excel running, unless you use COM / OLE or one of the other methods that ignore bitness. In which case, you can use what you alreadyhave.

Or do it in VBA, or something that is interpreted by Excel, so that it doesn't matter.

David A. Smith
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 11:56 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.