NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 43 44 45 46 47 … 93 Next »
Calling C# programmers...

 
  • 0 Vote(s) - 0 Average
Calling C# programmers...
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#1
2007-05-24, 07:19 PM
I have a C# programmed DLL ( for sqlite3 access ) that was converted for use with VB6. It works great, but I think the DLL is having pathing issues.

Specifically, instructions say that the dll must be copied to the Windows directory. I'm having no problems if the the windows is on C drive. I think my users are having trouble with other partitions...

Quote:This test application requires the SQLite3VB.dll (that can be created using this tutorial or found below) to be located in your computer's system folders (Ex C:\Windows)

The following page is a walkthrough for C# programmers that gives the source code for the DLL and shows what to do to compile a VB6 compatible DLL...

http://www.tannertech.net/sqlite3vb/index.htm

Can someone look at the source and confirm if there is a pathing issue, whether it could be tweaked to run from anywhere, like my app.path and not Windows, and whether THEY could compile the new DLL for me?


Thanks so much...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2007-05-24, 08:21 PM
That's C++, not C#. If it is in a system directory, there should not be any pathing issues unless the machine's environment variables are wrong, which would have other consequences as well. It's been a while since I used VB6 so I may be wrong on that though. You could try putting it in the System32 directory.
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#3
2007-05-24, 08:24 PM
I took a look through the source and couldn't find any hard references to windows directories..
and whurlston is correct, it's c++ not c#
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2007-05-24, 08:57 PM
Thanks a lot guys. Very helpful and speedy...

But then that's GB-PVR users for you...Big Grin
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,871
Threads: 954
Joined: May 2006
#5
2007-05-24, 11:42 PM
If you still need help with this let me know, if I remember back through the cobwebs dll's in app.path aren't by default located because the real executable is the vb6 run time. You might need to change the default directory and drive if necessary to app.path to get app.path into the search path.

Martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#6
2007-05-24, 11:51 PM
mvallevand Wrote:If you still need help with this let me know, if I remember back through the cobwebs dll's in app.path aren't by default located because the real executable is the vb6 run time. You might need to change the default directory and drive if necessary to app.path to get app.path into the search path.

Martin

Normally, I have that sorted. I don't know what is going on, because I have one program that references the dlll perfectly, and other causing trouble for others. I can't recreate it. And it turns out the guys have default C:\Windows setups anyway...

I started typing random code and hit 'compile'... I wonder if that will help...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling NextPVR restart after config.xml changes steeb 33 10,175 2011-05-02, 04:24 PM
Last Post: steeb
  Calling JW idkpmiller 16 4,525 2008-04-27, 11:07 AM
Last Post: idkpmiller
  exception when calling scheduledRecording.getProgramme().getTitle() (manual rec) betlit 2 1,365 2005-09-23, 03:01 PM
Last Post: betlit
  Calling another menu button from another plugin..? joshley 4 2,400 2004-09-28, 05:17 PM
Last Post: joshley

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode