Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
QuickPDF Library & Visual Studio 2008... |
Post Reply
|
| Author | |
cverhoff
Beginner
Joined: 03 Nov 05 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: QuickPDF Library & Visual Studio 2008...Posted: 21 Jun 09 at 4:43AM |
|
Hey Everyone,
I am starting to migrate my software applications from VB6 to Visual Studio 2008. Has anyone made this transition recently? I really count on QuickPDF in my applications and I am just trying to figure out what I can expect in the conversion. I hope that there isn't too many issues...
Thanks,
Curtis Verhoff
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Jun 09 at 8:49PM |
|
Hi Curtis!
What i've thought immediately is ... all int, longint, ... should be int32 (if it's vb) and UInt32 (if it'sC#). It's not a really problem using QuickPDF in VS-projects. Cheers, Ingo Edited by Ingo - 21 Jun 09 at 8:50PM |
|
![]() |
|
cverhoff
Beginner
Joined: 03 Nov 05 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 Jun 09 at 5:03PM |
|
Ingo,
Thanks once Again. I will make sure the integer thing is correct when I transfer my code from VB6 to VS2008. I just wanted to see if anyone else was using VS2008 with the QuickPDF Library and if they were having any issues. I know that certain AcitveX(s) that I own are giving me issues with VS2008 and Vista/XP when the operating system has the whole DEP (Data Execution Prevention) thing is set to "On". Anyways, like always you have been a real help.
Have A Great Day!!!
Cheers,
Curtis
|
|
![]() |
|
cverhoff
Beginner
Joined: 03 Nov 05 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Jul 09 at 4:44PM |
|
|
|
![]() |
|
ray
Beginner
Joined: 02 Jul 09 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 Jul 09 at 5:27AM |
|
We are using the old iSed library and vs 2008 (both vb.net and C#) as an active-x via the interop.Ised dll..
It works fine except for the unmanaged deployment aspects..
Hope this helps..
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 Jul 09 at 6:41AM |
|
Hi!
I don't see real problems in programming... Attached you'll see sample code (C#) calling functions (string and numeric) from an unmanaged dll. Cheers, Ingo using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Commy_numeric_var2nentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.Text.RegularExpressions; using System.Runtime.Intermy_numeric_var1Services; namespace your_program_name { public partial class Form1 : Form { string filename; UInt32 my_numeric_var1, my_numeric_var2, my_numeric_var2, my_numeric_var3; [DllImmy_numeric_var2rt(@"Sample.dll", CallingConvention = CallingConvention.StdCall, EntryPoint = "Your_numeric_function1")] public static extern UInt32 Your_numeric_function1(string filename); [DllImmy_numeric_var2rt(@"Sample.dll", CallingConvention = CallingConvention.StdCall, EntryPoint = "Your_string_function1")] public static extern IntPtr Your_string_function1(string filename, UInt32 my_numeric_var1t, UInt32 my_numeric_var2, UInt32 my_numeric_var3); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { my_numeric_var3 = 0; } private void button1_Click(object sender, EventArgs e) { textBox1.Text = Marshal.PtrToStringAnsi(Your_string_function1(filename, my_numeric_var1, my_numeric_var2, my_numeric_var3)); } private void button2_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { filename = openFileDialog1.FileName; textBox2.Text = filename; } } private void button3_Click(object sender, EventArgs e) { textBox1.Text = Convert.ToString(Your_numeric_function1(filename)); } } } Edited by Ingo - 06 Jul 09 at 6:43AM |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store