x64 build
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 6
- Joined: Tue Mar 06, 2012 6:20 pm
x64 build
When you install the SDK, it seems to automatically register the 32 bit version of the active x controls. I have to build my project as x64. I unregistered the 32 bit controls, then went into the bin.x64 directory and ran the following
pdfxcview.exe /regserver
regsvr32 pdfxcviewax.dll
But the activeX controls will not show up in my VS toolbox. I am running VS 2010. I also tried to manually browse to add them, and I get the message "Self-registration for ..... PDFXCviewAx.dll failed"
Will the controls work in a x64 build?
pdfxcview.exe /regserver
regsvr32 pdfxcviewax.dll
But the activeX controls will not show up in my VS toolbox. I am running VS 2010. I also tried to manually browse to add them, and I get the message "Self-registration for ..... PDFXCviewAx.dll failed"
Will the controls work in a x64 build?
-
- User
- Posts: 381
- Joined: Mon Jun 13, 2011 5:10 pm
Re: x64 build
Did you run regsvr32 with administrative privileges? What message was returned when you ran it?
-Walter
-Walter
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: x64 build
Possible reason: your VS 2010 is 32-bit application. In this case you must register PDFXCviewAx.dll 32-bit also. Look to SDK-Help:But the activeX controls will not show up in my VS toolbox. I am running VS 2010.
for 64-bit and 32-bit clients both:
PDFXCview.exe(64) /RegServer (the PDFXCview.tbl(32) should be in the same folder as PDFXCview.exe(64))
regsvr32 PDFXCviewAx.dll(32) /s
regsvr32 PDFXCviewAx.dll(64) /s
After this you will be able to work with our ActiveX Control in VS 2010.
But your:
pdfxcview.exe /regserver // x64 exe-server
regsvr32 pdfxcviewax.dll // x64 dll-server
- still enough for true x64 clients..
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 6
- Joined: Tue Mar 06, 2012 6:20 pm
Re: x64 build
yes, I did it w/o the s option (for silent) and got that it succeeded.
if i don't want to use the activeX, but just the simple DLL, pdfview.dll, do I need to register?
if i don't want to use the activeX, but just the simple DLL, pdfview.dll, do I need to register?
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: x64 build
Hi,
The Simple DLL version does not require registering - but do understand that the funtionality offered is very, very different ...
The Simple DLL version does not require registering - but do understand that the funtionality offered is very, very different ...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 6
- Joined: Tue Mar 06, 2012 6:20 pm
Re: x64 build
That is ok on the simple. all I need to be able to do is display a PDF. But, how do I get the pdf viewer to show up in my mailbox. The help does not describe what I need to browse to or add as a reference. I can't figure out how to get the viewer control on my form
-
- User
- Posts: 6
- Joined: Tue Mar 06, 2012 6:20 pm
Re: x64 build
i meant toolbox, not mailbox 

-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: x64 build
Your VS 2010 is 32-bit application - the registration x64-version only of our Active SDK isn't enough for it...
Please look to my previous post above.
Please look to my previous post above.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 6
- Joined: Tue Mar 06, 2012 6:20 pm
Re: x64 build
I tried that, still no luck. I get a message about "failed to create component AxHost. System.Reflection.ReflectionTypeLoadException. Unable to load..."
But, if simpler I would much rather use the simple DLL method. I just don't know how to put the control on my form.
But, if simpler I would much rather use the simple DLL method. I just don't know how to put the control on my form.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: x64 build
Hi,
There is an example that should help in the SDK install folder - examples sub folder - if your still having problems after reviewing that - then please come back.
There is an example that should help in the SDK install folder - examples sub folder - if your still having problems after reviewing that - then please come back.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 6
- Joined: Tue Mar 06, 2012 6:20 pm
Re: x64 build
If it is View, then I have been looking at that example for a few hours. In the sample, viewer control is not in the toolbox and I cannot make it go into the toolbox. So, I cannot drag from the toolbox to the form in the sample nor in my application.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: x64 build
I cannot help but think you are NOT accessing the correct examples ....
You dont say specifically whether you are using VB/C#/C++ etc - but do note the Simple DLL Viewer is not an ActiveX and not added to your control as a form ...
You must create your own control for viewing of the pdf and implement OnPaint() which uses our Simple DLL API. Look to our examples for Simple Viewer DLL SDK as appropriate for the specific tool you are using (e.g VB etc) in the examples folder specific to your tool - for example ;
for VB the default installation folder would be under the folder tree ... (if you have not modified) ;
\Examples\VBExamples
etc
...
You dont say specifically whether you are using VB/C#/C++ etc - but do note the Simple DLL Viewer is not an ActiveX and not added to your control as a form ...
Our Simple Viewer DLL SDK is not an ActiveX Control. It is an API for the drawing of pdf-pages - so you cannot place it on your control as a form.But, if simpler I would much rather use the simple DLL method. I just don't know how to put the control on my form.
You must create your own control for viewing of the pdf and implement OnPaint() which uses our Simple DLL API. Look to our examples for Simple Viewer DLL SDK as appropriate for the specific tool you are using (e.g VB etc) in the examples folder specific to your tool - for example ;
for VB the default installation folder would be under the folder tree ... (if you have not modified) ;
\Examples\VBExamples
etc
...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com