15,915,019 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 14150748 (Top 16 by date)
Member 14150748
19-Jun-19 15:22pm
View
Installed all in my personal PC, to check if was a permission issue, and yet I got same problem (there I have Win 7)
This is getting odd.... Running out of ideas.
Member 14150748
18-Jun-19 10:15am
View
Of course. Had to set up the ODBC data source (placed it in Network unstead of User). There I tested the connection with the DB.
Member 14150748
18-Jun-19 9:58am
View
Rechecking the registry, I found this line:
MyApp.exe QueryValue HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\LocalDB\SQLExpress NOT FOUND
Data base issues perhaps?
Edited: Another thing that got my attention:
MyApp.exe OpenKey HKCC\Software\GeneXus\GXData\Config NOT FOUND
(The troublesome dll access to GxData81.dll)
Member 14150748
18-Jun-19 9:16am
View
Checked with Regmon (had to download it appart since it was not on the suite). Same result with the registry modules (handle, inproc, etc.) At least it let me identify whith folder is the one associated with the troublesome DLL
Now I'm more confused. Since I can see the modules in regedit, so why the monitor says is not found? Perhaps lacks of user permissions?
Member 14150748
17-Jun-19 12:53pm
View
Used the ProcMon. I got a bunch of "NAME NOT FOUND" or "FAST IO DISALLOWED" and "FILE LOCKED WITH ONLY READERS"
Noticed some of the files are related with the registry (InprocServer32, InprocHandler, AppID, etc.) A couple within an OLE folder and even the troublesome dll name, but with a .ini extension.
Member 14150748
17-Jun-19 12:28pm
View
OK gonna try it. About the regsvr I been using both in my win 10, and of course the xp on the VM only has 1 version.
Been checking the DLL's with the dependency walker. It says some dll's are missing but they're related with Win_CORE and such (and they sugest to not try to get them individually). It's weird.
I'll let yuou know how it goes with the ProcMon
Member 14150748
17-Jun-19 11:51am
View
"If it works on one PC but not another then chances are your code relies on a COM object that isn't registered on the machine where it doesn't work, just like the message says." Always though that. A registry missing or something.
"it could even be a secondary one so ClassA but call ClassB internally but ClassB isn't registered but ClassA is fine." Could be. Don't have source code of the dlls, but I know the troublesome one calls another one (gxdata81.dll). Tried to register that one but gave me error because is not a valid COM (regasm neither work)
"Does this app have an installer of some kind?" Nope.
"If the COM objects used by the app have their own prefix or naming scheme you can use the registry to compare what is installed on both machines (under HKEY_CLASSES_ROOT) to see if anything obvious is missing." Not sure about that. How can I check it without the sorce code? I dont have experience with it. And someone suggested me to check registry too, but only found several folderts with weird alphanumerics names.
Member 14150748
8-Apr-19 9:01am
View
The point is the client requires specific functions. Sides, vendor just provides a demo software to test the scanner. If there's no needs of programming they wouldn't send the dll
Member 14150748
3-Apr-19 14:35pm
View
Gonna submit it, but then gonna delete this repply later or tomorrow, for confidenciality
It's a Panini Vision X.
Member 14150748
2-Apr-19 10:11am
View
Perhaps that happened. It's working now. Thank you <3
Member 14150748
2-Apr-19 10:10am
View
Deleted
Perhaps that happened. It's working now. Thank you <3
Member 14150748
2-Apr-19 10:06am
View
Seems it worked! thank you!
Member 14150748
2-Apr-19 10:01am
View
Nevermind. Removed it and got an address.
Let's see if works now.
Member 14150748
2-Apr-19 9:56am
View
Without ref the result of the method is false (and should be true). that's why I added it.
just trying many options. I'm not really sure what I'm really doing. Just need something that works
Member 14150748
2-Apr-19 9:46am
View
I know there are the differences. But didnt have problems with other methods (as you can see, added the MarshalAs with all bools, the return doesnt mater much, I can change it to int). About the char, I read the equivalent is byte. was thinking to declare it as byte but then use a Convert.To with the symbol.
My main isue is with the struct. Dont have experience with them, let alone the PInvoke (it's my dfirst time using it). I dont know what else to do, been trying for weeks already, I feel frustrated, tired, and almost giving up (and I can't since it's for job purpoises)
Member 14150748
2-Apr-19 9:27am
View
Sorry, I had some typos. Fixed question.
Show More